Skip to content

Commit

Permalink
Fix typing_extensions import
Browse files Browse the repository at this point in the history
  • Loading branch information
gwax committed Oct 25, 2023
1 parent e8acb5b commit fb55364
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions mtg_ssm/scryfall/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@
import datetime as dt
from decimal import Decimal
from enum import Enum
from typing import Dict, Generic, List, Literal, Optional, TypeVar, Union
from typing import TYPE_CHECKING, Dict, Generic, List, Literal, Optional, TypeVar, Union
from uuid import UUID

from msgspec import Struct
from typing_extensions import TypeAlias

if TYPE_CHECKING:
from typing_extensions import TypeAlias


class ScryColor(str, Enum):
Expand Down Expand Up @@ -453,7 +455,7 @@ class ScryMigration(
note: Optional[str] = None


ScryListable: TypeAlias = Union[
ScryListable: "TypeAlias" = Union[
ScryBulkData,
ScryCard,
ScryMigration,
Expand Down

0 comments on commit fb55364

Please sign in to comment.