Skip to content

Commit 2e0178d

Browse files
removed implicit optionals
1 parent 37ae235 commit 2e0178d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

exasol/nb_connector/text_ai_extension_wrapper.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import Optional
2+
13
from exasol.nb_connector.secret_store import Secrets
24
from pathlib import Path
35

@@ -6,8 +8,8 @@
68
LATEST_KNOWN_VERSION = "???"
79

810
def deploy_licence(conf: Secrets,
9-
licence_file: Path = None,
10-
licence_content: str = None) -> None:
11+
licence_file: Optional[Path] = None,
12+
licence_content: Optional[str] = None) -> None:
1113
"""
1214
Deploys the given license and saves its identifier to the secret store. The licence can either be
1315
defined by a path pointing to a licence file, or by the licence content given as a string.

0 commit comments

Comments
 (0)