Skip to content

Commit ce7d713

Browse files
author
Auto Agent
committed
chore: [AUTO] apply ruff formatting
1 parent 5f3fab4 commit ce7d713

2 files changed

Lines changed: 2 additions & 6 deletions

File tree

packages/gooddata-sdk/src/gooddata_sdk/catalog/workspace/service.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -190,9 +190,7 @@ def list_workspace_settings(self, workspace_id: str) -> list[CatalogWorkspaceSet
190190
workspace_settings = load_all_entities(get_workspace_settings).data
191191
return [CatalogWorkspaceSetting.from_api(ws) for ws in workspace_settings]
192192

193-
def resolve_all_workspace_settings(
194-
self, workspace_id: str, exclude_user_settings: Optional[bool] = None
195-
) -> dict:
193+
def resolve_all_workspace_settings(self, workspace_id: str, exclude_user_settings: Optional[bool] = None) -> dict:
196194
"""
197195
Resolves values for all settings in a workspace by current user, workspace, organization, or default settings
198196
and return them as a dictionary. Proper parsing is up to the caller.

packages/gooddata-sdk/tests/catalog/test_catalog_workspace.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1084,9 +1084,7 @@ def test_resolve_all_workspace_settings_omits_exclude_user_settings_by_default()
10841084

10851085
service.resolve_all_workspace_settings("demo")
10861086

1087-
mock_actions_api.workspace_resolve_all_settings.assert_called_once_with(
1088-
"demo", _check_return_type=False
1089-
)
1087+
mock_actions_api.workspace_resolve_all_settings.assert_called_once_with("demo", _check_return_type=False)
10901088

10911089

10921090
def test_resolve_workspace_settings_forwards_exclude_user_settings():

0 commit comments

Comments
 (0)