pyopenapi / pyswagger

An OpenAPI (fka Swagger) client & converter in python, which is type-safe, dynamic, spec-compliant.
MIT License
385 stars 89 forks source link

fix MutableMapping import for Python 3.3+ #200

Open alissa-huskey opened 5 months ago

alissa-huskey commented 5 months ago

In Python 3.3 collections.MutableMapping was moved to collections.abc.MutableMapping, which breaks your imports. This does the import in a try/except block in a new compat.py file to avoid the bug.

warnes commented 4 months ago

Please merge!