Skip to content

Commit

Permalink
Fix type hint for older python version
Browse files Browse the repository at this point in the history
  • Loading branch information
RustyGuard committed Mar 17, 2024
1 parent ebba945 commit 074cfaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion alembic_postgresql_enum/get_enum_data/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class TableReference:
column_name: str
table_schema: Optional[str] = Unspecified # type: ignore[assignment] # 'Unspecified' default is for migrations from older versions
column_type: ColumnType = ColumnType.COMMON
existing_server_default: str | None = None
existing_server_default: Optional[str] = None

def __repr__(self):
result_str = "TableReference("
Expand Down

0 comments on commit 074cfaf

Please sign in to comment.