mpdavis / python-jose

A JOSE implementation in Python

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Missing parentheses

ricciarellif opened this issue · comments

Hallo, I'm using Python 3.10.6 and I just started building a new JWT-based API with PyCharm 2023.1.3 (Community Edition).

I wrote only few lines of code - not related with jose - and tried to start my app... got this error message:

(<class 'SyntaxError'>, SyntaxError("Missing parentheses in call to 'print'. Did you mean print(...)?", ('/NVME_BigFoot/PROJECTS/Python/pyamco/.venv/lib/python3.10/site-packages/jose.py', 546, 5, " print decrypt(deserialize_compact(jwt), {'k':key},\n", 547, 31)), <traceback object at 0x7f28b6b0f7c0>)

The app hangs at the following line:
from jose import JWTError, jwt

I don't know if this matters (I don't think so, though) but I'm also using FastAPI, passlib, pydantic, uviconr and starlette (latest releases)

Every help will be much appreciated
Fabrizio