EbbLabs/python-tidal

Type not imported

Closed this issue · 2 comments

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:

Thanks for the heads-up. Will fix this ASAP

Fixed in : #358