thds.core 1.46.20251016004356__py3-none-any.whl → 1.46.20251016043236__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.
Potentially problematic release.
This version of thds.core might be problematic. Click here for more details.
- thds/core/parallel.py +3 -2
- {thds_core-1.46.20251016004356.dist-info → thds_core-1.46.20251016043236.dist-info}/METADATA +1 -1
- {thds_core-1.46.20251016004356.dist-info → thds_core-1.46.20251016043236.dist-info}/RECORD +6 -6
- {thds_core-1.46.20251016004356.dist-info → thds_core-1.46.20251016043236.dist-info}/WHEEL +0 -0
- {thds_core-1.46.20251016004356.dist-info → thds_core-1.46.20251016043236.dist-info}/entry_points.txt +0 -0
- {thds_core-1.46.20251016004356.dist-info → thds_core-1.46.20251016043236.dist-info}/top_level.txt +0 -0
thds/core/parallel.py
CHANGED
|
@@ -94,7 +94,6 @@ def yield_all(
|
|
|
94
94
|
len_or_none = try_len(thunks)
|
|
95
95
|
|
|
96
96
|
num_tasks_log = "" if not len_or_none else f" of {len_or_none}"
|
|
97
|
-
named = f" {named} " if named else " result "
|
|
98
97
|
|
|
99
98
|
if PARALLEL_OFF() or (len_or_none == 1 and not executor_cm):
|
|
100
99
|
# don't actually transfer this to an executor we only have one task.
|
|
@@ -119,10 +118,12 @@ def yield_all(
|
|
|
119
118
|
try:
|
|
120
119
|
result = future.result()
|
|
121
120
|
yielder: tuple[H, ty.Union[R, Error]] = thunk_key, ty.cast(R, result)
|
|
121
|
+
name = named or result.__class__.__name__
|
|
122
122
|
except Exception as e:
|
|
123
123
|
yielder = thunk_key, Error(e)
|
|
124
|
+
name = named or e.__class__.__name__
|
|
124
125
|
finally:
|
|
125
|
-
progress_logger(fmt(f"Yielding{
|
|
126
|
+
progress_logger(fmt(f"Yielding {name} {i}{num_tasks_log}"))
|
|
126
127
|
yield yielder
|
|
127
128
|
|
|
128
129
|
|
|
@@ -29,7 +29,7 @@ thds/core/link.py,sha256=4-9d22l_oSkKoSzlYEO-rwxO1hvvj6VETY7LwvGcX6M,5534
|
|
|
29
29
|
thds/core/logical_root.py,sha256=gWkIYRv9kNQfzbpxJaYiwNXVz1neZ2NvnvProtOn9d8,1399
|
|
30
30
|
thds/core/merge_args.py,sha256=7oj7dtO1-XVkfTM3aBlq3QlZbo8tb6X7E3EVIR-60t8,5781
|
|
31
31
|
thds/core/meta.py,sha256=Df0DxV5UzHcEsu5UCYaE1BWipMPTEXycn9Ug4cdquMk,12114
|
|
32
|
-
thds/core/parallel.py,sha256=
|
|
32
|
+
thds/core/parallel.py,sha256=FojyyUtJ3jrYcsPiHlotWqUUybP_HtVgAN59_ipYf2g,8597
|
|
33
33
|
thds/core/pickle_visit.py,sha256=QNMWIi5buvk2zsvx1-D-FKL7tkrFUFDs387vxgGebgU,833
|
|
34
34
|
thds/core/prof.py,sha256=5ViolfPsAPwUTHuhAe-bon7IArPGXydpGoB5uZmObDk,8264
|
|
35
35
|
thds/core/progress.py,sha256=tY8tc_6CMnu_O8DVisnsRoDpFJOw5vqyYzLhQDxsLn8,4361
|
|
@@ -74,8 +74,8 @@ thds/core/sqlite/structured.py,sha256=8t1B6XbM5NnudKEeBLsdjRVbSXXSr6iHOW0HwEAqtX
|
|
|
74
74
|
thds/core/sqlite/types.py,sha256=oq8m0UrvSn1IqWWcQ4FPptfAhdj6DllnCe7puVqSHlY,1297
|
|
75
75
|
thds/core/sqlite/upsert.py,sha256=BmKK6fsGVedt43iY-Lp7dnAu8aJ1e9CYlPVEQR2pMj4,5827
|
|
76
76
|
thds/core/sqlite/write.py,sha256=z0219vDkQDCnsV0WLvsj94keItr7H4j7Y_evbcoBrWU,3458
|
|
77
|
-
thds_core-1.46.
|
|
78
|
-
thds_core-1.46.
|
|
79
|
-
thds_core-1.46.
|
|
80
|
-
thds_core-1.46.
|
|
81
|
-
thds_core-1.46.
|
|
77
|
+
thds_core-1.46.20251016043236.dist-info/METADATA,sha256=44cnBoxuOzv6oWZLf4agaHhqEe5i3Ci_3UrDr4eDpPE,2216
|
|
78
|
+
thds_core-1.46.20251016043236.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
79
|
+
thds_core-1.46.20251016043236.dist-info/entry_points.txt,sha256=bOCOVhKZv7azF3FvaWX6uxE6yrjK6FcjqhtxXvLiFY8,161
|
|
80
|
+
thds_core-1.46.20251016043236.dist-info/top_level.txt,sha256=LTZaE5SkWJwv9bwOlMbIhiS-JWQEEIcjVYnJrt-CriY,5
|
|
81
|
+
thds_core-1.46.20251016043236.dist-info/RECORD,,
|
|
File without changes
|
{thds_core-1.46.20251016004356.dist-info → thds_core-1.46.20251016043236.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{thds_core-1.46.20251016004356.dist-info → thds_core-1.46.20251016043236.dist-info}/top_level.txt
RENAMED
|
File without changes
|