Skip to content

Commit

Permalink
Fix for async types (#515)
Browse files Browse the repository at this point in the history
### Changes

Statically checking attr's is failing for `AsyncAuth0` because the
attributes are added dynamically.

I've disabled that type-checking rule because - type support for this
SDK is only very basic at the moment. But we will improve it in the
future if/when we can get structured API data (like OpenAPI 3) from the
Auth0 Management API.

### References

fixes #514
  • Loading branch information
adamjmcgrath authored Aug 21, 2023
2 parents 8e1bf4a + d3f818c commit 5112d64
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ignore_errors = True

[mypy-auth0.management.*]
ignore_errors = False
disable_error_code=var-annotated
disable_error_code=var-annotated, attr-defined

[mypy-auth0.rest_async]
disable_error_code=override
Expand Down

0 comments on commit 5112d64

Please sign in to comment.