File tree 4 files changed +8
-4
lines changed
gooddata-pandas/gooddata_pandas
gooddata-sdk/gooddata_sdk/catalog
4 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -358,7 +358,7 @@ def _extract_from_attributes_and_maybe_metrics(
358
358
359
359
Args:
360
360
response (ExecutionResponse): The execution response to extract data from.
361
- catalog (CatalogWorkspaceContent ): The catalog workspace content .
361
+ attributes (list[CatalogAttribute] ): The catalog of attributes .
362
362
cols (list[str]): A list of column names.
363
363
col_to_attr_idx (dict[str, int]): A mapping of pandas column names to attribute dimension indices.
364
364
col_to_metric_idx (dict[str, int]): A mapping of pandas column names to metric dimension indices.
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ def get_declarative_organization_permissions(self) -> list[CatalogDeclarativeOrg
120
120
None
121
121
122
122
Returns:
123
- [CatalogDeclarativeOrganizationPermission]:
123
+ list [CatalogDeclarativeOrganizationPermission]:
124
124
List of all declarative organization permissions.
125
125
"""
126
126
@@ -136,8 +136,8 @@ def put_declarative_organization_permissions(
136
136
"""Put a list of all declarative organization permissions.
137
137
138
138
Args:
139
- org_permissions( [CatalogDeclarativeOrganizationPermission])
140
- list of declarative organization permissions
139
+ org_permissions (list [CatalogDeclarativeOrganizationPermission]):
140
+ List of declarative organization permissions.
141
141
142
142
Returns:
143
143
None
Original file line number Diff line number Diff line change @@ -541,6 +541,7 @@ def generate_localized_workspaces(
541
541
provision_workspace: Should new workspace for the target language be provisioned?
542
542
Including setting of corresponding locales.
543
543
store_layouts: Store declarative layouts of all workspaces to disk
544
+ place_in_hierarchy (bool): Flag if localized workspace should be placed in the hierarchy.
544
545
545
546
Returns:
546
547
None
Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ lint.select = [
21
21
" SIM" ,
22
22
" UP" ,
23
23
" W" , # pycodestyle warnings
24
+ " D417" , # undocumented-param
24
25
]
25
26
lint.ignore = [
26
27
# rules recommended to be ignored when using ruff format
@@ -44,6 +45,8 @@ target-version = "py39"
44
45
[tool .ruff .format ]
45
46
exclude = [' (gooddata-api-client|.*\.snapshot\..*)' ]
46
47
48
+ [tool .ruff .lint .pydocstyle ]
49
+ convention = " google"
47
50
48
51
[tool .tbump ]
49
52
# Uncomment this if your project is hosted on GitHub:
You can’t perform that action at this time.
0 commit comments