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.