jobflow 0.3.0__py3-none-any.whl → 0.3.1__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.
jobflow/core/job.py CHANGED
@@ -1312,7 +1312,7 @@ class Response(typing.Generic[T]):
1312
1312
  return isinstance(x, Job | Flow)
1313
1313
 
1314
1314
  should_replace = is_job_or_flow(job_returns)
1315
- if isinstance(job_returns, (list, tuple)):
1315
+ if job_returns and isinstance(job_returns, (list, tuple)):
1316
1316
  should_replace = all(is_job_or_flow(resp) for resp in job_returns)
1317
1317
 
1318
1318
  if should_replace:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: jobflow
3
- Version: 0.3.0
3
+ Version: 0.3.1
4
4
  Summary: jobflow is a library for writing computational workflows
5
5
  Author-email: Alex Ganose <a.ganose@imperial.ac.uk>
6
6
  License: modified BSD
@@ -154,7 +154,7 @@ the jobs is determined automatically and can be visualised using the flow graph.
154
154
 
155
155
  ## Installation
156
156
 
157
- `jobflow` is a Python 3.9+ library and can be installed using `pip`.
157
+ `jobflow` is a Python 3.10+ library and can be installed using `pip`.
158
158
 
159
159
  ```bash
160
160
  pip install jobflow
@@ -4,7 +4,7 @@ jobflow/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
4
  jobflow/settings.py,sha256=yinHpix-DPwzcBhQCO8zDXFuv048rmBgpYMPa9wcs8c,6094
5
5
  jobflow/core/__init__.py,sha256=3sx5t1Gysejc4c_fPrhvCjPUg0p_384Zko8ms2c_NnY,98
6
6
  jobflow/core/flow.py,sha256=ernJoGkts5hi3ruReJHDqioB5N2wpl6zjiwCQqhqGYM,34337
7
- jobflow/core/job.py,sha256=9Tqv4u9Fc_3Ou1qBizHLvrgLB_WjVKcyjodlvMAnAMg,50319
7
+ jobflow/core/job.py,sha256=s_5N4utkpoPWJnj5OU1fMpE5IXIbUzRwnFjnbF9Aeec,50335
8
8
  jobflow/core/maker.py,sha256=WhsYw2wDNVIyAEeRUoikOQMzXzHuXfFVwXrJpwGCD1E,11162
9
9
  jobflow/core/reference.py,sha256=ZATBhaB9HDhPujsfscOcHw7nJf7QfKvozvII47_q1UU,18012
10
10
  jobflow/core/schemas.py,sha256=Oi5-PnZpI8S9jSY7Q4f8H7xUybbRZDXlgugeVewVsrA,968
@@ -21,8 +21,8 @@ jobflow/utils/graph.py,sha256=kweAowEzv8ZGjJ9KZvJ-G5ueAqGPWbU0z7Xd4e-q8no,6596
21
21
  jobflow/utils/log.py,sha256=4-_1OUSQ8I4Q6CgQ4pxNBeveBdpXla7nibZNF7Vk3pw,1110
22
22
  jobflow/utils/uid.py,sha256=hNkpJ5AYhKd_sPWE_iGPcn6YD_AyizKX_swWksFr-_M,2537
23
23
  jobflow/utils/uuid.py,sha256=m0fInOs1yklpavf7jId85luDOHjZqfIIUzEtd89Bk_s,440
24
- jobflow-0.3.0.dist-info/licenses/LICENSE,sha256=jUEiENfZNQZh9RE9ixtUWgVkLRD85ScZ6iv1WREf19w,2418
25
- jobflow-0.3.0.dist-info/METADATA,sha256=5lPrcdt01_rFBFjVSCxQpbHvH7N9JQwSOaODeG-Z6Po,10040
26
- jobflow-0.3.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
27
- jobflow-0.3.0.dist-info/top_level.txt,sha256=IanNooU88OupQPDrWnT0rbL3E27P2wEy7Jsfx9_j8zc,8
28
- jobflow-0.3.0.dist-info/RECORD,,
24
+ jobflow-0.3.1.dist-info/licenses/LICENSE,sha256=jUEiENfZNQZh9RE9ixtUWgVkLRD85ScZ6iv1WREf19w,2418
25
+ jobflow-0.3.1.dist-info/METADATA,sha256=T1K52p9RjBXK-ZRRcuFXpxbptqbEUjBX3WVw6z9LBvE,10041
26
+ jobflow-0.3.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
27
+ jobflow-0.3.1.dist-info/top_level.txt,sha256=IanNooU88OupQPDrWnT0rbL3E27P2wEy7Jsfx9_j8zc,8
28
+ jobflow-0.3.1.dist-info/RECORD,,