gooddata-sdk 1.40.1.dev4__tar.gz → 1.40.1.dev6__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 (145) hide show
  1. {gooddata_sdk-1.40.1.dev4/gooddata_sdk.egg-info → gooddata_sdk-1.40.1.dev6}/PKG-INFO +4 -4
  2. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/README.md +1 -1
  3. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/client.py +11 -0
  4. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/compute/model/execution.py +23 -5
  5. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/compute/service.py +25 -0
  6. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6/gooddata_sdk.egg-info}/PKG-INFO +4 -4
  7. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk.egg-info/requires.txt +1 -1
  8. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/setup.py +3 -3
  9. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/LICENSE.txt +0 -0
  10. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/MANIFEST.in +0 -0
  11. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/bin/gdc +0 -0
  12. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/__init__.py +0 -0
  13. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/_version.py +0 -0
  14. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/__init__.py +0 -0
  15. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/base.py +0 -0
  16. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/catalog_service_base.py +0 -0
  17. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/__init__.py +0 -0
  18. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/action_model/__init__.py +0 -0
  19. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/action_model/requests/__init__.py +0 -0
  20. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/action_model/requests/ldm_request.py +0 -0
  21. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/action_model/requests/scan_model_request.py +0 -0
  22. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/action_model/requests/scan_sql_request.py +0 -0
  23. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/action_model/responses/__init__.py +0 -0
  24. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/action_model/responses/scan_sql_response.py +0 -0
  25. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/action_model/sql_column.py +0 -0
  26. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/declarative_model/__init__.py +0 -0
  27. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/declarative_model/data_source.py +0 -0
  28. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/declarative_model/physical_model/__init__.py +0 -0
  29. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/declarative_model/physical_model/column.py +0 -0
  30. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/declarative_model/physical_model/pdm.py +0 -0
  31. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/declarative_model/physical_model/table.py +0 -0
  32. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/entity_model/__init__.py +0 -0
  33. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/entity_model/content_objects/__init__.py +0 -0
  34. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/entity_model/data_source.py +0 -0
  35. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/service.py +0 -0
  36. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/validation/__init__.py +0 -0
  37. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/data_source/validation/data_source.py +0 -0
  38. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/depends_on.py +0 -0
  39. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/entity.py +0 -0
  40. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/export/__init__.py +0 -0
  41. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/export/request.py +0 -0
  42. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/export/service.py +0 -0
  43. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/filter_by.py +0 -0
  44. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/identifier.py +0 -0
  45. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/__init__.py +0 -0
  46. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/common/__init__.py +0 -0
  47. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/common/dashboard_slides_template.py +0 -0
  48. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/common/running_section.py +0 -0
  49. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/common/slide_template.py +0 -0
  50. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/common/widget_slides_template.py +0 -0
  51. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/entity_model/__init__.py +0 -0
  52. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/entity_model/directive.py +0 -0
  53. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/entity_model/export_template.py +0 -0
  54. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/entity_model/identity_provider.py +0 -0
  55. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/entity_model/jwk.py +0 -0
  56. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/entity_model/organization.py +0 -0
  57. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/entity_model/setting.py +0 -0
  58. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/layout/__init__.py +0 -0
  59. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/layout/export_template.py +0 -0
  60. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/layout/identity_provider.py +0 -0
  61. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/layout/notification_channel.py +0 -0
  62. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/organization/service.py +0 -0
  63. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/parameter.py +0 -0
  64. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/permission/__init__.py +0 -0
  65. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/permission/declarative_model/__init__.py +0 -0
  66. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/permission/declarative_model/dashboard_assignees.py +0 -0
  67. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/permission/declarative_model/dashboard_permissions.py +0 -0
  68. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/permission/declarative_model/manage_dashboard_permissions.py +0 -0
  69. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/permission/declarative_model/permission.py +0 -0
  70. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/permission/service.py +0 -0
  71. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/rule.py +0 -0
  72. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/setting.py +0 -0
  73. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/types.py +0 -0
  74. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/__init__.py +0 -0
  75. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/declarative_model/__init__.py +0 -0
  76. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/declarative_model/user.py +0 -0
  77. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/declarative_model/user_and_user_groups.py +0 -0
  78. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/declarative_model/user_group.py +0 -0
  79. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/entity_model/__init__.py +0 -0
  80. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/entity_model/api_token.py +0 -0
  81. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/entity_model/user.py +0 -0
  82. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/entity_model/user_group.py +0 -0
  83. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/management_model/__init__.py +0 -0
  84. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/management_model/management.py +0 -0
  85. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/user/service.py +0 -0
  86. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/validate_by_item.py +0 -0
  87. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/__init__.py +0 -0
  88. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/content_service.py +0 -0
  89. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/__init__.py +0 -0
  90. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/__init__.py +0 -0
  91. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/__init__.py +0 -0
  92. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/analytics_model.py +0 -0
  93. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/base.py +0 -0
  94. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/analytics_model/export_definition.py +0 -0
  95. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/automation.py +0 -0
  96. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/__init__.py +0 -0
  97. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/data_filter_references.py +0 -0
  98. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset/__init__.py +0 -0
  99. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset/dataset.py +0 -0
  100. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset_extensions/__init__.py +0 -0
  101. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/dataset_extensions/dataset_extension.py +0 -0
  102. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/date_dataset/__init__.py +0 -0
  103. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/date_dataset/date_dataset.py +0 -0
  104. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/logical_model/ldm.py +0 -0
  105. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/declarative_model/workspace/workspace.py +0 -0
  106. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/entity_model/__init__.py +0 -0
  107. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/entity_model/content_objects/__init__.py +0 -0
  108. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/entity_model/content_objects/dataset.py +0 -0
  109. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/entity_model/content_objects/metric.py +0 -0
  110. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/entity_model/content_objects/workspace_setting.py +0 -0
  111. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/entity_model/filter_view.py +0 -0
  112. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/entity_model/graph_objects/__init__.py +0 -0
  113. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/entity_model/graph_objects/graph.py +0 -0
  114. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/entity_model/user_data_filter.py +0 -0
  115. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/entity_model/workspace.py +0 -0
  116. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/model_container.py +0 -0
  117. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/catalog/workspace/service.py +0 -0
  118. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/cli/__init__.py +0 -0
  119. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/cli/clone.py +0 -0
  120. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/cli/constants.py +0 -0
  121. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/cli/deploy.py +0 -0
  122. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/cli/gdc_core.py +0 -0
  123. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/cli/package.json +0 -0
  124. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/cli/utils.py +0 -0
  125. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/compute/__init__.py +0 -0
  126. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/compute/compute_to_sdk_converter.py +0 -0
  127. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/compute/model/__init__.py +0 -0
  128. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/compute/model/attribute.py +0 -0
  129. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/compute/model/base.py +0 -0
  130. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/compute/model/filter.py +0 -0
  131. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/compute/model/metric.py +0 -0
  132. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/config.py +0 -0
  133. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/py.typed +0 -0
  134. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/sdk.py +0 -0
  135. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/support.py +0 -0
  136. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/table.py +0 -0
  137. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/type_converter.py +0 -0
  138. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/utils.py +0 -0
  139. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk/visualization.py +0 -0
  140. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk.egg-info/SOURCES.txt +0 -0
  141. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk.egg-info/dependency_links.txt +0 -0
  142. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/gooddata_sdk.egg-info/top_level.txt +0 -0
  143. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/setup.cfg +0 -0
  144. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/tests/test_client.py +0 -0
  145. {gooddata_sdk-1.40.1.dev4 → gooddata_sdk-1.40.1.dev6}/tests/test_type_converter.py +0 -0
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gooddata-sdk
3
- Version: 1.40.1.dev4
3
+ Version: 1.40.1.dev6
4
4
  Summary: GoodData Cloud Python SDK
5
5
  Author: GoodData
6
6
  Author-email: support@gooddata.com
7
7
  License: MIT
8
- Project-URL: Documentation, https://www.gooddata.com/docs/python-sdk/1.40.1.dev4
8
+ Project-URL: Documentation, https://www.gooddata.com/docs/python-sdk/1.40.1.dev6
9
9
  Project-URL: Source, https://github.com/gooddata/gooddata-python-sdk
10
10
  Keywords: gooddata,sdk,api,analytics,headless,business,intelligence,headless-bi,cloud,native,semantic,layer,sql,metrics
11
11
  Classifier: Development Status :: 5 - Production/Stable
@@ -23,7 +23,7 @@ Classifier: Typing :: Typed
23
23
  Requires-Python: >=3.9.0
24
24
  Description-Content-Type: text/markdown
25
25
  License-File: LICENSE.txt
26
- Requires-Dist: gooddata-api-client~=1.40.1.dev4
26
+ Requires-Dist: gooddata-api-client~=1.40.1.dev6
27
27
  Requires-Dist: python-dateutil>=2.5.3
28
28
  Requires-Dist: pyyaml>=6.0
29
29
  Requires-Dist: attrs<=24.2.0,>=21.4.0
@@ -59,7 +59,7 @@ At the moment the SDK provides services to inspect and interact with the Semanti
59
59
  * Compute Service
60
60
  * Table Service
61
61
 
62
- See [DOCUMENTATION](https://www.gooddata.com/docs/python-sdk/1.40.1.dev4) for more details.
62
+ See [DOCUMENTATION](https://www.gooddata.com/docs/python-sdk/1.40.1.dev6) for more details.
63
63
 
64
64
  ## Requirements
65
65
 
@@ -13,7 +13,7 @@ At the moment the SDK provides services to inspect and interact with the Semanti
13
13
  * Compute Service
14
14
  * Table Service
15
15
 
16
- See [DOCUMENTATION](https://www.gooddata.com/docs/python-sdk/1.40.1.dev4) for more details.
16
+ See [DOCUMENTATION](https://www.gooddata.com/docs/python-sdk/1.40.1.dev6) for more details.
17
17
 
18
18
  ## Requirements
19
19
 
@@ -24,6 +24,7 @@ class GoodDataApiClient:
24
24
  token: str,
25
25
  custom_headers: Optional[dict[str, str]] = None,
26
26
  extra_user_agent: Optional[str] = None,
27
+ executions_cancellable: bool = False,
27
28
  ) -> None:
28
29
  """Take url, token for connecting to GoodData.CN.
29
30
 
@@ -32,6 +33,11 @@ class GoodDataApiClient:
32
33
 
33
34
  `extra_user_agent` is optional string to be added to default http User-Agent
34
35
  header. This takes precedence over custom_headers setting.
36
+
37
+ `executions_cancellable` is a flag that sets all executions computed through this client as cancellable.
38
+ In case a request for a result is interrupted, the GD server will try to free resources like killing sql queries
39
+ related to the given execution.
40
+ *This feature does not work yet, it will be rolled out soon.*
35
41
  """
36
42
  self._hostname = host
37
43
  self._token = token
@@ -57,6 +63,7 @@ class GoodDataApiClient:
57
63
  self._layout_api = apis.LayoutApi(self._api_client)
58
64
  self._actions_api = apis.ActionsApi(self._api_client)
59
65
  self._user_management_api = apis.UserManagementApi(self._api_client)
66
+ self._executions_cancellable = executions_cancellable
60
67
 
61
68
  def _do_post_request(
62
69
  self,
@@ -138,3 +145,7 @@ class GoodDataApiClient:
138
145
  @property
139
146
  def user_management_api(self) -> apis.UserManagementApi:
140
147
  return self._user_management_api
148
+
149
+ @property
150
+ def executions_cancellable(self) -> bool:
151
+ return self._executions_cancellable
@@ -60,12 +60,14 @@ class ExecutionDefinition:
60
60
  filters: Optional[list[Filter]],
61
61
  dimensions: list[TableDimension],
62
62
  totals: Optional[list[TotalDefinition]] = None,
63
+ is_cancellable: bool = False,
63
64
  ) -> None:
64
65
  self._attributes = attributes or []
65
66
  self._metrics = metrics or []
66
67
  self._filters = filters or []
67
68
  self._dimensions = [dim for dim in dimensions if dim.item_ids is not None]
68
69
  self._totals = totals
70
+ self._is_cancellable = is_cancellable
69
71
 
70
72
  @property
71
73
  def attributes(self) -> list[Attribute]:
@@ -98,6 +100,10 @@ class ExecutionDefinition:
98
100
  def is_two_dim(self) -> bool:
99
101
  return len(self.dimensions) == 2
100
102
 
103
+ @property
104
+ def is_cancellable(self) -> bool:
105
+ return self._is_cancellable
106
+
101
107
  def _create_value_sort_key(self, sort_key: dict) -> models.SortKey:
102
108
  sort_key_value = sort_key["value"]
103
109
  return models.SortKey(
@@ -296,6 +302,7 @@ class BareExecutionResponse:
296
302
  api_client: GoodDataApiClient,
297
303
  workspace_id: str,
298
304
  execution_response: models.AfmExecutionResponse,
305
+ cancel_token: Optional[str] = None,
299
306
  ):
300
307
  self._api_client = api_client
301
308
  self._actions_api = self._api_client.actions_api
@@ -303,6 +310,7 @@ class BareExecutionResponse:
303
310
 
304
311
  self._exec_response: models.ExecutionResponse = execution_response["execution_response"]
305
312
  self._afm_exec_response = execution_response
313
+ self._cancel_token = cancel_token
306
314
 
307
315
  @property
308
316
  def workspace_id(self) -> str:
@@ -316,6 +324,10 @@ class BareExecutionResponse:
316
324
  def dimensions(self) -> Any:
317
325
  return self._exec_response["dimensions"]
318
326
 
327
+ @property
328
+ def cancel_token(self) -> Optional[str]:
329
+ return self._cancel_token
330
+
319
331
  def read_result(self, limit: Union[int, list[int]], offset: Union[None, int, list[int]] = None) -> ExecutionResult:
320
332
  """
321
333
  Reads from the execution result.
@@ -335,6 +347,7 @@ class BareExecutionResponse:
335
347
  limit=_limit,
336
348
  _check_return_type=False,
337
349
  _return_http_data_only=False,
350
+ **({"x_gdc_cancel_token": self.cancel_token} if self.cancel_token else {}),
338
351
  )
339
352
  custom_headers = self._api_client.custom_headers
340
353
  if "X-GDC-TRACE-ID" in custom_headers and "X-GDC-TRACE-ID" in http_headers:
@@ -351,7 +364,7 @@ class BareExecutionResponse:
351
364
  return self.__repr__()
352
365
 
353
366
  def __repr__(self) -> str:
354
- return f"BareExecutionResponse(workspace_id={self.workspace_id}, result_id={self.result_id})"
367
+ return f"BareExecutionResponse(workspace_id={self.workspace_id}, result_id={self.result_id}, cancel_token={self.cancel_token})"
355
368
 
356
369
 
357
370
  class Execution:
@@ -367,12 +380,11 @@ class Execution:
367
380
  workspace_id: str,
368
381
  exec_def: ExecutionDefinition,
369
382
  response: models.AfmExecutionResponse,
383
+ cancel_token: Optional[str] = None,
370
384
  ):
371
385
  self._exec_def = exec_def
372
386
  self._bare_exec_response = BareExecutionResponse(
373
- api_client=api_client,
374
- workspace_id=workspace_id,
375
- execution_response=response,
387
+ api_client=api_client, workspace_id=workspace_id, execution_response=response, cancel_token=cancel_token
376
388
  )
377
389
 
378
390
  @property
@@ -395,6 +407,10 @@ class Execution:
395
407
  def dimensions(self) -> Any:
396
408
  return self.bare_exec_response._exec_response["dimensions"]
397
409
 
410
+ @property
411
+ def cancel_token(self) -> Optional[str]:
412
+ return self.bare_exec_response.cancel_token
413
+
398
414
  def get_labels_and_formats(self) -> tuple[dict[str, str], dict[str, str]]:
399
415
  """
400
416
  Extracts labels and custom measure formats from the execution response.
@@ -425,7 +441,9 @@ class Execution:
425
441
  return self.__repr__()
426
442
 
427
443
  def __repr__(self) -> str:
428
- return f"Execution(workspace_id={self.workspace_id}, result_id={self.bare_exec_response.result_id})"
444
+ return (
445
+ f"Execution(workspace_id={self.workspace_id}, result_id={self.result_id}, cancel_token={self.cancel_token})"
446
+ )
429
447
 
430
448
 
431
449
  # Originally ExecutionResponse contained also ExecutionDefinition which was not correct, therefore Execution class was
@@ -3,6 +3,7 @@ from __future__ import annotations
3
3
 
4
4
  import logging
5
5
 
6
+ from gooddata_api_client.model.afm_cancel_tokens import AfmCancelTokens
6
7
  from gooddata_api_client.model.chat_history_request import ChatHistoryRequest
7
8
  from gooddata_api_client.model.chat_history_result import ChatHistoryResult
8
9
  from gooddata_api_client.model.chat_request import ChatRequest
@@ -41,6 +42,9 @@ class ComputeService:
41
42
  workspace_id=workspace_id,
42
43
  exec_def=exec_def,
43
44
  response=response,
45
+ cancel_token=response.headers.get("X-GDC-CANCEL-TOKEN")
46
+ if exec_def.is_cancellable or self._api_client.executions_cancellable
47
+ else None,
44
48
  )
45
49
 
46
50
  def retrieve_result_cache_metadata(self, workspace_id: str, result_id: str) -> ResultCacheMetadata:
@@ -107,3 +111,24 @@ class ComputeService:
107
111
  """
108
112
  chat_history_request = ChatHistoryRequest(reset=True)
109
113
  self._actions_api.ai_chat_history(workspace_id, chat_history_request, _check_return_type=False)
114
+
115
+ def cancel_executions(self, executions: list[Execution]) -> None:
116
+ """
117
+ Try to cancel given executions using the cancel api endpoint.
118
+
119
+ *Note that this is currently a noop, we will be enabling this functionality soon.*
120
+
121
+ Args:
122
+ executions: list of executions to send for cancellation
123
+ """
124
+ workspace_to_tokens: dict[str, set[str]] = {}
125
+
126
+ for execution in executions:
127
+ if not workspace_to_tokens[execution.workspace_id]:
128
+ workspace_to_tokens[execution.workspace_id] = set()
129
+
130
+ if execution.cancel_token:
131
+ workspace_to_tokens[execution.workspace_id].add(execution.cancel_token)
132
+
133
+ for workspace_id, token_ids in workspace_to_tokens.items():
134
+ self._actions_api.cancel_executions(workspace_id, AfmCancelTokens(list(token_ids)))
@@ -1,11 +1,11 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gooddata-sdk
3
- Version: 1.40.1.dev4
3
+ Version: 1.40.1.dev6
4
4
  Summary: GoodData Cloud Python SDK
5
5
  Author: GoodData
6
6
  Author-email: support@gooddata.com
7
7
  License: MIT
8
- Project-URL: Documentation, https://www.gooddata.com/docs/python-sdk/1.40.1.dev4
8
+ Project-URL: Documentation, https://www.gooddata.com/docs/python-sdk/1.40.1.dev6
9
9
  Project-URL: Source, https://github.com/gooddata/gooddata-python-sdk
10
10
  Keywords: gooddata,sdk,api,analytics,headless,business,intelligence,headless-bi,cloud,native,semantic,layer,sql,metrics
11
11
  Classifier: Development Status :: 5 - Production/Stable
@@ -23,7 +23,7 @@ Classifier: Typing :: Typed
23
23
  Requires-Python: >=3.9.0
24
24
  Description-Content-Type: text/markdown
25
25
  License-File: LICENSE.txt
26
- Requires-Dist: gooddata-api-client~=1.40.1.dev4
26
+ Requires-Dist: gooddata-api-client~=1.40.1.dev6
27
27
  Requires-Dist: python-dateutil>=2.5.3
28
28
  Requires-Dist: pyyaml>=6.0
29
29
  Requires-Dist: attrs<=24.2.0,>=21.4.0
@@ -59,7 +59,7 @@ At the moment the SDK provides services to inspect and interact with the Semanti
59
59
  * Compute Service
60
60
  * Table Service
61
61
 
62
- See [DOCUMENTATION](https://www.gooddata.com/docs/python-sdk/1.40.1.dev4) for more details.
62
+ See [DOCUMENTATION](https://www.gooddata.com/docs/python-sdk/1.40.1.dev6) for more details.
63
63
 
64
64
  ## Requirements
65
65
 
@@ -1,4 +1,4 @@
1
- gooddata-api-client~=1.40.1.dev4
1
+ gooddata-api-client~=1.40.1.dev6
2
2
  python-dateutil>=2.5.3
3
3
  pyyaml>=6.0
4
4
  attrs<=24.2.0,>=21.4.0
@@ -7,7 +7,7 @@ this_directory = Path(__file__).parent
7
7
  long_description = (this_directory / "README.md").read_text(encoding="utf-8")
8
8
 
9
9
  REQUIRES = [
10
- "gooddata-api-client~=1.40.1.dev4",
10
+ "gooddata-api-client~=1.40.1.dev6",
11
11
  "python-dateutil>=2.5.3",
12
12
  "pyyaml>=6.0",
13
13
  "attrs>=21.4.0,<=24.2.0",
@@ -22,7 +22,7 @@ setup(
22
22
  description="GoodData Cloud Python SDK",
23
23
  long_description=long_description,
24
24
  long_description_content_type="text/markdown",
25
- version="1.40.1.dev4",
25
+ version="1.40.1.dev6",
26
26
  author="GoodData",
27
27
  author_email="support@gooddata.com",
28
28
  license="MIT",
@@ -36,7 +36,7 @@ setup(
36
36
  "bin/gdc",
37
37
  ],
38
38
  project_urls={
39
- "Documentation": "https://www.gooddata.com/docs/python-sdk/1.40.1.dev4",
39
+ "Documentation": "https://www.gooddata.com/docs/python-sdk/1.40.1.dev6",
40
40
  "Source": "https://github.com/gooddata/gooddata-python-sdk",
41
41
  },
42
42
  classifiers=[