Skip to content

Commit

Permalink
Fixup union type
Browse files Browse the repository at this point in the history
  • Loading branch information
RustyGuard committed Feb 4, 2024
1 parent b2cb0f2 commit 3fd838c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions alembic_postgresql_enum/get_enum_data/types.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from dataclasses import dataclass
from enum import Enum as PyEnum
from typing import Union, Tuple, Dict, FrozenSet
from typing import Tuple, Dict, FrozenSet, Optional

from sqlalchemy import Enum, ARRAY

Expand All @@ -20,7 +20,7 @@ def __repr__(self):
class TableReference:
table_name: str
column_name: str
table_schema: str | None = Unspecified # 'Unspecified' default is for migrations from older versions
table_schema: Optional[str] = Unspecified # 'Unspecified' default is for migrations from older versions
column_type: ColumnType = ColumnType.COMMON
existing_server_default: str = None

Expand Down

0 comments on commit 3fd838c

Please sign in to comment.