Skip to content

Commit d75ed7e

Browse files
Merge pull request #1925 from gooddata/snapshot-master-c226287e-to-rel/dev
[bot] Merge master/c226287e into rel/dev
2 parents 5a02ebe + c226287 commit d75ed7e

123 files changed

Lines changed: 6619 additions & 368 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎.openapi-generator/custom_templates/model_utils.mustache‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -884,6 +884,13 @@ def get_possible_classes(cls, from_server_context):
884884
if from_server_context:
885885
return possible_classes
886886
if hasattr(cls, 'discriminator') and cls.discriminator is not None:
887+
if issubclass(cls, ModelComposed):
888+
# A discriminated oneOf must stay a single candidate so that
889+
# _new_from_openapi_data dispatches on the discriminator value.
890+
# Listing its members instead makes attempt_convert_item try each
891+
# in turn, and a member missing a required argument raises a
892+
# plain TypeError, which that function does not catch.
893+
return possible_classes
887894
possible_classes = []
888895
possible_classes.extend(get_discriminated_classes(cls))
889896
elif issubclass(cls, ModelComposed):

‎gooddata-api-client/.openapi-generator/FILES‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ docs/AlertDescription.md
4949
docs/AlertEvaluationRow.md
5050
docs/AllTimeDateFilter.md
5151
docs/AllTimeDateFilterAllTimeDateFilter.md
52-
docs/AmplitudeService.md
5352
docs/AnalyticalDashboardControllerApi.md
5453
docs/AnalyticsCatalogCreatedBy.md
5554
docs/AnalyticsCatalogTags.md
@@ -1077,7 +1076,9 @@ docs/JsonApiPublisherDocumentInDocument.md
10771076
docs/JsonApiPublisherDocumentOut.md
10781077
docs/JsonApiPublisherDocumentOutAttributes.md
10791078
docs/JsonApiPublisherDocumentOutDocument.md
1079+
docs/JsonApiPublisherDocumentOutIncludes.md
10801080
docs/JsonApiPublisherDocumentOutList.md
1081+
docs/JsonApiPublisherDocumentOutRelationships.md
10811082
docs/JsonApiPublisherDocumentOutWithLinks.md
10821083
docs/JsonApiPublisherDocumentPageTemplateIn.md
10831084
docs/JsonApiPublisherDocumentPageTemplateInAttributes.md
@@ -1432,6 +1433,7 @@ docs/ObjectConditionalFormatting.md
14321433
docs/ObjectLinks.md
14331434
docs/ObjectLinksContainer.md
14341435
docs/ObjectStorageInfo.md
1436+
docs/ObjectStorageRef.md
14351437
docs/ObservabilityApi.md
14361438
docs/OpenAIProviderConfig.md
14371439
docs/OpenAiApiKeyAuth.md
@@ -1968,7 +1970,6 @@ gooddata_api_client/model/alert_description.py
19681970
gooddata_api_client/model/alert_evaluation_row.py
19691971
gooddata_api_client/model/all_time_date_filter.py
19701972
gooddata_api_client/model/all_time_date_filter_all_time_date_filter.py
1971-
gooddata_api_client/model/amplitude_service.py
19721973
gooddata_api_client/model/analytics_catalog_created_by.py
19731974
gooddata_api_client/model/analytics_catalog_tags.py
19741975
gooddata_api_client/model/analytics_catalog_user.py
@@ -2925,7 +2926,9 @@ gooddata_api_client/model/json_api_publisher_document_in_document.py
29252926
gooddata_api_client/model/json_api_publisher_document_out.py
29262927
gooddata_api_client/model/json_api_publisher_document_out_attributes.py
29272928
gooddata_api_client/model/json_api_publisher_document_out_document.py
2929+
gooddata_api_client/model/json_api_publisher_document_out_includes.py
29282930
gooddata_api_client/model/json_api_publisher_document_out_list.py
2931+
gooddata_api_client/model/json_api_publisher_document_out_relationships.py
29292932
gooddata_api_client/model/json_api_publisher_document_out_with_links.py
29302933
gooddata_api_client/model/json_api_publisher_document_page_template_in.py
29312934
gooddata_api_client/model/json_api_publisher_document_page_template_in_attributes.py
@@ -3259,6 +3262,7 @@ gooddata_api_client/model/object_conditional_formatting.py
32593262
gooddata_api_client/model/object_links.py
32603263
gooddata_api_client/model/object_links_container.py
32613264
gooddata_api_client/model/object_storage_info.py
3265+
gooddata_api_client/model/object_storage_ref.py
32623266
gooddata_api_client/model/open_ai_api_key_auth.py
32633267
gooddata_api_client/model/open_ai_api_key_auth_all_of.py
32643268
gooddata_api_client/model/open_ai_provider_auth.py

‎gooddata-api-client/README.md‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1616,7 +1616,6 @@ Class | Method | HTTP request | Description
16161616
- [AlertEvaluationRow](docs/AlertEvaluationRow.md)
16171617
- [AllTimeDateFilter](docs/AllTimeDateFilter.md)
16181618
- [AllTimeDateFilterAllTimeDateFilter](docs/AllTimeDateFilterAllTimeDateFilter.md)
1619-
- [AmplitudeService](docs/AmplitudeService.md)
16201619
- [AnalyticsCatalogCreatedBy](docs/AnalyticsCatalogCreatedBy.md)
16211620
- [AnalyticsCatalogTags](docs/AnalyticsCatalogTags.md)
16221621
- [AnalyticsCatalogUser](docs/AnalyticsCatalogUser.md)
@@ -2573,7 +2572,9 @@ Class | Method | HTTP request | Description
25732572
- [JsonApiPublisherDocumentOut](docs/JsonApiPublisherDocumentOut.md)
25742573
- [JsonApiPublisherDocumentOutAttributes](docs/JsonApiPublisherDocumentOutAttributes.md)
25752574
- [JsonApiPublisherDocumentOutDocument](docs/JsonApiPublisherDocumentOutDocument.md)
2575+
- [JsonApiPublisherDocumentOutIncludes](docs/JsonApiPublisherDocumentOutIncludes.md)
25762576
- [JsonApiPublisherDocumentOutList](docs/JsonApiPublisherDocumentOutList.md)
2577+
- [JsonApiPublisherDocumentOutRelationships](docs/JsonApiPublisherDocumentOutRelationships.md)
25772578
- [JsonApiPublisherDocumentOutWithLinks](docs/JsonApiPublisherDocumentOutWithLinks.md)
25782579
- [JsonApiPublisherDocumentPageTemplateIn](docs/JsonApiPublisherDocumentPageTemplateIn.md)
25792580
- [JsonApiPublisherDocumentPageTemplateInAttributes](docs/JsonApiPublisherDocumentPageTemplateInAttributes.md)
@@ -2907,6 +2908,7 @@ Class | Method | HTTP request | Description
29072908
- [ObjectLinks](docs/ObjectLinks.md)
29082909
- [ObjectLinksContainer](docs/ObjectLinksContainer.md)
29092910
- [ObjectStorageInfo](docs/ObjectStorageInfo.md)
2911+
- [ObjectStorageRef](docs/ObjectStorageRef.md)
29102912
- [OpenAIProviderConfig](docs/OpenAIProviderConfig.md)
29112913
- [OpenAiApiKeyAuth](docs/OpenAiApiKeyAuth.md)
29122914
- [OpenAiApiKeyAuthAllOf](docs/OpenAiApiKeyAuthAllOf.md)

‎gooddata-api-client/docs/ActionsApi.md‎

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3969,7 +3969,7 @@ with gooddata_api_client.ApiClient() as api_client:
39693969
timezone="Europe/Prague",
39703970
),
39713971
) # AfmExecution |
3972-
explain_type = "MAQL" # str | Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request `GIT` - Git properties of current build (optional)
3972+
explain_type = "MAQL" # str | Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `MODEL_STATISTICS` - Physical table statistics of the datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request `GIT` - Git properties of current build (optional)
39733973

39743974
# example passing only required values which don't have defaults set
39753975
try:
@@ -3994,7 +3994,7 @@ Name | Type | Description | Notes
39943994
------------- | ------------- | ------------- | -------------
39953995
**workspace_id** | **str**| Workspace identifier |
39963996
**afm_execution** | [**AfmExecution**](AfmExecution.md)| |
3997-
**explain_type** | **str**| Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request `GIT` - Git properties of current build | [optional]
3997+
**explain_type** | **str**| Requested explain type. If not specified all types are bundled in a ZIP archive. `MAQL` - MAQL Abstract Syntax Tree, execution dimensions and related info `GRPC_MODEL` - Datasets used in execution `MODEL_STATISTICS` - Physical table statistics of the datasets used in execution `GRPC_MODEL_SVG` - Generated SVG image of the datasets `COMPRESSED_GRPC_MODEL_SVG` - Generated SVG image of the model fragment used in the query `WDF` - Workspace data filters in execution workspace context `QT` - Query Tree, created from MAQL AST using Logical Data Model, contains all information needed to generate SQL `QT_SVG` - Generated SVG image of the Query Tree `OPT_QT` - Optimized Query Tree `OPT_QT_SVG` - Generated SVG image of the Optimized Query Tree `SQL` - Final SQL to be executed `COMPRESSED_SQL` - Final SQL to be executed with rolled SQL datasets `SETTINGS` - Settings used to execute explain request `GIT` - Git properties of current build | [optional]
39983998

39993999
### Return type
40004000

@@ -8065,7 +8065,7 @@ No authorization required
80658065
80668066
(BETA) Users who set a language themselves.
80678067

8068-
(BETA) Lists the users behind the counts of the organization localization usage, sorted by name. Users without a name come last. Users count under the value they get in the organization. That value depends on the workspace, so only the settings that users set themselves match. Only the source USER returns users. Without the setting filter, a user matches when any of the display, metadata and data language settings matches. Users counted in the usage entry without a language are not listed.
8068+
(BETA) Lists the users behind the counts of the organization localization usage, sorted by name. Users without a name come last. Users count under the value they get in the organization. That value depends on the workspace, so only the settings that users set themselves match. Only the source USER returns users. Without the setting filter, a user matches when any of the display, metadata and data language settings matches. An empty `value=` means no filter. No value selects the usage entry without a language.
80698069

80708070
### Example
80718071

@@ -8143,7 +8143,7 @@ No authorization required
81438143
81448144
(BETA) Workspaces that use a language.
81458145

8146-
(BETA) Lists the workspaces behind the counts of the organization localization usage, sorted by name. Without the setting filter, a workspace matches when any of the display, metadata and data language settings matches, and its source is the strongest one.
8146+
(BETA) Lists the workspaces behind the counts of the organization localization usage, sorted by name. Without the setting filter, a workspace matches when any of the display, metadata and data language settings matches, and its source is the strongest one. Without the value filter, a setting without a language matches too. An empty `value=` means no filter. No value selects the usage entry without a language.
81478147

81488148
### Example
81498149

@@ -12579,7 +12579,7 @@ No authorization required
1257912579
1258012580
(BETA) Workspace members who get a language.
1258112581

12582-
(BETA) Lists the workspace members behind the counts of the workspace localization usage, sorted by name. Users without a name come last. Members count under the value they get in the workspace: their own setting, otherwise the value of the workspace. So every source can match. Without the setting filter, a member matches when any of the display, metadata and data language settings matches. Its source is then the strongest one.
12582+
(BETA) Lists the workspace members behind the counts of the workspace localization usage, sorted by name. Users without a name come last. Members count under the value they get in the workspace: their own setting, otherwise the value of the workspace. So every source can match. Without the setting filter, a member matches when any of the display, metadata and data language settings matches. Its source is then the strongest one. An empty `value=` means no filter. No value selects the usage entry without a language.
1258312583

1258412584
### Example
1258512585

‎gooddata-api-client/docs/AnalyticsModelApi.md‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ with gooddata_api_client.ApiClient() as api_client:
237237
PublisherDocumentAttributeFilterConfig(
238238
display_as_label=PublisherDocumentObjRef(
239239
identifier="identifier_example",
240-
type="type_example",
240+
type="insight",
241241
),
242242
local_identifier="26bUUGjjNSwg0_bs9ZayIMrKdgNvb6gvxmPb9GcsM61ate1",
243243
mode="readonly",
@@ -393,7 +393,7 @@ with gooddata_api_client.ApiClient() as api_client:
393393
PublisherDocumentAttributeFilterConfig(
394394
display_as_label=PublisherDocumentObjRef(
395395
identifier="identifier_example",
396-
type="type_example",
396+
type="insight",
397397
),
398398
local_identifier="26bUUGjjNSwg0_bs9ZayIMrKdgNvb6gvxmPb9GcsM61ate1",
399399
mode="readonly",
@@ -533,8 +533,18 @@ with gooddata_api_client.ApiClient() as api_client:
533533
gap=PublisherDocumentAreaStyleGap(None),
534534
),
535535
),
536+
created_at="2023-07-20 12:30",
537+
created_by=DeclarativeUserIdentifier(
538+
id="employee123",
539+
type="user",
540+
),
536541
description="description_example",
537542
id="levis-h1-2026",
543+
modified_at="2023-07-20 12:30",
544+
modified_by=DeclarativeUserIdentifier(
545+
id="employee123",
546+
type="user",
547+
),
538548
period=PublisherDocumentPeriod(),
539549
tags=[
540550
"["brand"]",

‎gooddata-api-client/docs/AttributeHeaderAttributeHeader.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Name | Type | Description | Notes
1414
**format** | [**AttributeFormat**](AttributeFormat.md) | | [optional]
1515
**geo_area_config** | [**GeoAreaConfig**](GeoAreaConfig.md) | | [optional]
1616
**granularity** | **str** | Date granularity of the attribute, only filled for date attributes. | [optional]
17-
**number_format** | **str** | Format to be used to format the attribute values, the same kind of format string as the measure format. Only filled for computed attributes with a format. | [optional]
17+
**number_format** | **str** | Format to be used to format the attribute values, the same kind of format string as the measure format. Only filled for computed attributes with a format and INT or NUMERIC data type. | [optional]
1818
**value_type** | **str** | Attribute value type. | [optional]
1919
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
2020

‎gooddata-api-client/docs/ChangeAnalysisResult.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Result of a change analysis execution.
66
Name | Type | Description | Notes
77
------------ | ------------- | ------------- | -------------
88
**data** | [**[MetricValueChange]**](MetricValueChange.md) | The change analysis result data containing significant changes. |
9+
**restricted_count** | **int** | Number of attributes and computed attributes left out of the analysis because the user has no access to them. |
910
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [optional]
1011

1112
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

0 commit comments

Comments
 (0)