nextmv 0.24.0__tar.gz → 0.25.0__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 (60) hide show
  1. {nextmv-0.24.0 → nextmv-0.25.0}/PKG-INFO +1 -1
  2. nextmv-0.25.0/nextmv/__about__.py +1 -0
  3. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/application.py +14 -3
  4. nextmv-0.24.0/nextmv/__about__.py +0 -1
  5. {nextmv-0.24.0 → nextmv-0.25.0}/.gitignore +0 -0
  6. {nextmv-0.24.0 → nextmv-0.25.0}/LICENSE +0 -0
  7. {nextmv-0.24.0 → nextmv-0.25.0}/README.md +0 -0
  8. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/__entrypoint__.py +0 -0
  9. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/__init__.py +0 -0
  10. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/base_model.py +0 -0
  11. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/__init__.py +0 -0
  12. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/acceptance_test.py +0 -0
  13. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/account.py +0 -0
  14. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/batch_experiment.py +0 -0
  15. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/client.py +0 -0
  16. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/input_set.py +0 -0
  17. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/instance.py +0 -0
  18. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/manifest.py +0 -0
  19. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/package.py +0 -0
  20. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/run.py +0 -0
  21. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/safe.py +0 -0
  22. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/scenario.py +0 -0
  23. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/secrets.py +0 -0
  24. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/status.py +0 -0
  25. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/cloud/version.py +0 -0
  26. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/deprecated.py +0 -0
  27. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/input.py +0 -0
  28. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/logger.py +0 -0
  29. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/model.py +0 -0
  30. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/options.py +0 -0
  31. {nextmv-0.24.0 → nextmv-0.25.0}/nextmv/output.py +0 -0
  32. {nextmv-0.24.0 → nextmv-0.25.0}/pyproject.toml +0 -0
  33. {nextmv-0.24.0 → nextmv-0.25.0}/requirements.txt +0 -0
  34. {nextmv-0.24.0 → nextmv-0.25.0}/tests/__init__.py +0 -0
  35. {nextmv-0.24.0 → nextmv-0.25.0}/tests/cloud/__init__.py +0 -0
  36. {nextmv-0.24.0 → nextmv-0.25.0}/tests/cloud/app.yaml +0 -0
  37. {nextmv-0.24.0 → nextmv-0.25.0}/tests/cloud/test_application.py +0 -0
  38. {nextmv-0.24.0 → nextmv-0.25.0}/tests/cloud/test_client.py +0 -0
  39. {nextmv-0.24.0 → nextmv-0.25.0}/tests/cloud/test_manifest.py +0 -0
  40. {nextmv-0.24.0 → nextmv-0.25.0}/tests/cloud/test_package.py +0 -0
  41. {nextmv-0.24.0 → nextmv-0.25.0}/tests/cloud/test_safe_name_id.py +0 -0
  42. {nextmv-0.24.0 → nextmv-0.25.0}/tests/cloud/test_scenario.py +0 -0
  43. {nextmv-0.24.0 → nextmv-0.25.0}/tests/scripts/__init__.py +0 -0
  44. {nextmv-0.24.0 → nextmv-0.25.0}/tests/scripts/options1.py +0 -0
  45. {nextmv-0.24.0 → nextmv-0.25.0}/tests/scripts/options2.py +0 -0
  46. {nextmv-0.24.0 → nextmv-0.25.0}/tests/scripts/options3.py +0 -0
  47. {nextmv-0.24.0 → nextmv-0.25.0}/tests/scripts/options4.py +0 -0
  48. {nextmv-0.24.0 → nextmv-0.25.0}/tests/scripts/options5.py +0 -0
  49. {nextmv-0.24.0 → nextmv-0.25.0}/tests/scripts/options6.py +0 -0
  50. {nextmv-0.24.0 → nextmv-0.25.0}/tests/scripts/options7.py +0 -0
  51. {nextmv-0.24.0 → nextmv-0.25.0}/tests/scripts/options_deprecated.py +0 -0
  52. {nextmv-0.24.0 → nextmv-0.25.0}/tests/test_base_model.py +0 -0
  53. {nextmv-0.24.0 → nextmv-0.25.0}/tests/test_entrypoint/__init__.py +0 -0
  54. {nextmv-0.24.0 → nextmv-0.25.0}/tests/test_entrypoint/test_entrypoint.py +0 -0
  55. {nextmv-0.24.0 → nextmv-0.25.0}/tests/test_input.py +0 -0
  56. {nextmv-0.24.0 → nextmv-0.25.0}/tests/test_logger.py +0 -0
  57. {nextmv-0.24.0 → nextmv-0.25.0}/tests/test_model.py +0 -0
  58. {nextmv-0.24.0 → nextmv-0.25.0}/tests/test_options.py +0 -0
  59. {nextmv-0.24.0 → nextmv-0.25.0}/tests/test_output.py +0 -0
  60. {nextmv-0.24.0 → nextmv-0.25.0}/tests/test_version.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nextmv
3
- Version: 0.24.0
3
+ Version: 0.25.0
4
4
  Summary: The all-purpose Python SDK for Nextmv
5
5
  Project-URL: Homepage, https://www.nextmv.io
6
6
  Project-URL: Documentation, https://www.nextmv.io/docs/python-sdks/nextmv/installation
@@ -0,0 +1 @@
1
+ __version__ = "v0.25.0"
@@ -1799,7 +1799,7 @@ class Application:
1799
1799
 
1800
1800
  return self.batch_experiment(batch_id=scenario_test_id)
1801
1801
 
1802
- def track_run(self, tracked_run: TrackedRun) -> str:
1802
+ def track_run(self, tracked_run: TrackedRun, instance_id: Optional[str] = None) -> str:
1803
1803
  """
1804
1804
  Track an external run.
1805
1805
 
@@ -1812,6 +1812,9 @@ class Application:
1812
1812
  ----------
1813
1813
  tracked_run : TrackedRun
1814
1814
  The run to track.
1815
+ instance_id: Optional[str]
1816
+ Optional instance ID if you want to associate your tracked run with
1817
+ an instance.
1815
1818
 
1816
1819
  Returns
1817
1820
  -------
@@ -1855,12 +1858,17 @@ class Application:
1855
1858
  if tracked_run.error is not None and tracked_run.error != "":
1856
1859
  external_result.error_message = tracked_run.error
1857
1860
 
1858
- return self.new_run(upload_id=url_input.upload_id, external_result=external_result)
1861
+ return self.new_run(
1862
+ upload_id=url_input.upload_id,
1863
+ external_result=external_result,
1864
+ instance_id=instance_id,
1865
+ )
1859
1866
 
1860
1867
  def track_run_with_result(
1861
1868
  self,
1862
1869
  tracked_run: TrackedRun,
1863
1870
  polling_options: PollingOptions = _DEFAULT_POLLING_OPTIONS,
1871
+ instance_id: Optional[str] = None,
1864
1872
  ) -> RunResult:
1865
1873
  """
1866
1874
  Track an external run and poll for the result. This is a convenience
@@ -1874,6 +1882,9 @@ class Application:
1874
1882
  The run to track.
1875
1883
  polling_options : PollingOptions
1876
1884
  Options to use when polling for the run result.
1885
+ instance_id: Optional[str]
1886
+ Optional instance ID if you want to associate your tracked run with
1887
+ an instance.
1877
1888
 
1878
1889
  Returns
1879
1890
  -------
@@ -1893,7 +1904,7 @@ class Application:
1893
1904
  If the run does not succeed after the polling strategy is
1894
1905
  exhausted based on number of tries.
1895
1906
  """
1896
- run_id = self.track_run(tracked_run=tracked_run)
1907
+ run_id = self.track_run(tracked_run=tracked_run, instance_id=instance_id)
1897
1908
 
1898
1909
  return self.run_result_with_polling(
1899
1910
  run_id=run_id,
@@ -1 +0,0 @@
1
- __version__ = "v0.24.0"
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
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
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes