vortexasdk 0.72.2__tar.gz → 0.72.4__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 (199) hide show
  1. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/PKG-INFO +1 -1
  2. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/timeseries_result.py +31 -20
  3. vortexasdk-0.72.4/vortexasdk/version.py +1 -0
  4. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk.egg-info/PKG-INFO +1 -1
  5. vortexasdk-0.72.2/vortexasdk/version.py +0 -1
  6. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/CHANGELOG.md +0 -0
  7. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/CODE_OF_CONDUCT.md +0 -0
  8. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/CONTRIBUTING.md +0 -0
  9. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/LICENSE +0 -0
  10. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/MANIFEST.in +0 -0
  11. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/README.md +0 -0
  12. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/docs/__init__.py +0 -0
  13. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/docs/autogen.py +0 -0
  14. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/docs/utils.py +0 -0
  15. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/pyproject.toml +0 -0
  16. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/scripts/__init__.py +0 -0
  17. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/scripts/validate_proposed_package_version.py +0 -0
  18. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/setup.cfg +0 -0
  19. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/setup.py +0 -0
  20. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/__init__.py +0 -0
  21. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/__init__.py +0 -0
  22. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/asset_tanks.json +0 -0
  23. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/attributes.json +0 -0
  24. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/canal_transit_entity.json +0 -0
  25. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/cargo_event_entity1.json +0 -0
  26. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/cargo_movements.json +0 -0
  27. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/cargo_time_series.json +0 -0
  28. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/corporate_entity1.json +0 -0
  29. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/corporate_entity2.json +0 -0
  30. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/corporations.json +0 -0
  31. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/geography_entity1.json +0 -0
  32. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/geography_reference.json +0 -0
  33. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/product_entity1.json +0 -0
  34. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/products.json +0 -0
  35. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/storage_terminals.json +0 -0
  36. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/vessel_entity1.json +0 -0
  37. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/vessels.json +0 -0
  38. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/examples/vessels_reference.json +0 -0
  39. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/test_canal_transit_entity.py +0 -0
  40. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/test_cargo_event_entity.py +0 -0
  41. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/test_cargo_movement.py +0 -0
  42. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/test_corporate_entity.py +0 -0
  43. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/test_geography_entity.py +0 -0
  44. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/test_missing_keys.py +0 -0
  45. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/test_product_entity.py +0 -0
  46. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/api/test_vessel_entity.py +0 -0
  47. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/config.py +0 -0
  48. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/__init__.py +0 -0
  49. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_asset_tanks.py +0 -0
  50. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_attributes.py +0 -0
  51. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_attributes_real.py +0 -0
  52. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_availability.py +0 -0
  53. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_availability_breakdown.py +0 -0
  54. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_availability_timeseries.py +0 -0
  55. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_canal_transit_real.py +0 -0
  56. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_canal_transit_timeseries_real.py +0 -0
  57. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_cargo_movements_real.py +0 -0
  58. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_cargo_time_series.py +0 -0
  59. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_cargo_time_series_real.py +0 -0
  60. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_corporations_real.py +0 -0
  61. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_corporations_search_result.py +0 -0
  62. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_destination_breakdown.py +0 -0
  63. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_eia_forecasts_real.py +0 -0
  64. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_fixtures.py +0 -0
  65. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_freight_pricing_search.py +0 -0
  66. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_freight_pricing_timeseries.py +0 -0
  67. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_geographies_real.py +0 -0
  68. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_movement_status_breakdown.py +0 -0
  69. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_onshore_inventories_search.py +0 -0
  70. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_onshore_inventories_timeseries.py +0 -0
  71. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_origin_breakdown.py +0 -0
  72. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_parent_product_breakdown.py +0 -0
  73. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_product_breakdown.py +0 -0
  74. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_products.py +0 -0
  75. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_products_real.py +0 -0
  76. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_reference_endpoints_real.py +0 -0
  77. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_storage_terminals.py +0 -0
  78. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_vessel_class_breakdown.py +0 -0
  79. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_vessels.py +0 -0
  80. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_vessels_real.py +0 -0
  81. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_vessels_search_result.py +0 -0
  82. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_voyage_events.py +0 -0
  83. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_voyages_congestion_breakdown.py +0 -0
  84. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_voyages_search_enriched.py +0 -0
  85. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_voyages_timeseries.py +0 -0
  86. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/endpoints/test_voyages_top_hits.py +0 -0
  87. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/mock_client.py +0 -0
  88. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/test_client.py +0 -0
  89. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/test_id.py +0 -0
  90. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/test_operations.py +0 -0
  91. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/test_to_ISODate.py +0 -0
  92. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/test_to_ISODate_Array.py +0 -0
  93. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/test_utils.py +0 -0
  94. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/test_version_proposals.py +0 -0
  95. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/test_versioning.py +0 -0
  96. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/testcases.py +0 -0
  97. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/tests/timer.py +0 -0
  98. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/__init__.py +0 -0
  99. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/__init__.py +0 -0
  100. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/aggregation_breakdown_item.py +0 -0
  101. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/asset_tank.py +0 -0
  102. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/attribute.py +0 -0
  103. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/breakdown_item.py +0 -0
  104. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/canal_transit.py +0 -0
  105. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/cargo_movement.py +0 -0
  106. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/corporation.py +0 -0
  107. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/eia_forecast.py +0 -0
  108. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/entity_flattening.py +0 -0
  109. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/entity_serializing.py +0 -0
  110. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/fixture.py +0 -0
  111. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/freight_pricing.py +0 -0
  112. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/geography.py +0 -0
  113. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/id.py +0 -0
  114. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/onshore_inventory.py +0 -0
  115. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/product.py +0 -0
  116. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/search_result.py +0 -0
  117. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/shared_types.py +0 -0
  118. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/storage_terminal.py +0 -0
  119. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/timeseries_item.py +0 -0
  120. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/vessel.py +0 -0
  121. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/vessel_availability.py +0 -0
  122. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/vessel_positions.py +0 -0
  123. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/vessel_summary.py +0 -0
  124. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/api/voyages.py +0 -0
  125. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/check_setup.py +0 -0
  126. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/client.py +0 -0
  127. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/config.py +0 -0
  128. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/__init__.py +0 -0
  129. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/aggregation_breakdown_result.py +0 -0
  130. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/asset_tanks.py +0 -0
  131. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/asset_tanks_result.py +0 -0
  132. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/attributes.py +0 -0
  133. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/attributes_result.py +0 -0
  134. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/canal_transit.py +0 -0
  135. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/canal_transit_result.py +0 -0
  136. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/canal_transit_timeseries.py +0 -0
  137. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/cargo_movements.py +0 -0
  138. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/cargo_movements_result.py +0 -0
  139. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/cargo_timeseries.py +0 -0
  140. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/corporations.py +0 -0
  141. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/corporations_result.py +0 -0
  142. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/destination_breakdown.py +0 -0
  143. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/eia_forecasts.py +0 -0
  144. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/eia_forecasts_result.py +0 -0
  145. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/endpoints.py +0 -0
  146. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/fixtures.py +0 -0
  147. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/fixtures_result.py +0 -0
  148. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/freight_pricing_result.py +0 -0
  149. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/freight_pricing_search.py +0 -0
  150. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/freight_pricing_timeseries.py +0 -0
  151. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/geographies.py +0 -0
  152. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/geographies_result.py +0 -0
  153. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/movement_status_breakdown.py +0 -0
  154. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/onshore_inventories_result.py +0 -0
  155. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/onshore_inventories_search.py +0 -0
  156. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/onshore_inventories_timeseries.py +0 -0
  157. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/origin_breakdown.py +0 -0
  158. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/parent_product_breakdown.py +0 -0
  159. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/product_breakdown.py +0 -0
  160. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/products.py +0 -0
  161. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/products_result.py +0 -0
  162. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/reference_breakdown_result.py +0 -0
  163. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/storage_terminals.py +0 -0
  164. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/storage_terminals_result.py +0 -0
  165. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/vessel_availability_breakdown.py +0 -0
  166. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/vessel_availability_result.py +0 -0
  167. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/vessel_availability_search.py +0 -0
  168. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/vessel_availability_timeseries.py +0 -0
  169. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/vessel_class_breakdown.py +0 -0
  170. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/vessel_positions.py +0 -0
  171. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/vessel_positions_result.py +0 -0
  172. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/vessel_summary.py +0 -0
  173. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/vessel_summary_result.py +0 -0
  174. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/vessels.py +0 -0
  175. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/vessels_result.py +0 -0
  176. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_breakdown_result.py +0 -0
  177. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_congestion_breakdown.py +0 -0
  178. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_congestion_breakdown_result.py +0 -0
  179. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_geography_breakdown.py +0 -0
  180. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_product_breakdown.py +0 -0
  181. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_routes_breakdown.py +0 -0
  182. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_search_enriched.py +0 -0
  183. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_search_enriched_result.py +0 -0
  184. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_timeseries.py +0 -0
  185. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_timeseries_v2.py +0 -0
  186. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_top_hits.py +0 -0
  187. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/endpoints/voyages_vessel_class_breakdown.py +0 -0
  188. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/exceptions.py +0 -0
  189. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/logger.py +0 -0
  190. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/operations.py +0 -0
  191. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/result_conversions.py +0 -0
  192. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/retry_session.py +0 -0
  193. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/search_response.py +0 -0
  194. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/utils.py +0 -0
  195. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk/version_utils.py +0 -0
  196. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk.egg-info/SOURCES.txt +0 -0
  197. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk.egg-info/dependency_links.txt +0 -0
  198. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk.egg-info/requires.txt +0 -0
  199. {vortexasdk-0.72.2 → vortexasdk-0.72.4}/vortexasdk.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vortexasdk
3
- Version: 0.72.2
3
+ Version: 0.72.4
4
4
  Summary: Vortexa SDK
5
5
  Home-page: https://github.com/vortechsa/python-sdk
6
6
  Author: Vortexa Developers
@@ -19,13 +19,18 @@ DEFAULT_COLUMNS = ["key", "value", "count"]
19
19
  def sort_breakdown(item: dict, full_header_column: list):
20
20
  if "breakdown" not in item:
21
21
  return item
22
- for b_item in full_header_column:
23
- label = b_item["label"]
24
- if next((x for x in item["breakdown"] if x["label"] == label), None):
25
- continue
26
22
 
23
+ breakdown_labels = [x["label"] for x in item["breakdown"]]
24
+ header_items = {b_item["label"]: b_item for b_item in full_header_column}
25
+ labels_to_append = set(header_items.keys()) - set(breakdown_labels)
26
+ for label in labels_to_append:
27
27
  item["breakdown"].append(
28
- {"label": label, "id": b_item["id"], "value": "", "count": ""}
28
+ {
29
+ "label": label,
30
+ "id": header_items[label]["id"],
31
+ "value": "",
32
+ "count": "",
33
+ }
29
34
  )
30
35
 
31
36
  item["breakdown"].sort(
@@ -64,27 +69,33 @@ class TimeSeriesResult(Result):
64
69
  Notes:
65
70
  - The 'breakdown' column in the DataFrame provides aggregated data and can contain multiple entries. To access additional breakdown information, modify the column names in the 'columns' parameter (e.g., 'breakdown.1.label', 'breakdown.2.label').
66
71
  """
72
+ items = super().to_list()
73
+ full_header_column: list = []
74
+ # there is a world where we can just get items[-1], as it seems reasonable to thing the most recent one would have the most regions
75
+ for item in items:
76
+ if "breakdown" not in item:
77
+ continue
78
+ if len(item["breakdown"]) > len(full_header_column):
79
+ full_header_column = item["breakdown"][:]
80
+ sorted_list = map(
81
+ lambda item: sort_breakdown(item, full_header_column), items
82
+ )
83
+
67
84
  flatten = functools.partial(convert_to_flat_dict, columns=columns)
68
- with Pool(os.cpu_count()) as pool:
69
- items = super().to_list()
70
-
71
- full_header_column: list = []
72
- # there is a world where we can just get items[-1], as it seems reasonable to thing the most recent one would have the most regions
73
- for item in items:
74
- if "breakdown" not in item:
75
- continue
76
- if len(item["breakdown"]) > len(full_header_column):
77
- full_header_column = item["breakdown"][:]
78
- sorted_list = map(
79
- lambda item: sort_breakdown(item, full_header_column), items
80
- )
81
- records = pool.map(flatten, sorted_list)
85
+ cpu_count = os.cpu_count()
86
+ if cpu_count is None or cpu_count > 1:
87
+ with Pool(os.cpu_count()) as pool:
88
+ records = pool.map(flatten, sorted_list)
89
+ else:
90
+ records = [flatten(v) for v in sorted_list]
82
91
 
83
92
  df = create_dataframe(
84
93
  columns=columns,
85
94
  data=records,
86
95
  logger_description="TimeSeries",
87
96
  )
88
- df["key"] = pd.to_datetime(df["key"])
97
+
98
+ if "key" in df.columns:
99
+ df["key"] = pd.to_datetime(df["key"])
89
100
 
90
101
  return df
@@ -0,0 +1 @@
1
+ __version__ = "0.72.4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vortexasdk
3
- Version: 0.72.2
3
+ Version: 0.72.4
4
4
  Summary: Vortexa SDK
5
5
  Home-page: https://github.com/vortechsa/python-sdk
6
6
  Author: Vortexa Developers
@@ -1 +0,0 @@
1
- __version__ = "0.72.2"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes