gooddata-pandas 1.28.1.dev3__py3-none-any.whl → 1.28.1.dev4__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of gooddata-pandas might be problematic. Click here for more details.

@@ -312,12 +312,10 @@ def _extract_for_metrics_only(response: ExecutionResponse, cols: list, col_to_me
312
312
  """
313
313
  exec_def = response.exec_def
314
314
  result = response.read_result(len(exec_def.metrics))
315
- data = dict()
315
+ if len(result.data) == 0:
316
+ return {col: [] for col in cols}
316
317
 
317
- for col in cols:
318
- data[col] = [result.data[col_to_metric_idx[col]]]
319
-
320
- return data
318
+ return {col: [result.data[col_to_metric_idx[col]]] for col in cols}
321
319
 
322
320
 
323
321
  def _find_attribute(attributes: list[CatalogAttribute], id_obj: IdObjType) -> Union[CatalogAttribute, None]:
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gooddata-pandas
3
- Version: 1.28.1.dev3
3
+ Version: 1.28.1.dev4
4
4
  Summary: GoodData Cloud to pandas
5
5
  Author: GoodData
6
6
  Author-email: support@gooddata.com
7
7
  License: MIT
8
- Project-URL: Documentation, https://gooddata-pandas.readthedocs.io/en/v1.28.1.dev3
8
+ Project-URL: Documentation, https://gooddata-pandas.readthedocs.io/en/v1.28.1.dev4
9
9
  Project-URL: Source, https://github.com/gooddata/gooddata-python-sdk
10
10
  Keywords: gooddata,pandas,series,data,frame,data_frame,analytics,headless,business,intelligence,headless-bi,cloud,native,semantic,layer,sql,metrics
11
11
  Classifier: Development Status :: 5 - Production/Stable
@@ -22,7 +22,7 @@ Classifier: Typing :: Typed
22
22
  Requires-Python: >=3.9.0
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE.txt
25
- Requires-Dist: gooddata-sdk ~=1.28.1.dev3
25
+ Requires-Dist: gooddata-sdk ~=1.28.1.dev4
26
26
  Requires-Dist: pandas <3.0.0,>=2.0.0
27
27
 
28
28
  # GoodData Pandas
@@ -1,14 +1,14 @@
1
1
  gooddata_pandas/__init__.py,sha256=Ta3qIIDq7kBRUsYSV3aC69AQBFvFvhtWDQucgP-l88w,297
2
2
  gooddata_pandas/_version.py,sha256=960vTs6l7xsN2BOXWCxOc4PSKdzzKhnNEPTMnmMTCQs,119
3
- gooddata_pandas/data_access.py,sha256=R5a6m9UoFzNO2lxeQkHvyCVkX0COZ3mfHz-B7kj2v24,19080
3
+ gooddata_pandas/data_access.py,sha256=u64xnvPUCHmF41A6I02A1bhqmszuPNzoKuycIH6y3jc,19109
4
4
  gooddata_pandas/dataframe.py,sha256=SeNIx-tlf7PjmGppkhNDPEl8RQN6BRKOC3UJ89uFnjo,13000
5
5
  gooddata_pandas/good_pandas.py,sha256=ePEm2Lmeiftz5td0BLC71q7my5Aj8aABn3xV0myRmqI,3444
6
6
  gooddata_pandas/py.typed,sha256=u_MS29sadlaIqGRPYFjWml5u0gQnoQfvbsf9pu3TZJU,94
7
7
  gooddata_pandas/result_convertor.py,sha256=r7uFrjeM6cxMy08YcS3LywF1iUPSyEyG3BAddh0DkIQ,25807
8
8
  gooddata_pandas/series.py,sha256=wTvJR_I0FUteyxo4RwHzP20eU7rei0dP8ZdqfrLbf5c,5759
9
9
  gooddata_pandas/utils.py,sha256=JQZOuGjDfpPZqBnz-KdN8EwjzXXTbQCONWmUEE3cY9M,7217
10
- gooddata_pandas-1.28.1.dev3.dist-info/LICENSE.txt,sha256=3RjzQk8y9HG1_LgqvbEqWZKJnTQGOO1cpzYzBc13Myk,149825
11
- gooddata_pandas-1.28.1.dev3.dist-info/METADATA,sha256=ikQwYkAz7DoyiOfQPdaUIcrzvo3GYIY8f0pt19EaxqY,2843
12
- gooddata_pandas-1.28.1.dev3.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
13
- gooddata_pandas-1.28.1.dev3.dist-info/top_level.txt,sha256=B7K_WFxlxplJbEbv5Mf0YhX74dbOpTPgDX-W6I7CssI,16
14
- gooddata_pandas-1.28.1.dev3.dist-info/RECORD,,
10
+ gooddata_pandas-1.28.1.dev4.dist-info/LICENSE.txt,sha256=3RjzQk8y9HG1_LgqvbEqWZKJnTQGOO1cpzYzBc13Myk,149825
11
+ gooddata_pandas-1.28.1.dev4.dist-info/METADATA,sha256=TrYPzQwPF4Dj2A-_LUJSMPtMp8ddYIU6sO_VS42UBy4,2843
12
+ gooddata_pandas-1.28.1.dev4.dist-info/WHEEL,sha256=GV9aMThwP_4oNCtvEC2ec3qUYutgWeAzklro_0m4WJQ,91
13
+ gooddata_pandas-1.28.1.dev4.dist-info/top_level.txt,sha256=B7K_WFxlxplJbEbv5Mf0YhX74dbOpTPgDX-W6I7CssI,16
14
+ gooddata_pandas-1.28.1.dev4.dist-info/RECORD,,