-
Notifications
You must be signed in to change notification settings - Fork 120
Closed
Description
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
from typing import ( TYPE_CHECKING, Any, Callable, Dict, Iterator, List, Optional, Union, cast, )
tehkillerbee
Metadata
Metadata
Assignees
Labels
No labels