Skip to content

Commit

Permalink
Remove references to Python 3.12 typing feature
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePletch committed Aug 15, 2024
1 parent c83bed7 commit 021558d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "relationalize"
version = "0.1.8"
version = "0.1.9"
authors = [
{ name="Henry Jones", email="henry.jones@tulip.co" },
]
Expand Down
3 changes: 1 addition & 2 deletions relationalize/sql_dialects.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from abc import ABC, abstractmethod
from collections.abc import Mapping
from typing import Generic, Literal, NewType, TypeVar, override
from typing import Generic, Literal, NewType, TypeVar

from relationalize.types import SupportedColumnType

Expand Down Expand Up @@ -65,7 +65,6 @@ class PostgresDialect(SQLDialect[PostgresColumn]):
""".strip()

@staticmethod
@override
def generate_ddl_column(column_name: str, column_type: PostgresColumn):
cleaned_column_name = column_name.replace('"', '""')
return DDLColumn(f'"{cleaned_column_name}" {column_type}')

0 comments on commit 021558d

Please sign in to comment.