You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This obviously creates type errors any time a user tries to use any of the values. If possible, the class should be made generic to return a more accurate type. If not, then the type should be dict[str, Any] in order to not create a load of type errors in user's code.
The text was updated successfully, but these errors were encountered:
Uh oh!
There was an error while loading. Please reload this page.
Confirm this is a Python library issue and not an underlying Cloudflare API issue.
Describe the bug
.to_dict() returns dict[str, object]:
cloudflare-python/src/cloudflare/_models.py
Line 108 in 475b534
This obviously creates type errors any time a user tries to use any of the values. If possible, the class should be made generic to return a more accurate type. If not, then the type should be dict[str, Any] in order to not create a load of type errors in user's code.
The text was updated successfully, but these errors were encountered: