Skip to content

Commit

Permalink
Merge pull request #833 from gooddata/snapshot-master-2edc83c1-to-rel…
Browse files Browse the repository at this point in the history
…/dev

[bot] Merge master/2edc83c1 into rel/dev
  • Loading branch information
yenkins-admin authored Oct 7, 2024
2 parents eca79ec + 2edc83c commit ccef6f8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions gooddata-pandas/gooddata_pandas/data_access.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,11 +437,10 @@ def compute_and_extract(
exec_def = response.exec_def
cols = list(columns.keys())

catalog = sdk.catalog_workspace_content.get_full_catalog(workspace_id)

if not exec_def.has_attributes():
return _extract_for_metrics_only(response, cols, col_to_metric_idx), dict()
else:
catalog = sdk.catalog_workspace_content.get_full_catalog(workspace_id)
return _extract_from_attributes_and_maybe_metrics(
response,
catalog,
Expand Down

0 comments on commit ccef6f8

Please sign in to comment.