ga-api-client 0.5.2__tar.gz → 0.5.3__tar.gz

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.
Files changed (20) hide show
  1. {ga_api_client-0.5.2/ga_api_client.egg-info → ga_api_client-0.5.3}/PKG-INFO +1 -1
  2. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api/ga_api_client.py +5 -4
  3. {ga_api_client-0.5.2 → ga_api_client-0.5.3/ga_api_client.egg-info}/PKG-INFO +1 -1
  4. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/setup.cfg +1 -1
  5. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/LICENSE +0 -0
  6. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/README.md +0 -0
  7. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api/__init__.py +0 -0
  8. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api/average.py +0 -0
  9. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api/capture.py +0 -0
  10. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api/field_tree.py +0 -0
  11. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api/hyper_log_log.py +0 -0
  12. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api/rate.py +0 -0
  13. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api/std.py +0 -0
  14. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api/tdigest.py +0 -0
  15. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api_client.egg-info/SOURCES.txt +0 -0
  16. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api_client.egg-info/dependency_links.txt +0 -0
  17. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api_client.egg-info/requires.txt +0 -0
  18. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/ga_api_client.egg-info/top_level.txt +0 -0
  19. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/pyproject.toml +0 -0
  20. {ga_api_client-0.5.2 → ga_api_client-0.5.3}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ga-api-client
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: License :: OSI Approved :: MIT License
6
6
  Classifier: Operating System :: OS Independent
@@ -657,7 +657,7 @@ def _compute_kcol_mcol(pipeline):
657
657
  moper = []
658
658
  if 'bucket' in pipeline:
659
659
  for bkt in pipeline['bucket']:
660
- if bkt[0] in ['$distinctTuple','enumTuple']:
660
+ if bkt[0] in ['$distinctTuple','$enumTuple', '$distinctTree']:
661
661
  # each field introduce one key column
662
662
  kcol += len(bkt[1]['fields'])
663
663
  else:
@@ -704,9 +704,10 @@ class _translate_table:
704
704
  output_row.append(tuple(elem))
705
705
  else:
706
706
  output_row.append(elem)
707
- else:
708
- moper_idx = self.moper[int((idx-self.kcol)/2)]
709
- output_row.append(MOPER_MAP[moper_idx](elem))
707
+ else: # metric
708
+ moper_idx = int((idx-self.kcol)/2)
709
+ moper = self.moper[moper_idx]
710
+ output_row.append(MOPER_MAP[moper](elem))
710
711
  yield output_row
711
712
 
712
713
  class _translate_rlts:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: ga-api-client
3
- Version: 0.5.2
3
+ Version: 0.5.3
4
4
  Classifier: Programming Language :: Python :: 3
5
5
  Classifier: License :: OSI Approved :: MIT License
6
6
  Classifier: Operating System :: OS Independent
@@ -1,6 +1,6 @@
1
1
  [metadata]
2
2
  name = ga-api-client
3
- version = 0.5.2
3
+ version = 0.5.3
4
4
  long_description = file: README.md
5
5
  long_description_content_type = text/markdown
6
6
  classifiers =
File without changes
File without changes
File without changes