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
{{ message }}
This repository has been archived by the owner on May 21, 2023. It is now read-only.
What version of Python does this API need to run on? I tried running it on a Python 3.8 environment and it threw an error. @zeroday0619
File "/Users/zhangweihua/work/workspace/python3workspace/Nintendo_Switch_Online_API_Bridge/nso_bridge/__init__.py", line 3, in <module> from nso_bridge.nsa import NintendoSwitchAccount File "/Users/zhangweihua/work/workspace/python3workspace/Nintendo_Switch_Online_API_Bridge/nso_bridge/nsa.py", line 10, in <module> from nso_bridge.models import ServiceToken, UserInfo File "/Users/zhangweihua/work/workspace/python3workspace/Nintendo_Switch_Online_API_Bridge/nso_bridge/models/__init__.py", line 1, in <module> from nso_bridge.models.accounts import Accounts, Login, ServiceToken File "/Users/zhangweihua/work/workspace/python3workspace/Nintendo_Switch_Online_API_Bridge/nso_bridge/models/accounts.py", line 74, in <module> class Login(BaseModel): File "pydantic/main.py", line 178, in pydantic.main.ModelMetaclass.__new__ File "pydantic/typing.py", line 399, in pydantic.typing.resolve_annotations """Special type construct to mark class variables. File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/typing.py", line 270, in _eval_type return t._evaluate(globalns, localns) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/typing.py", line 518, in _evaluate eval(self.__forward_code__, globalns, localns), File "<string>", line 1, in <module> TypeError: unsupported operand type(s) for |: 'ModelMetaclass' and 'NoneType'
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
What version of Python does this API need to run on? I tried running it on a Python 3.8 environment and it threw an error.
@zeroday0619
File "/Users/zhangweihua/work/workspace/python3workspace/Nintendo_Switch_Online_API_Bridge/nso_bridge/__init__.py", line 3, in <module> from nso_bridge.nsa import NintendoSwitchAccount File "/Users/zhangweihua/work/workspace/python3workspace/Nintendo_Switch_Online_API_Bridge/nso_bridge/nsa.py", line 10, in <module> from nso_bridge.models import ServiceToken, UserInfo File "/Users/zhangweihua/work/workspace/python3workspace/Nintendo_Switch_Online_API_Bridge/nso_bridge/models/__init__.py", line 1, in <module> from nso_bridge.models.accounts import Accounts, Login, ServiceToken File "/Users/zhangweihua/work/workspace/python3workspace/Nintendo_Switch_Online_API_Bridge/nso_bridge/models/accounts.py", line 74, in <module> class Login(BaseModel): File "pydantic/main.py", line 178, in pydantic.main.ModelMetaclass.__new__ File "pydantic/typing.py", line 399, in pydantic.typing.resolve_annotations """Special type construct to mark class variables. File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/typing.py", line 270, in _eval_type return t._evaluate(globalns, localns) File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/typing.py", line 518, in _evaluate eval(self.__forward_code__, globalns, localns), File "<string>", line 1, in <module> TypeError: unsupported operand type(s) for |: 'ModelMetaclass' and 'NoneType'
The text was updated successfully, but these errors were encountered: