Problem
Calling the organization update API without passing a suspended parameter raises a TypeError about a missing required positional argument, even though suspended is Optional:
|
suspended: Optional[bool], |
Example
Using the client like so
cf_client.v3.organizations.update(org_guid, org_name, meta_labels={"foo": "bar"})
Results in
TypeError: OrganizationManager.update() missing 1 required positional argument: 'suspended'
Potential Solution
Could assign None to the optional be the fix of the problem?
suspended: Optional[bool] = None,