nextmv 0.24.0__py3-none-any.whl → 0.25.0__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.
- nextmv/__about__.py +1 -1
- nextmv/cloud/application.py +14 -3
- {nextmv-0.24.0.dist-info → nextmv-0.25.0.dist-info}/METADATA +1 -1
- {nextmv-0.24.0.dist-info → nextmv-0.25.0.dist-info}/RECORD +6 -6
- {nextmv-0.24.0.dist-info → nextmv-0.25.0.dist-info}/WHEEL +0 -0
- {nextmv-0.24.0.dist-info → nextmv-0.25.0.dist-info}/licenses/LICENSE +0 -0
nextmv/__about__.py
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
__version__ = "v0.
|
|
1
|
+
__version__ = "v0.25.0"
|
nextmv/cloud/application.py
CHANGED
|
@@ -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(
|
|
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,4 +1,4 @@
|
|
|
1
|
-
nextmv/__about__.py,sha256=
|
|
1
|
+
nextmv/__about__.py,sha256=T6lSUpF45beuL-c-KeOs9kKTHrB_ym1u_UF73VJuAG0,24
|
|
2
2
|
nextmv/__entrypoint__.py,sha256=5K058PICm5sx4sNMqx56auMh9yWgdIESVLzfvyIXdjs,1158
|
|
3
3
|
nextmv/__init__.py,sha256=QN5e_BFkIdBkR8DiGr9T06N6mXtowT84eRUJj3_Vfrg,1459
|
|
4
4
|
nextmv/base_model.py,sha256=mdaBe-epNK1cFgP4TxbOtn3So4pCi1vMTOrIBkCBp7A,1050
|
|
@@ -11,7 +11,7 @@ nextmv/output.py,sha256=xag6SoNkd3oyKBgQCbvx6jsYLu4pzHPuLEAEtbCDolI,21984
|
|
|
11
11
|
nextmv/cloud/__init__.py,sha256=O34rjrgClnIwXDE63PK4iq5ESuGQ86dJ6FPSrcUnmk0,3680
|
|
12
12
|
nextmv/cloud/acceptance_test.py,sha256=NtqGhj-UYibxGBbU2kfjr-lYcngojb_5VMvK2WZwibI,6620
|
|
13
13
|
nextmv/cloud/account.py,sha256=mZUGzV-uMGBA5BC_FPtsiCMFuz5jxEZ3O1BbELZIm18,1841
|
|
14
|
-
nextmv/cloud/application.py,sha256=
|
|
14
|
+
nextmv/cloud/application.py,sha256=l9cC9HlBX8eAv8IlFzA9mvQzRMmNB72IAG_4WtLAzbU,79801
|
|
15
15
|
nextmv/cloud/batch_experiment.py,sha256=xuItiW0hhaDt78BWSz7bcw8cbI8joCkw5KH2Gj5JRbQ,3734
|
|
16
16
|
nextmv/cloud/client.py,sha256=JUE3vD767_FFICl1vov5Mxmircci03TBL3KmT1BOZY4,9096
|
|
17
17
|
nextmv/cloud/input_set.py,sha256=HTLA2acJridZbBCAVJNom8ldNo2Rfy40YQ8Coyz3bdo,1482
|
|
@@ -24,7 +24,7 @@ nextmv/cloud/scenario.py,sha256=9gbdnQuvmerPUBCcJ-5QbLCwgbsIfBwKXE8c5359S8E,8120
|
|
|
24
24
|
nextmv/cloud/secrets.py,sha256=kqlN4ceww_L4kVTrAU8BZykRzXINO3zhMT_BLYea6tk,1764
|
|
25
25
|
nextmv/cloud/status.py,sha256=C-ax8cLw0jPeh7CPsJkCa0s4ImRyFI4NDJJxI0_1sr4,602
|
|
26
26
|
nextmv/cloud/version.py,sha256=sjVRNRtohHA97j6IuyM33_DSSsXYkZPusYgpb6hlcrc,1244
|
|
27
|
-
nextmv-0.
|
|
28
|
-
nextmv-0.
|
|
29
|
-
nextmv-0.
|
|
30
|
-
nextmv-0.
|
|
27
|
+
nextmv-0.25.0.dist-info/METADATA,sha256=ha-JGTm1OXZqs4mi9fmTA3mqsT4ZdMd4izLoOGG_cck,14557
|
|
28
|
+
nextmv-0.25.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
29
|
+
nextmv-0.25.0.dist-info/licenses/LICENSE,sha256=ZIbK-sSWA-OZprjNbmJAglYRtl5_K4l9UwAV3PGJAPc,11349
|
|
30
|
+
nextmv-0.25.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|