Skip to content

Commit 9466bcf

Browse files
committed
Fix mypy errors
Signed-off-by: Levko Kravets <[email protected]>
1 parent 29a0ea0 commit 9466bcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/sqlalchemy/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -406,7 +406,7 @@ def get_table_comment(
406406
sqlalchemy_version_tag_pat = r"sqlalchemy/(\d+\.\d+\.\d+)"
407407

408408

409-
def add_sqla_tag_if_not_present(val: str):
409+
def add_sqla_tag_if_not_present(val: Optional[str] = None):
410410
if val is None or val == "":
411411
output = SQLALCHEMY_TAG
412412
elif re.search(sqlalchemy_version_tag_pat, val):

0 commit comments

Comments
 (0)