nextpipe 0.6.2.dev0__py3-none-any.whl → 0.6.2.dev1__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.
nextpipe/__about__.py CHANGED
@@ -1 +1 @@
1
- __version__ = "v0.6.2-dev.0"
1
+ __version__ = "v0.6.2-dev.1"
nextpipe/flow.py CHANGED
@@ -1009,7 +1009,32 @@ class Runner:
1009
1009
  for filename in os.listdir(app_step.bypass_result):
1010
1010
  shutil.copy(os.path.join(app_step.bypass_result, filename), temp_dir)
1011
1011
  else:
1012
- result = app_step.bypass_result
1012
+ # We wrap the bypass result in a dummy RunResult to ensure consistent behavior.
1013
+ result = nextmv.RunResult(
1014
+ id="bypassed_run",
1015
+ name="bypassed_run",
1016
+ description="This run was bypassed using a user-supplied result.",
1017
+ user_email="unavailable",
1018
+ metadata=nextmv.Metadata(
1019
+ application_id="unavailable",
1020
+ application_instance_id="unavailable",
1021
+ application_version_id="unavailable",
1022
+ created_at="unavailable",
1023
+ duration="unavailable",
1024
+ error="unavailable",
1025
+ input_size=0.0,
1026
+ output_size=0.0,
1027
+ format=nextmv.Format(
1028
+ format_input=nextmv.FormatInput(
1029
+ input_type=nextmv.InputFormat.MULTI_FILE
1030
+ if is_dir_mode
1031
+ else nextmv.InputFormat.JSON,
1032
+ ),
1033
+ ),
1034
+ status_v2=nextmv.StatusV2.succeeded,
1035
+ ),
1036
+ output=app_step.bypass_result,
1037
+ )
1013
1038
  finally: # Make sure we clean up temp dir on failure too
1014
1039
  # If the temp dir is empty, remove it
1015
1040
  dir_result = False
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: nextpipe
3
- Version: 0.6.2.dev0
3
+ Version: 0.6.2.dev1
4
4
  Summary: Framework for Decision Pipeline modeling and execution
5
5
  Project-URL: Homepage, https://www.nextmv.io
6
6
  Project-URL: Documentation, https://nextpipe.docs.nextmv.io/en/latest/
@@ -1,14 +1,14 @@
1
- nextpipe/__about__.py,sha256=bi5y8mslt4NrZtMLt6ABCGOIP47OVFOxqStiERVx_YI,29
1
+ nextpipe/__about__.py,sha256=CGD3tElYa8glEEiSIpPFwQvA47zpDglHVEx0rp1LNNM,29
2
2
  nextpipe/__init__.py,sha256=SzRhi2z33zmvskfgqoRHwaKvRnt8G1_JJR1M7BXlda0,694
3
3
  nextpipe/config.py,sha256=JSShEaK3fnqieGofalQysKxEJUkyrWIRbwhdyH9yYZM,1659
4
4
  nextpipe/decorators.py,sha256=MLTwuTONn30-esVaF7q3hNdOp8AnJ5ksNswQHpFrGlE,25727
5
- nextpipe/flow.py,sha256=DW8ohC-6ZuCnmliXnYD1J9P500SI-0RKluGRM9OGcRU,40005
5
+ nextpipe/flow.py,sha256=p9M2lHUJOlwWew-cEWy8Le6amm-XJunbz8IoSAS9QkQ,41458
6
6
  nextpipe/graph.py,sha256=Oi8HQ4fgvBYxpRK6xBoLtoxftGb-gCOb09BqFwzrwWs,2867
7
7
  nextpipe/schema.py,sha256=wZ61Tlu0k8b36OnCNwu6EHpXiIB_H5g9WSDdJxG6Uc4,3193
8
8
  nextpipe/threads.py,sha256=5s7jF-hgVF_Eqfxgf6hsF6dhXsRSfqTsq5F0JBy4hNw,9039
9
9
  nextpipe/uplink.py,sha256=j4k7Msa1Il7uxrQeXd1yoCMWWd9KmkbQb72EZy4zMSs,11646
10
10
  nextpipe/utils.py,sha256=-ni6Em1QfatgVMh95hYSPVCdTboozB8vRKkakti3gls,8063
11
- nextpipe-0.6.2.dev0.dist-info/METADATA,sha256=bQ3wmIZt8rl58LGWwdyVHqqZGPLvmW2nboOwrlH8Zus,8760
12
- nextpipe-0.6.2.dev0.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
13
- nextpipe-0.6.2.dev0.dist-info/licenses/LICENSE.md,sha256=FpVScuRcgdbeBNVsMzoPyBbKL2eCB1vFor1vfNNFEj4,4106
14
- nextpipe-0.6.2.dev0.dist-info/RECORD,,
11
+ nextpipe-0.6.2.dev1.dist-info/METADATA,sha256=wm6N1tsLyzEAhLFB42hcGwynytiMSmehOANvkzg89xQ,8760
12
+ nextpipe-0.6.2.dev1.dist-info/WHEEL,sha256=QccIxa26bgl1E6uMy58deGWi-0aeIkkangHcxk2kWfw,87
13
+ nextpipe-0.6.2.dev1.dist-info/licenses/LICENSE.md,sha256=FpVScuRcgdbeBNVsMzoPyBbKL2eCB1vFor1vfNNFEj4,4106
14
+ nextpipe-0.6.2.dev1.dist-info/RECORD,,