From 7e727f66ad69ddf1da33a1ce81973cb35150a298 Mon Sep 17 00:00:00 2001 From: Mahdi Dibaiee Date: Wed, 2 Oct 2024 16:49:32 +0100 Subject: [PATCH] models: quoted_* methods return str, not bool --- source-oracle-flashback/source_oracle_flashback/models.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source-oracle-flashback/source_oracle_flashback/models.py b/source-oracle-flashback/source_oracle_flashback/models.py index fc594ced39..f725927d61 100644 --- a/source-oracle-flashback/source_oracle_flashback/models.py +++ b/source-oracle-flashback/source_oracle_flashback/models.py @@ -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 @@ -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]: