diff --git a/gooddata-pandas/gooddata_pandas/data_access.py b/gooddata-pandas/gooddata_pandas/data_access.py index 39a3bae62..89865bc04 100644 --- a/gooddata-pandas/gooddata_pandas/data_access.py +++ b/gooddata-pandas/gooddata_pandas/data_access.py @@ -358,7 +358,7 @@ def _extract_from_attributes_and_maybe_metrics( Args: response (ExecutionResponse): The execution response to extract data from. - catalog (CatalogWorkspaceContent): The catalog workspace content. + attributes (list[CatalogAttribute]): The catalog of attributes. cols (list[str]): A list of column names. col_to_attr_idx (dict[str, int]): A mapping of pandas column names to attribute dimension indices. col_to_metric_idx (dict[str, int]): A mapping of pandas column names to metric dimension indices. diff --git a/gooddata-sdk/gooddata_sdk/catalog/permission/service.py b/gooddata-sdk/gooddata_sdk/catalog/permission/service.py index 35d4c9c00..5c4c4e3d6 100644 --- a/gooddata-sdk/gooddata_sdk/catalog/permission/service.py +++ b/gooddata-sdk/gooddata_sdk/catalog/permission/service.py @@ -120,7 +120,7 @@ def get_declarative_organization_permissions(self) -> list[CatalogDeclarativeOrg None Returns: - [CatalogDeclarativeOrganizationPermission]: + list[CatalogDeclarativeOrganizationPermission]: List of all declarative organization permissions. """ @@ -136,8 +136,8 @@ def put_declarative_organization_permissions( """Put a list of all declarative organization permissions. Args: - org_permissions([CatalogDeclarativeOrganizationPermission]) - list of declarative organization permissions + org_permissions (list[CatalogDeclarativeOrganizationPermission]): + List of declarative organization permissions. Returns: None diff --git a/gooddata-sdk/gooddata_sdk/catalog/workspace/service.py b/gooddata-sdk/gooddata_sdk/catalog/workspace/service.py index 667c6ec46..db8a7c81f 100644 --- a/gooddata-sdk/gooddata_sdk/catalog/workspace/service.py +++ b/gooddata-sdk/gooddata_sdk/catalog/workspace/service.py @@ -541,6 +541,7 @@ def generate_localized_workspaces( provision_workspace: Should new workspace for the target language be provisioned? Including setting of corresponding locales. store_layouts: Store declarative layouts of all workspaces to disk + place_in_hierarchy (bool): Flag if localized workspace should be placed in the hierarchy. Returns: None diff --git a/pyproject.toml b/pyproject.toml index 27ac65e13..b3bb29759 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -21,6 +21,7 @@ lint.select = [ "SIM", "UP", "W", # pycodestyle warnings + "D417", # undocumented-param ] lint.ignore = [ # rules recommended to be ignored when using ruff format @@ -44,6 +45,8 @@ target-version = "py39" [tool.ruff.format] exclude = ['(gooddata-api-client|.*\.snapshot\..*)'] +[tool.ruff.lint.pydocstyle] +convention = "google" [tool.tbump] # Uncomment this if your project is hosted on GitHub: