Skip to content

Commit bb251e4

Browse files
fix(gooddata-sdk): widen GoodDataSdk.create kwargs type to Any
ty flagged callers spreading **dict[str, str | None] into create() because the new retry_config: GoodDataApiClientRetryConfig | None slot isn't assignable from str | None. jira: STL-2767 risk: low
1 parent e871107 commit bb251e4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

  • packages/gooddata-sdk/src/gooddata_sdk

packages/gooddata-sdk/src/gooddata_sdk/sdk.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
from __future__ import annotations
33

44
from pathlib import Path
5+
from typing import Any
56

67
from gooddata_sdk.catalog.ai_lake.service import CatalogAILakeService
78
from gooddata_sdk.catalog.appearance.service import CatalogAppearanceService
@@ -52,7 +53,7 @@ def create(
5253
executions_cancellable: bool = False,
5354
proxy: str | None = None,
5455
retry_config: GoodDataApiClientRetryConfig | None = None,
55-
**custom_headers_: str | None,
56+
**custom_headers_: Any,
5657
) -> GoodDataSdk:
5758
"""
5859
Create common GoodDataApiClient and return new GoodDataSdk instance.

0 commit comments

Comments
 (0)