Skip to content

Commit

Permalink
models: quoted_* methods return str, not bool
Browse files Browse the repository at this point in the history
  • Loading branch information
mdibaiee committed Oct 2, 2024
1 parent b84f7f0 commit 7e727f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions source-oracle-flashback/source_oracle_flashback/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ class Type(StrEnum):
nullable: bool = Field(default=True, alias="NULLABLE")

@computed_field
def quoted_column_name(self) -> bool:
def quoted_column_name(self) -> str:
return quote_identifier(self.column_name)

@computed_field
Expand Down Expand Up @@ -253,11 +253,11 @@ class Table:
model_fields: dict[str, Any]

@computed_field
def quoted_owner(self) -> bool:
def quoted_owner(self) -> str:
return quote_identifier(self.owner)

@computed_field
def quoted_table_name(self) -> bool:
def quoted_table_name(self) -> str:
return quote_identifier(self.table_name)

def create_model(self) -> type[Document]:
Expand Down

0 comments on commit 7e727f6

Please sign in to comment.