Type not imported
Closed this issue · 2 comments
vladionescu commented
Sorry for the oneliner issue, didn't feel like forking and sending PR for this.
problem:
❯ uv run python -c "import tidalapi"
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "tidalapi/__init__.py", line 8, in <module>
from .page import Page # noqa: F401
File "tidalapi/page.py", line 241, in <module>
class PageCategoryV2:
File "tidalapi/page.py", line 249, in PageCategoryV2
_type_map: Dict[str, Type["PageCategoryV2"]] = {}
NameError: name 'Type' is not defined. Did you mean: 'type'?
fix:
- add Type to
Lines 22 to 32 in bb1c5df
tehkillerbee commented
Thanks for the heads-up. Will fix this ASAP
tehkillerbee commented
Fixed in : #358