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
Is your feature request related to a problem? Please describe.
run into error in python3.9
env/lib/python3.9/site-packages/dj_notebook/config_helper.py:12
6 from dotenv import load_dotenv
9 # taken from dotenv, which declares a similar type (but it doesn't look public...)
10 # review note: the | syntax is new in python 3.10. If older pythons are generally being supported here, this should be
11 # rewritten as Union[str, os.PathLike[str]]
---> 12 StrPath = str | os.PathLike[str]
15 def setdefault_calls(module_path: Path) -> Generator[ast.Call, None, None]:
16 """Yields all calls to os.environ.setdefault within a module."""
TypeError: unsupported operand type(s) for |: 'type' and 'types.GenericAlias'
Describe the solution you'd like
will there be support for python 3.9?
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
run into error in python3.9
env/lib/python3.9/site-packages/dj_notebook/config_helper.py:12
6 from dotenv import load_dotenv
9 # taken from dotenv, which declares a similar type (but it doesn't look public...)
10 # review note: the | syntax is new in python 3.10. If older pythons are generally being supported here, this should be
11 # rewritten as Union[str, os.PathLike[str]]
---> 12 StrPath = str | os.PathLike[str]
15 def setdefault_calls(module_path: Path) -> Generator[ast.Call, None, None]:
16 """Yields all calls to
os.environ.setdefault
within a module."""TypeError: unsupported operand type(s) for |: 'type' and 'types.GenericAlias'
Describe the solution you'd like
will there be support for python 3.9?
The text was updated successfully, but these errors were encountered: