coiled 1.128.3.dev16__py3-none-any.whl → 1.128.3.dev17__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 coiled might be problematic. Click here for more details.
- coiled/context.py +2 -2
- {coiled-1.128.3.dev16.dist-info → coiled-1.128.3.dev17.dist-info}/METADATA +1 -1
- {coiled-1.128.3.dev16.dist-info → coiled-1.128.3.dev17.dist-info}/RECORD +6 -6
- {coiled-1.128.3.dev16.dist-info → coiled-1.128.3.dev17.dist-info}/WHEEL +0 -0
- {coiled-1.128.3.dev16.dist-info → coiled-1.128.3.dev17.dist-info}/entry_points.txt +0 -0
- {coiled-1.128.3.dev16.dist-info → coiled-1.128.3.dev17.dist-info}/licenses/LICENSE +0 -0
coiled/context.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
|
-
import asyncio
|
|
4
3
|
import functools
|
|
4
|
+
import inspect
|
|
5
5
|
import random
|
|
6
6
|
import string
|
|
7
7
|
from contextlib import contextmanager, nullcontext
|
|
@@ -103,7 +103,7 @@ def get_trace_context(func: Union[SyncFuncType, AsyncFuncType]):
|
|
|
103
103
|
|
|
104
104
|
|
|
105
105
|
def track_context(func: F) -> F:
|
|
106
|
-
if
|
|
106
|
+
if inspect.iscoroutinefunction(func):
|
|
107
107
|
|
|
108
108
|
@functools.wraps(func)
|
|
109
109
|
async def async_wrapper(*args: Any, **kwargs: Any) -> Any:
|
|
@@ -8,7 +8,7 @@ coiled/cluster.py,sha256=wwK9-SefbFBUEHJjYHXlWN3YvPcvR6XD2J-RdPCGhgc,5049
|
|
|
8
8
|
coiled/coiled.yaml,sha256=z70xzNUy0E8b8Yt12tYYmjJDDmp-U63oUD61ccuu5N0,1037
|
|
9
9
|
coiled/compatibility.py,sha256=pZAPgTnqPaPpuZ6ZmCXgm0TJNenZPLBnIq4CaohwMY4,762
|
|
10
10
|
coiled/config.py,sha256=O_dIj_PJ5qIA3MGJZRvqli4ztE3oLZQ-3xnhJlAD-Ts,196
|
|
11
|
-
coiled/context.py,sha256=
|
|
11
|
+
coiled/context.py,sha256=BKJ26u-eNpe1dVDL69Q4ZJAkPzptNKRuQ94ZciT-PAY,4754
|
|
12
12
|
coiled/core.py,sha256=Cu6hKBXRWSztbpF8huAyU_1glnt1gacnO9vExvG-Cwo,110796
|
|
13
13
|
coiled/errors.py,sha256=5aXhNXgidMm0VgPYT3MZMwlHhRE57MeSmqAJFHYaa8Y,305
|
|
14
14
|
coiled/exceptions.py,sha256=jUXgmfO0LitGe8ztSmAlzb9eQV3X5c0kNO2BwtEDTYg,3099
|
|
@@ -97,8 +97,8 @@ coiled/v2/widgets/__init__.py,sha256=Bt3GHTTyri-kFUaqGRVydDM-sCg5NdNujDg2RyvgV8U
|
|
|
97
97
|
coiled/v2/widgets/interface.py,sha256=YeMQ5qdRbbpM04x9qIg2LE1xwxyRxFbdDYnkrwHazPk,301
|
|
98
98
|
coiled/v2/widgets/rich.py,sha256=3rU5-yso92NdeEh3uSvEE-GwPNyp6i0Nb5PE5czXCik,28974
|
|
99
99
|
coiled/v2/widgets/util.py,sha256=Y8qpGqwNzqfCzgyRFRy7vcscBoXqop-Upi4HLPpXLgg,3120
|
|
100
|
-
coiled-1.128.3.
|
|
101
|
-
coiled-1.128.3.
|
|
102
|
-
coiled-1.128.3.
|
|
103
|
-
coiled-1.128.3.
|
|
104
|
-
coiled-1.128.3.
|
|
100
|
+
coiled-1.128.3.dev17.dist-info/METADATA,sha256=cgCTr-CsPWSOQUr6rkLTzEn2S2aifCoL9N6AE8Brcdo,2182
|
|
101
|
+
coiled-1.128.3.dev17.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
|
102
|
+
coiled-1.128.3.dev17.dist-info/entry_points.txt,sha256=C8dz1ST_bTlTO-kNvuHBJQma9PyJPotg0S4xpPt5aHY,47
|
|
103
|
+
coiled-1.128.3.dev17.dist-info/licenses/LICENSE,sha256=ZPwVR73Biwm3sK6vR54djCrhaRiM4cAD2zvOQZV8Xis,3859
|
|
104
|
+
coiled-1.128.3.dev17.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|