Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import Mapping Error #307

Open
sazhyk opened this issue Dec 13, 2022 · 2 comments
Open

Import Mapping Error #307

sazhyk opened this issue Dec 13, 2022 · 2 comments

Comments

@sazhyk
Copy link

sazhyk commented Dec 13, 2022

Hi. Please change 6-th line in jwt.py form
from collections import Mapping to

try:
    from collections.abc import Mapping
except ImportError:
    from collections import Mapping

And change 6-th line in jws.py from
from collections import Mapping, Iterable to

try:
    from collections.abc import Mapping, Iterable
except ImportError:
    from collections import Mapping, Iterable
@RaoufJabriSAMSA-IT
Copy link
Contributor

yeah i appreciate to fix cause it's make problems in odoo server.

@jclerman
Copy link

This appears to have been fixed in #316 - just needs to be included in a release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants