Skip to content

Commit

Permalink
#99 Fixed typing issue picked by mypy
Browse files Browse the repository at this point in the history
  • Loading branch information
ahsimb committed May 2, 2024
1 parent 4193c4e commit 8f1e020
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion exasol/nb_connector/extension_wrapper_common.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
from typing import Optional

from exasol.nb_connector.connections import open_pyexasol_connection
from exasol.nb_connector.secret_store import Secrets
from exasol.nb_connector.utils import optional_str_to_bool
Expand Down Expand Up @@ -49,7 +51,7 @@ def encapsulate_bucketfs_credentials(
f"{conf.get(CKey.bfs_bucket)}/{path_in_bucket};{conf.get(CKey.bfs_service)}"
)
# TLS certificate verification option shall be provided in the fragment field.
verify = conf.get(CKey.trusted_ca)
verify: Optional[str | bool] = conf.get(CKey.trusted_ca)
if not verify:
verify = optional_str_to_bool(conf.get(CKey.cert_vld))
if verify is not None:
Expand Down

0 comments on commit 8f1e020

Please sign in to comment.