Skip to content

Commit 1573433

Browse files
authored
make profile optional, necessary for rust core to create fallback profile (#1004)
1 parent 62604ca commit 1573433

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

temporalio/envconfig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def to_client_connect_config(self) -> ClientConnectConfig:
253253

254254
@staticmethod
255255
def load(
256-
profile: str = "default",
256+
profile: Optional[str] = None,
257257
*,
258258
config_source: Optional[DataSource] = None,
259259
disable_file: bool = False,
@@ -377,7 +377,7 @@ def load(
377377

378378
@staticmethod
379379
def load_client_connect_config(
380-
profile: str = "default",
380+
profile: Optional[str] = None,
381381
*,
382382
config_file: Optional[str] = None,
383383
disable_file: bool = False,

0 commit comments

Comments
 (0)