Skip to content

Class names must contain space if less than 8 characters long #42

@EmmasBox

Description

@EmmasBox

The below code will fail:

from racfu import racfu

result1 = racfu(
        {
        "operation": "extract",
        "admin_type": "resource",
        "profile_name": "IZUDFLT",
        "class_name": "APPL"
        }
    )

print(result1.result)

But the code below will not because the class name has been padded with 4 spaces to make it 8 characters long

from racfu import racfu

result1 = racfu(
        {
        "operation": "extract",
        "admin_type": "resource",
        "profile_name": "IZUDFLT",
        "class_name": "APPL    "
        }
    )

print(result1.result)

This is not intuitive and should be changed. This is an issue in 1.0a1.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions