Skip to content

Commit abe3098

Browse files
author
gdgate
authored
Merge pull request #225 from pcerny/pce/cal-750_sql_dset_fixes
CAL-750: fix sql-dataset response processing Reviewed-by: Jan Kadlec https://github.com/hkad98
2 parents 5a05868 + 12b03a3 commit abe3098

File tree

463 files changed

+167508
-6230
lines changed

Some content is hidden

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

463 files changed

+167508
-6230
lines changed

.copyrightignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,3 +77,6 @@ venv/**
7777

7878
# Linting support
7979
**/.ruff_cache/**
80+
81+
# Test helper files
82+
gooddata-sdk/tests/catalog/store/**

gooddata-afm-client/.openapi-generator/FILES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ docs/AttributeItem.md
3333
docs/AttributeResultHeader.md
3434
docs/ComparisonMeasureValueFilter.md
3535
docs/ComparisonMeasureValueFilterComparisonMeasureValueFilter.md
36+
docs/ComputationApi.md
3637
docs/DataColumnLocator.md
3738
docs/DataColumnLocators.md
3839
docs/DateFilter.md
@@ -102,6 +103,7 @@ docs/TotalResultHeader.md
102103
gooddata_afm_client/__init__.py
103104
gooddata_afm_client/api/__init__.py
104105
gooddata_afm_client/api/actions_api.py
106+
gooddata_afm_client/api/computation_api.py
105107
gooddata_afm_client/api_client.py
106108
gooddata_afm_client/apis/__init__.py
107109
gooddata_afm_client/configuration.py

gooddata-afm-client/README.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ Please follow the [installation procedure](#installation--usage) and then run th
4949
import time
5050
import gooddata_afm_client
5151
from pprint import pprint
52-
from gooddata_afm_client.api import actions_api
52+
from gooddata_afm_client.api import computation_api
5353
from gooddata_afm_client.model.afm_execution import AfmExecution
5454
from gooddata_afm_client.model.afm_execution_response import AfmExecutionResponse
5555
from gooddata_afm_client.model.afm_valid_objects_query import AfmValidObjectsQuery
@@ -69,7 +69,7 @@ configuration = gooddata_afm_client.Configuration(
6969
# Enter a context with an instance of the API client
7070
with gooddata_afm_client.ApiClient(configuration) as api_client:
7171
# Create an instance of the API class
72-
api_instance = actions_api.ActionsApi(api_client)
72+
api_instance = computation_api.ComputationApi(api_client)
7373
workspace_id = "/6bUUGjjNSwg0_bs" # str | Workspace identifier
7474
elements_request = ElementsRequest(
7575
complement_filter=False,
@@ -94,7 +94,7 @@ with gooddata_afm_client.ApiClient(configuration) as api_client:
9494
api_response = api_instance.compute_label_elements_post(workspace_id, elements_request, offset=offset, limit=limit, skip_cache=skip_cache)
9595
pprint(api_response)
9696
except gooddata_afm_client.ApiException as e:
97-
print("Exception when calling ActionsApi->compute_label_elements_post: %s\n" % e)
97+
print("Exception when calling ComputationApi->compute_label_elements_post: %s\n" % e)
9898
```
9999

100100
## Documentation for API Endpoints
@@ -103,6 +103,12 @@ All URIs are relative to *http://localhost*
103103

104104
Class | Method | HTTP request | Description
105105
------------ | ------------- | ------------- | -------------
106+
*ComputationApi* | [**compute_label_elements_post**](docs/ComputationApi.md#compute_label_elements_post) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/collectLabelElements | Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.
107+
*ComputationApi* | [**compute_report**](docs/ComputationApi.md#compute_report) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute | Executes analytical request and returns link to the result
108+
*ComputationApi* | [**compute_valid_objects**](docs/ComputationApi.md#compute_valid_objects) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidObjects | Valid objects
109+
*ComputationApi* | [**explain_afm**](docs/ComputationApi.md#explain_afm) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/explain | AFM explain resource.
110+
*ComputationApi* | [**retrieve_execution_metadata**](docs/ComputationApi.md#retrieve_execution_metadata) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId}/metadata | Get a single execution result's metadata.
111+
*ComputationApi* | [**retrieve_result**](docs/ComputationApi.md#retrieve_result) | **GET** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute/result/{resultId} | Get a single execution result
106112
*ActionsApi* | [**compute_label_elements_post**](docs/ActionsApi.md#compute_label_elements_post) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/collectLabelElements | Listing of label values. The resulting data are limited by the static platform limit to the maximum of 10000 rows.
107113
*ActionsApi* | [**compute_report**](docs/ActionsApi.md#compute_report) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/execute | Executes analytical request and returns link to the result
108114
*ActionsApi* | [**compute_valid_objects**](docs/ActionsApi.md#compute_valid_objects) | **POST** /api/v1/actions/workspaces/{workspaceId}/execution/afm/computeValidObjects | Valid objects

0 commit comments

Comments
 (0)