prefect-client 3.2.15.dev9__py3-none-any.whl → 3.2.16.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.
- prefect/_build_info.py +3 -3
- prefect/_internal/compatibility/deprecated.py +28 -23
- prefect/_internal/pydantic/v2_schema.py +0 -14
- prefect/_internal/schemas/bases.py +6 -3
- prefect/_internal/schemas/validators.py +9 -2
- prefect/blocks/system.py +7 -6
- prefect/client/cloud.py +0 -1
- prefect/client/orchestration/__init__.py +0 -1
- prefect/client/orchestration/_concurrency_limits/client.py +0 -4
- prefect/client/schemas/objects.py +54 -25
- prefect/client/schemas/schedules.py +6 -5
- prefect/concurrency/_asyncio.py +1 -12
- prefect/concurrency/asyncio.py +0 -4
- prefect/concurrency/services.py +1 -3
- prefect/concurrency/sync.py +1 -6
- prefect/context.py +4 -1
- prefect/events/clients.py +3 -3
- prefect/events/filters.py +7 -2
- prefect/events/related.py +5 -3
- prefect/events/schemas/events.py +4 -4
- prefect/events/utilities.py +4 -3
- prefect/exceptions.py +1 -1
- prefect/flow_engine.py +2 -11
- prefect/futures.py +3 -12
- prefect/locking/filesystem.py +3 -2
- prefect/logging/formatters.py +1 -1
- prefect/logging/handlers.py +2 -2
- prefect/main.py +5 -5
- prefect/results.py +2 -1
- prefect/runner/runner.py +5 -3
- prefect/runner/server.py +2 -2
- prefect/runtime/flow_run.py +11 -6
- prefect/server/api/concurrency_limits_v2.py +12 -8
- prefect/server/api/deployments.py +4 -2
- prefect/server/api/ui/flows.py +7 -2
- prefect/server/api/ui/task_runs.py +3 -3
- prefect/states.py +10 -35
- prefect/task_engine.py +16 -9
- prefect/task_worker.py +6 -3
- prefect/tasks.py +5 -0
- prefect/telemetry/bootstrap.py +3 -1
- prefect/telemetry/instrumentation.py +13 -4
- prefect/telemetry/logging.py +3 -1
- prefect/types/_datetime.py +190 -77
- prefect/utilities/collections.py +6 -12
- prefect/utilities/dockerutils.py +14 -5
- prefect/utilities/engine.py +3 -8
- prefect/workers/base.py +15 -10
- prefect/workers/server.py +0 -1
- {prefect_client-3.2.15.dev9.dist-info → prefect_client-3.2.16.dev1.dist-info}/METADATA +6 -3
- {prefect_client-3.2.15.dev9.dist-info → prefect_client-3.2.16.dev1.dist-info}/RECORD +53 -55
- prefect/_internal/pydantic/annotations/__init__.py +0 -0
- prefect/_internal/pydantic/annotations/pendulum.py +0 -78
- {prefect_client-3.2.15.dev9.dist-info → prefect_client-3.2.16.dev1.dist-info}/WHEEL +0 -0
- {prefect_client-3.2.15.dev9.dist-info → prefect_client-3.2.16.dev1.dist-info}/licenses/LICENSE +0 -0
prefect/workers/base.py
CHANGED
@@ -2,6 +2,7 @@ from __future__ import annotations
|
|
2
2
|
|
3
3
|
import abc
|
4
4
|
import asyncio
|
5
|
+
import datetime
|
5
6
|
import threading
|
6
7
|
import warnings
|
7
8
|
from contextlib import AsyncExitStack
|
@@ -15,6 +16,7 @@ from typing import (
|
|
15
16
|
Type,
|
16
17
|
)
|
17
18
|
from uuid import UUID, uuid4
|
19
|
+
from zoneinfo import ZoneInfo
|
18
20
|
|
19
21
|
import anyio
|
20
22
|
import anyio.abc
|
@@ -27,6 +29,7 @@ from pydantic.json_schema import GenerateJsonSchema
|
|
27
29
|
from typing_extensions import Literal, Self, TypeVar
|
28
30
|
|
29
31
|
import prefect
|
32
|
+
import prefect.types._datetime
|
30
33
|
from prefect._internal.compatibility.deprecated import PrefectDeprecationWarning
|
31
34
|
from prefect._internal.schemas.validators import return_v_or_none
|
32
35
|
from prefect.client.base import ServerType
|
@@ -66,7 +69,6 @@ from prefect.states import (
|
|
66
69
|
exception_to_failed_state,
|
67
70
|
)
|
68
71
|
from prefect.types import KeyValueLabels
|
69
|
-
from prefect.types._datetime import DateTime
|
70
72
|
from prefect.utilities.dispatch import get_registry_for_type, register_base_type
|
71
73
|
from prefect.utilities.engine import propose_state
|
72
74
|
from prefect.utilities.services import critical_service_loop
|
@@ -306,9 +308,9 @@ class BaseJobConfiguration(BaseModel):
|
|
306
308
|
"prefect.io/deployment-name": deployment.name,
|
307
309
|
}
|
308
310
|
if deployment.updated is not None:
|
309
|
-
labels["prefect.io/deployment-updated"] = deployment.updated.
|
310
|
-
"
|
311
|
-
).
|
311
|
+
labels["prefect.io/deployment-updated"] = deployment.updated.astimezone(
|
312
|
+
ZoneInfo("UTC")
|
313
|
+
).isoformat()
|
312
314
|
return labels
|
313
315
|
|
314
316
|
@staticmethod
|
@@ -486,7 +488,7 @@ class BaseWorker(abc.ABC, Generic[C, V, R]):
|
|
486
488
|
self._exit_stack: AsyncExitStack = AsyncExitStack()
|
487
489
|
self._runs_task_group: Optional[anyio.abc.TaskGroup] = None
|
488
490
|
self._client: Optional[PrefectClient] = None
|
489
|
-
self._last_polled_time:
|
491
|
+
self._last_polled_time: datetime.datetime = prefect.types._datetime.now("UTC")
|
490
492
|
self._limit = limit
|
491
493
|
self._limiter: Optional[anyio.CapacityLimiter] = None
|
492
494
|
self._submitting_flow_run_ids: set[UUID] = set()
|
@@ -743,8 +745,8 @@ class BaseWorker(abc.ABC, Generic[C, V, R]):
|
|
743
745
|
threshold_seconds = query_interval_seconds * 30
|
744
746
|
|
745
747
|
seconds_since_last_poll = (
|
746
|
-
|
747
|
-
).
|
748
|
+
prefect.types._datetime.now("UTC") - self._last_polled_time
|
749
|
+
).seconds
|
748
750
|
|
749
751
|
is_still_polling = seconds_since_last_poll <= threshold_seconds
|
750
752
|
|
@@ -759,7 +761,7 @@ class BaseWorker(abc.ABC, Generic[C, V, R]):
|
|
759
761
|
async def get_and_submit_flow_runs(self) -> list["FlowRun"]:
|
760
762
|
runs_response = await self._get_scheduled_flow_runs()
|
761
763
|
|
762
|
-
self._last_polled_time =
|
764
|
+
self._last_polled_time = prefect.types._datetime.now("UTC")
|
763
765
|
|
764
766
|
return await self._submit_scheduled_flow_runs(flow_run_response=runs_response)
|
765
767
|
|
@@ -908,7 +910,9 @@ class BaseWorker(abc.ABC, Generic[C, V, R]):
|
|
908
910
|
"""
|
909
911
|
Retrieve scheduled flow runs from the work pool's queues.
|
910
912
|
"""
|
911
|
-
scheduled_before =
|
913
|
+
scheduled_before = prefect.types._datetime.now("UTC") + datetime.timedelta(
|
914
|
+
seconds=int(self._prefetch_seconds)
|
915
|
+
)
|
912
916
|
self._logger.debug(
|
913
917
|
f"Querying for flow runs scheduled before {scheduled_before}"
|
914
918
|
)
|
@@ -1250,12 +1254,13 @@ class BaseWorker(abc.ABC, Generic[C, V, R]):
|
|
1250
1254
|
) -> None:
|
1251
1255
|
state_updates = state_updates or {}
|
1252
1256
|
state_updates.setdefault("name", "Cancelled")
|
1253
|
-
state_updates.setdefault("type", StateType.CANCELLED)
|
1254
1257
|
|
1255
1258
|
if flow_run.state:
|
1259
|
+
state_updates.setdefault("type", StateType.CANCELLED)
|
1256
1260
|
state = flow_run.state.model_copy(update=state_updates)
|
1257
1261
|
else:
|
1258
1262
|
# Unexpectedly when flow run does not have a state, create a new one
|
1263
|
+
# does not need to explicitly set the type
|
1259
1264
|
state = Cancelled(**state_updates)
|
1260
1265
|
|
1261
1266
|
await self.client.set_flow_run_state(flow_run.id, state, force=True)
|
prefect/workers/server.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: prefect-client
|
3
|
-
Version: 3.2.
|
3
|
+
Version: 3.2.16.dev1
|
4
4
|
Summary: Workflow orchestration and management.
|
5
5
|
Project-URL: Changelog, https://github.com/PrefectHQ/prefect/releases
|
6
6
|
Project-URL: Documentation, https://docs.prefect.io
|
@@ -18,8 +18,9 @@ Classifier: Programming Language :: Python :: 3.9
|
|
18
18
|
Classifier: Programming Language :: Python :: 3.10
|
19
19
|
Classifier: Programming Language :: Python :: 3.11
|
20
20
|
Classifier: Programming Language :: Python :: 3.12
|
21
|
+
Classifier: Programming Language :: Python :: 3.13
|
21
22
|
Classifier: Topic :: Software Development :: Libraries
|
22
|
-
Requires-Python:
|
23
|
+
Requires-Python: <3.14,>=3.9
|
23
24
|
Requires-Dist: anyio<5.0.0,>=4.4.0
|
24
25
|
Requires-Dist: asgi-lifespan<3.0,>=1.0
|
25
26
|
Requires-Dist: cachetools<6.0,>=5.3
|
@@ -32,6 +33,7 @@ Requires-Dist: graphviz>=0.20.1
|
|
32
33
|
Requires-Dist: griffe<2.0.0,>=0.49.0
|
33
34
|
Requires-Dist: httpcore<2.0.0,>=1.0.5
|
34
35
|
Requires-Dist: httpx[http2]!=0.23.2,>=0.23
|
36
|
+
Requires-Dist: humanize<5.0.0,>=4.9.0
|
35
37
|
Requires-Dist: importlib-metadata>=4.4; python_version < '3.10'
|
36
38
|
Requires-Dist: jsonpatch<2.0,>=1.32
|
37
39
|
Requires-Dist: jsonschema<5.0.0,>=4.0.0
|
@@ -39,7 +41,7 @@ Requires-Dist: opentelemetry-api<2.0.0,>=1.27.0
|
|
39
41
|
Requires-Dist: orjson<4.0,>=3.7
|
40
42
|
Requires-Dist: packaging<24.3,>=21.3
|
41
43
|
Requires-Dist: pathspec>=0.8.0
|
42
|
-
Requires-Dist: pendulum<4,>=3.0.0
|
44
|
+
Requires-Dist: pendulum<4,>=3.0.0; python_version < '3.13'
|
43
45
|
Requires-Dist: prometheus-client>=0.20.0
|
44
46
|
Requires-Dist: pydantic!=2.10.0,<3.0.0,>=2.9
|
45
47
|
Requires-Dist: pydantic-core<3.0.0,>=2.12.0
|
@@ -59,6 +61,7 @@ Requires-Dist: typing-extensions<5.0.0,>=4.10.0
|
|
59
61
|
Requires-Dist: ujson<6.0.0,>=5.8.0
|
60
62
|
Requires-Dist: uvicorn!=0.29.0,>=0.14.0
|
61
63
|
Requires-Dist: websockets<16.0,>=13.0
|
64
|
+
Requires-Dist: whenever<0.8.0,>=0.7.3; python_version >= '3.13'
|
62
65
|
Provides-Extra: notifications
|
63
66
|
Requires-Dist: apprise<2.0.0,>=1.1.0; extra == 'notifications'
|
64
67
|
Description-Content-Type: text/markdown
|
@@ -1,33 +1,33 @@
|
|
1
1
|
prefect/.prefectignore,sha256=awSprvKT0vI8a64mEOLrMxhxqcO-b0ERQeYpA2rNKVQ,390
|
2
2
|
prefect/__init__.py,sha256=iCdcC5ZmeewikCdnPEP6YBAjPNV5dvfxpYCTpw30Hkw,3685
|
3
3
|
prefect/__main__.py,sha256=WFjw3kaYJY6pOTA7WDOgqjsz8zUEUZHCcj3P5wyVa-g,66
|
4
|
-
prefect/_build_info.py,sha256=
|
4
|
+
prefect/_build_info.py,sha256=6M3vznPP_P4-kcCLNH2KzjT7FhuC5xchFLdyken24f0,186
|
5
5
|
prefect/_result_records.py,sha256=S6QmsODkehGVSzbMm6ig022PYbI6gNKz671p_8kBYx4,7789
|
6
6
|
prefect/_waiters.py,sha256=Ia2ITaXdHzevtyWIgJoOg95lrEXQqNEOquHvw3T33UQ,9026
|
7
7
|
prefect/agent.py,sha256=dPvG1jDGD5HSH7aM2utwtk6RaJ9qg13XjkA0lAIgQmY,287
|
8
8
|
prefect/artifacts.py,sha256=dMBUOAWnUamzjb5HSqwB5-GR2Qb-Gxee26XG5NDCUuw,22720
|
9
9
|
prefect/automations.py,sha256=ZzPxn2tINdlXTQo805V4rIlbXuNWxd7cdb3gTJxZIeY,12567
|
10
10
|
prefect/cache_policies.py,sha256=Kwdei4JjitNfx42OepKpDNxwPtEwRgUUAn_soxsnNzI,12699
|
11
|
-
prefect/context.py,sha256=
|
11
|
+
prefect/context.py,sha256=u1IMAe-X2__pJceNrELI_9aoAam0og9hz47QEyM6mUY,23733
|
12
12
|
prefect/engine.py,sha256=uB5JN4l045i5JTlRQNT1x7MwlSiGQ5Bop2Q6jHHOgxY,3699
|
13
|
-
prefect/exceptions.py,sha256
|
13
|
+
prefect/exceptions.py,sha256=wZLQQMRB_DyiYkeEdIC5OKwbba5A94Dlnics-lrWI7A,11581
|
14
14
|
prefect/filesystems.py,sha256=v5YqGB4uXf9Ew2VuB9VCSkawvYMMVvEtZf7w1VmAmr8,18036
|
15
|
-
prefect/flow_engine.py,sha256=
|
15
|
+
prefect/flow_engine.py,sha256=hZpTYEtwTPMtwVoTCrfD93igN7rlKeG_0kyCvdU4aYE,58876
|
16
16
|
prefect/flow_runs.py,sha256=dbHcXsOq1UsNM7vyJV9gboCTylmdUwQ_-W4NQt4R4ds,17267
|
17
17
|
prefect/flows.py,sha256=wDVMQ67YSgzJR_jwSBjmLQ2zAtIKP7xN_R1UG7an-yk,109495
|
18
|
-
prefect/futures.py,sha256=
|
19
|
-
prefect/main.py,sha256=
|
18
|
+
prefect/futures.py,sha256=ZD5rdgUHA4sfxwHaPToumOUKlyn4d989JHR7eI97-Hs,23271
|
19
|
+
prefect/main.py,sha256=8V-qLB4GjEVCkGRgGXeaIk-JIXY8Z9FozcNluj4Sm9E,2589
|
20
20
|
prefect/plugins.py,sha256=FPRLR2mWVBMuOnlzeiTD9krlHONZH2rtYLD753JQDNQ,2516
|
21
21
|
prefect/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
22
|
-
prefect/results.py,sha256=
|
22
|
+
prefect/results.py,sha256=9mMOOZsj8ueqEch3oqxCaZPhF6D76Sn3P5TkqgVpbg8,36679
|
23
23
|
prefect/schedules.py,sha256=9ufG4jhIA_R7vS9uXqnnZEgB7Ts922KMhNacWcveVgA,7291
|
24
24
|
prefect/serializers.py,sha256=QI0oEal_BO4HQaWSjr6ReSwT55Hn4sbSOXxGgQI1-y0,9249
|
25
|
-
prefect/states.py,sha256=
|
26
|
-
prefect/task_engine.py,sha256=
|
25
|
+
prefect/states.py,sha256=IOfdOJCbgz2G94VCMknX2dheP1bJ6w9rYm62SF2dGQ8,26021
|
26
|
+
prefect/task_engine.py,sha256=IIvDRl2bnnO3aKXTmtWsz0pnV8kL7xjOaUyJTlL6LaM,61491
|
27
27
|
prefect/task_runners.py,sha256=Ce_ngocfq_X-NA5zhPj13IdVmzZ5h6gXlmfxYWs2AXA,15828
|
28
28
|
prefect/task_runs.py,sha256=7LIzfo3fondCyEUpU05sYFN5IfpZigBDXrhG5yc-8t0,9039
|
29
|
-
prefect/task_worker.py,sha256=
|
30
|
-
prefect/tasks.py,sha256=
|
29
|
+
prefect/task_worker.py,sha256=gMj_rl4EjTrnJ5YSOXinC6y-7KSK7fRQt_UYbZbrrV8,17879
|
30
|
+
prefect/tasks.py,sha256=do0oWfp-VPTAVZsd1HstCtUyHbA5t4_ySmhr0mDW-2Q,74946
|
31
31
|
prefect/transactions.py,sha256=BYvxr4ZSFmYDCODPhH8DO1_51inH35oJ75ZZOd_GI_w,16341
|
32
32
|
prefect/variables.py,sha256=dCK3vX7TbkqXZhnNT_v7rcGh3ISRqoR6pJVLpoll3Js,8342
|
33
33
|
prefect/_experimental/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -43,7 +43,7 @@ prefect/_internal/pytz.py,sha256=Sy_cD-Hkmo_Yrhx2Jucy7DgTRhvO8ZD0whW1ywbSg_U,137
|
|
43
43
|
prefect/_internal/retries.py,sha256=pMHofrTQPDSxbVWclDwXbfhFKaDC6sxe1DkUOWugV6k,3040
|
44
44
|
prefect/_internal/compatibility/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
45
45
|
prefect/_internal/compatibility/async_dispatch.py,sha256=cUXOqSeseMUaje9oYUzasVPtNttyiHvrqfJl0zK66XI,2949
|
46
|
-
prefect/_internal/compatibility/deprecated.py,sha256=
|
46
|
+
prefect/_internal/compatibility/deprecated.py,sha256=cvislmRJ28SONsgxDwjgKj17j39P3kHt005loyOIkP0,8921
|
47
47
|
prefect/_internal/compatibility/migration.py,sha256=Z_r28B90ZQkSngXjr4I_9zA6P74_u48mtp2jYWB9zGg,6797
|
48
48
|
prefect/_internal/concurrency/__init__.py,sha256=YlTwU9ryjPNwbJa45adLJY00t_DGCh1QrdtY9WdVFfw,2140
|
49
49
|
prefect/_internal/concurrency/api.py,sha256=9MuQ0icQVTxwxChujn9mnv0WXRqwToysQy9GWC3sJRg,7352
|
@@ -58,15 +58,13 @@ prefect/_internal/concurrency/waiters.py,sha256=mhXpQk8swcUAxBk7f7kGn1fqy44XcFyn
|
|
58
58
|
prefect/_internal/pydantic/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
59
59
|
prefect/_internal/pydantic/schemas.py,sha256=tsRKq5yEIgiRbWMl3BPnbfNaKyDN6pq8WSs0M8SQMm4,452
|
60
60
|
prefect/_internal/pydantic/v1_schema.py,sha256=wSyQr3LUbIh0R9LsZ6ItmLnQeAS8dxVMNpIb-4aPvjM,1175
|
61
|
-
prefect/_internal/pydantic/v2_schema.py,sha256=
|
61
|
+
prefect/_internal/pydantic/v2_schema.py,sha256=lh-dnIoZigHJ6e1K89BVy0zDw3R0vQV9ih3ZC7s7i-Q,3223
|
62
62
|
prefect/_internal/pydantic/v2_validated_func.py,sha256=Ld8OtPFF7Ci-gHHmKhSMizBxzuIBOQ6kuIFNRh0vRVY,3731
|
63
|
-
prefect/_internal/pydantic/annotations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
64
|
-
prefect/_internal/pydantic/annotations/pendulum.py,sha256=KTh6w32-S9MXHywwNod9aA7v-VN7a3AWiSZh4vDRkx0,2683
|
65
63
|
prefect/_internal/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
66
|
-
prefect/_internal/schemas/bases.py,sha256=
|
64
|
+
prefect/_internal/schemas/bases.py,sha256=NtamY7NIpQJP0XtTxTj2oHHu9PjXXYi3d7Lgi2V1iYQ,4245
|
67
65
|
prefect/_internal/schemas/fields.py,sha256=m4LrFNz8rA9uBhMk9VyQT6FIXmV_EVAW92hdXeSvHbY,837
|
68
66
|
prefect/_internal/schemas/serializers.py,sha256=G_RGHfObjisUiRvd29p-zc6W4bwt5rE1OdR6TXNrRhQ,825
|
69
|
-
prefect/_internal/schemas/validators.py,sha256=
|
67
|
+
prefect/_internal/schemas/validators.py,sha256=ty9hpmfiNEWpENgeBGrgs94j192L8SpLJ0bhFHeXV_8,19733
|
70
68
|
prefect/_vendor/croniter/__init__.py,sha256=NUFzdbyPcTQhIOFtzmFM0nbClAvBbKh2mlnTBa6NfHU,523
|
71
69
|
prefect/_vendor/croniter/croniter.py,sha256=eJ2HzStNAYV-vNiLOgDXl4sYWWHOsSA0dgwbkQoguhY,53009
|
72
70
|
prefect/blocks/__init__.py,sha256=D0hB72qMfgqnBB2EMZRxUxlX9yLfkab5zDChOwJZmkY,220
|
@@ -75,16 +73,16 @@ prefect/blocks/core.py,sha256=CgxU59KUWiHLWUdTxOSDOfHkfFAyjLXc7eibmFc_xCo,62186
|
|
75
73
|
prefect/blocks/fields.py,sha256=1m507VVmkpOnMF_7N-qboRjtw4_ceIuDneX3jZ3Jm54,63
|
76
74
|
prefect/blocks/notifications.py,sha256=UpNNxc4Bwx0nSlDj-vZQOv2XyUCUB2PaO4uBPO1Y6XM,34162
|
77
75
|
prefect/blocks/redis.py,sha256=lt_f1SIcS5OVvthCY6KRWiy5DyUZNRlHqkKhKF25P8c,5770
|
78
|
-
prefect/blocks/system.py,sha256=
|
76
|
+
prefect/blocks/system.py,sha256=4KiUIy5zizMqfGJrxvi9GLRLcMj4BjAXARxCUEmgbKI,5041
|
79
77
|
prefect/blocks/webhook.py,sha256=hRpMGamOpS2HSM0iPU2ylVGnDWtWUPo6sIU3O24lIa0,2558
|
80
78
|
prefect/client/__init__.py,sha256=bDeOC_I8_la5dwCAfxKzYSTSAr2tlq5HpxJgVoCCdAs,675
|
81
79
|
prefect/client/base.py,sha256=HWfabmDRu2YX6G6X4XXAwvjQtaYdSjo3-OovzAM0mis,25539
|
82
|
-
prefect/client/cloud.py,sha256=
|
80
|
+
prefect/client/cloud.py,sha256=jnFgg0osMVDGbLjdWkDX3rQg_0pI_zvfSlU480XCWGQ,6523
|
83
81
|
prefect/client/collections.py,sha256=t9XkVU_onQMZ871L21F1oZnAiPSQeeVfd_MuDEBS3iM,1050
|
84
82
|
prefect/client/constants.py,sha256=Z_GG8KF70vbbXxpJuqW5pLnwzujTVeHbcYYRikNmGH0,29
|
85
83
|
prefect/client/subscriptions.py,sha256=b2gjoWjrTjshnv_s6zlPN3t0JIe2EKAdMqEzj3-kc6w,3879
|
86
84
|
prefect/client/utilities.py,sha256=UEJD6nwYg2mD8-GSmru-E2ofXaBlmSFZ2-8T_5rIK6c,3472
|
87
|
-
prefect/client/orchestration/__init__.py,sha256=
|
85
|
+
prefect/client/orchestration/__init__.py,sha256=_TYB6Dm_rrBJbOXAkxI4uby63Z6rW-YrQOXDVrfLfMs,60675
|
88
86
|
prefect/client/orchestration/base.py,sha256=HM6ryHBZSzuHoCFQM9u5qR5k1dN9Bbr_ah6z1UPNbZQ,1542
|
89
87
|
prefect/client/orchestration/routes.py,sha256=JFG1OWUBfrxPKW8Q7XWItlhOrSZ67IOySSoFZ6mxzm0,4364
|
90
88
|
prefect/client/orchestration/_artifacts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -98,7 +96,7 @@ prefect/client/orchestration/_blocks_schemas/client.py,sha256=-UP2ILgZB2Ib0XykAi
|
|
98
96
|
prefect/client/orchestration/_blocks_types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
99
97
|
prefect/client/orchestration/_blocks_types/client.py,sha256=alA4xD-yp3mycAbzMyRuLcYcgIv2mugpUoKnVzxiFKc,12599
|
100
98
|
prefect/client/orchestration/_concurrency_limits/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
101
|
-
prefect/client/orchestration/_concurrency_limits/client.py,sha256=
|
99
|
+
prefect/client/orchestration/_concurrency_limits/client.py,sha256=r_oyY7hQbgyG1rntwe7WWcsraQHBKhk6MOPFUAHWiVc,23678
|
102
100
|
prefect/client/orchestration/_deployments/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
103
101
|
prefect/client/orchestration/_deployments/client.py,sha256=DfL6eiMaPkYBwCmkMcjKnyVIvE1qC8Xo14h2YqJhFsI,40769
|
104
102
|
prefect/client/orchestration/_flow_runs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -114,19 +112,19 @@ prefect/client/orchestration/_work_pools/client.py,sha256=s1DfUQQBgB2sLiVVPhLNTl
|
|
114
112
|
prefect/client/schemas/__init__.py,sha256=InZcDzdeWA2oaV0TlyvoMcyLcbi_aaqU1U9D6Gx-eoU,2747
|
115
113
|
prefect/client/schemas/actions.py,sha256=I8LGTyDBrV4eXI_VSq8nQz5jUuOUAn1A0Q5JsPgCa2A,33032
|
116
114
|
prefect/client/schemas/filters.py,sha256=zaiDkalrIpKjd38V4aP1GHlqD24KTPCZiKtPyX69ZWE,36607
|
117
|
-
prefect/client/schemas/objects.py,sha256=
|
115
|
+
prefect/client/schemas/objects.py,sha256=H5VEfe3VZejD1KC4Gcb9KxTQ-YULiRIWJRtZoJ-2kH8,58508
|
118
116
|
prefect/client/schemas/responses.py,sha256=iTXTiUhdRL7PxNyJXMZ4ngT7C8SepT_z7g_pnUnVlzo,15629
|
119
|
-
prefect/client/schemas/schedules.py,sha256=
|
117
|
+
prefect/client/schemas/schedules.py,sha256=sxLFk0SmFY7X1Y9R9HyGDqOS3U5NINBWTciUU7vTTic,14836
|
120
118
|
prefect/client/schemas/sorting.py,sha256=L-2Mx-igZPtsUoRUguTcG3nIEstMEMPD97NwPM2Ox5s,2579
|
121
119
|
prefect/client/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
122
120
|
prefect/client/types/flexible_schedule_list.py,sha256=eNom7QiRxMnyTD1q30bR7kQh3-2sLhxIKe5ST9o6GI4,425
|
123
121
|
prefect/concurrency/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
124
|
-
prefect/concurrency/_asyncio.py,sha256=
|
122
|
+
prefect/concurrency/_asyncio.py,sha256=uHjC3vQAiznRz_ueZE1RQ4x28zTcPJPoO2MMi0J41vU,2575
|
125
123
|
prefect/concurrency/_events.py,sha256=KWHDldCWE3b5AH9eZ7kfmajvp36lRFCjCXIEx77jtKk,1825
|
126
|
-
prefect/concurrency/asyncio.py,sha256=
|
124
|
+
prefect/concurrency/asyncio.py,sha256=SUnRfqwBdBGwQll7SvywugVQnVbEzePqPFcUfIcTNMs,4505
|
127
125
|
prefect/concurrency/context.py,sha256=8ZXs3G7NOF5Q2NqydK-K3zfjmYNnmfer-25hH6r6MgA,1009
|
128
|
-
prefect/concurrency/services.py,sha256=
|
129
|
-
prefect/concurrency/sync.py,sha256
|
126
|
+
prefect/concurrency/services.py,sha256=U_1Y8Mm-Fd4Nvn0gxiWc_UdacdqT-vKjzex-oJpUt50,2288
|
127
|
+
prefect/concurrency/sync.py,sha256=MMRJvxK-Yzyt0WEEu95C2RaMwfLdYgYH6vejCqfSUmw,4687
|
130
128
|
prefect/concurrency/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
131
129
|
prefect/concurrency/v1/_asyncio.py,sha256=UTFjkOPevvbazzpf-O6sSixwM0gs_GzK5zwH4EG4FJ8,2152
|
132
130
|
prefect/concurrency/v1/_events.py,sha256=eoNmtlt__EqhgImWyxfq_MxwTRqNznJU9-3sKwThc98,1863
|
@@ -148,17 +146,17 @@ prefect/docker/__init__.py,sha256=z6wdc6UFfiBG2jb9Jk64uCWVM04JKVWeVyDWwuuon8M,52
|
|
148
146
|
prefect/docker/docker_image.py,sha256=bR_pEq5-FDxlwTj8CP_7nwZ_MiGK6KxIi8v7DRjy1Kg,3138
|
149
147
|
prefect/events/__init__.py,sha256=GtKl2bE--pJduTxelH2xy7SadlLJmmis8WR1EYixhuA,2094
|
150
148
|
prefect/events/actions.py,sha256=A7jS8bo4zWGnrt3QfSoQs0uYC1xfKXio3IfU0XtTb5s,9129
|
151
|
-
prefect/events/clients.py,sha256=
|
152
|
-
prefect/events/filters.py,sha256=
|
153
|
-
prefect/events/related.py,sha256=
|
154
|
-
prefect/events/utilities.py,sha256=
|
149
|
+
prefect/events/clients.py,sha256=XA33NpeRdgVglt7J47uFdpASa1bCvcKWyxsxQt3vEPQ,27290
|
150
|
+
prefect/events/filters.py,sha256=cZ9KnQyWpIHshpAJ95nF5JosCag48enI5cBfKd2JNXA,8227
|
151
|
+
prefect/events/related.py,sha256=nthW3toCPacIL1xkWeV_BG30X6hF4vF2rJHAgqtDXXU,6580
|
152
|
+
prefect/events/utilities.py,sha256=A1k8Lq5ZZ0y7U_VpVLw-BJUTOga-Ugei8oNu8i20YGY,2668
|
155
153
|
prefect/events/worker.py,sha256=HjbibR0_J1W1nnNMZDFTXAbB0cl_cFGaFI87DvNGcnI,4557
|
156
154
|
prefect/events/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
157
155
|
prefect/events/cli/automations.py,sha256=uCX3NnypoI25TmyAoyL6qYhanWjZbJ2watwv1nfQMxs,11513
|
158
156
|
prefect/events/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
159
157
|
prefect/events/schemas/automations.py,sha256=5uYx18sVf8Mqx-KtfcSGli8x4GkNPUHC8LZZfsDzeBo,14568
|
160
158
|
prefect/events/schemas/deployment_triggers.py,sha256=OX9g9eHe0nqJ3PtVEzqs9Ub2LaOHMA4afLZSvSukKGU,3191
|
161
|
-
prefect/events/schemas/events.py,sha256=
|
159
|
+
prefect/events/schemas/events.py,sha256=jqZPBXPEnJUCXbk9OM0geJr94trM7jHrk9yvzt6hTbA,9235
|
162
160
|
prefect/events/schemas/labelling.py,sha256=bU-XYaHXhI2MEBIHngth96R9D02m8HHb85KNcHZ_1Gc,3073
|
163
161
|
prefect/infrastructure/__init__.py,sha256=dPvG1jDGD5HSH7aM2utwtk6RaJ9qg13XjkA0lAIgQmY,287
|
164
162
|
prefect/infrastructure/base.py,sha256=dPvG1jDGD5HSH7aM2utwtk6RaJ9qg13XjkA0lAIgQmY,287
|
@@ -172,26 +170,26 @@ prefect/input/__init__.py,sha256=Ue2h-YhYP71nEtsVJaslqMwO6C0ckjhjTYwwEgp-E3g,701
|
|
172
170
|
prefect/input/actions.py,sha256=BDx26b6ZYCTr0kbWBp73Or7UXnLIv1lnm0jow6Simxw,3871
|
173
171
|
prefect/input/run_input.py,sha256=GoM4LR3oqAFLf2sPCR1yITY9tNSZT8kAd4gaC-v-a-c,22703
|
174
172
|
prefect/locking/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
175
|
-
prefect/locking/filesystem.py,sha256=
|
173
|
+
prefect/locking/filesystem.py,sha256=RVE4_5lgKi1iea0NZVQlyct5GU4fVAtCPPEdRMDaQHw,8128
|
176
174
|
prefect/locking/memory.py,sha256=Q8NqSeksdQb-AZfql_SXeTd4SRFZ3rWMBwA5shTVEZM,7860
|
177
175
|
prefect/locking/protocol.py,sha256=RsfvlaHTTEJ0YvYWSqFGoZuT2w4FPPxyQlHqjoyNGuE,4240
|
178
176
|
prefect/logging/__init__.py,sha256=DpRZzZeWeiDHFlMDEQdknRzbxpL0ObFh5IqqS9iaZwQ,170
|
179
177
|
prefect/logging/configuration.py,sha256=ZBAOgwE34VSZFSiP4gBEd0S9m645_mEs3dFhiwPj58o,3303
|
180
178
|
prefect/logging/filters.py,sha256=NnRYubh9dMmWcCAjuW32cIVQ37rLxdn8ci26wTtQMyU,1136
|
181
|
-
prefect/logging/formatters.py,sha256=
|
182
|
-
prefect/logging/handlers.py,sha256=
|
179
|
+
prefect/logging/formatters.py,sha256=Sum42BmYZ7mns64jSOy4OA_K8KudEZjeG2h7SZcY9mA,4167
|
180
|
+
prefect/logging/handlers.py,sha256=NlaiRvFD2dMueIyRoy07xhEa6Ns-CNxdWeKeARF0YMQ,12842
|
183
181
|
prefect/logging/highlighters.py,sha256=BCf_LNhFInIfGPqwuu8YVrGa4wVxNc4YXo2pYgftpg4,1811
|
184
182
|
prefect/logging/loggers.py,sha256=rwFJv0i3dhdKr25XX-xUkQy4Vv4dy18bTy366jrC0OQ,12741
|
185
183
|
prefect/logging/logging.yml,sha256=tT7gTyC4NmngFSqFkCdHaw7R0GPNPDDsTCGZQByiJAQ,3169
|
186
184
|
prefect/runner/__init__.py,sha256=pQBd9wVrUVUDUFJlgiweKSnbahoBZwqnd2O2jkhrULY,158
|
187
|
-
prefect/runner/runner.py,sha256=
|
188
|
-
prefect/runner/server.py,sha256=
|
185
|
+
prefect/runner/runner.py,sha256=Zx3ATmAh6J5PCuGKzxQXUzCgZDlYNMyX7l_RU-02mI8,65477
|
186
|
+
prefect/runner/server.py,sha256=vyqMlUVVq6_Te1feny0G9qE8zJCYREZaF9ZstDuGvJQ,11327
|
189
187
|
prefect/runner/storage.py,sha256=L7aSjie5L6qbXYCDqYDX3ouQ_NsNMlmfjPeaWOC-ncs,28043
|
190
188
|
prefect/runner/submit.py,sha256=MtUrEKi4XznXXkDasILYYhY2w_DC2RcAL2hPJUgkgNo,8815
|
191
189
|
prefect/runner/utils.py,sha256=19DbhyiV6nvSpTXmnWlt7qPNt1jrz1jscznYrRVGurw,3413
|
192
190
|
prefect/runtime/__init__.py,sha256=JswiTlYRup2zXOYu8AqJ7czKtgcw9Kxo0tTbS6aWCqY,407
|
193
191
|
prefect/runtime/deployment.py,sha256=0A_cUVpYiFk3ciJw2ixy95dk9xBJcjisyF69pakSCcQ,5091
|
194
|
-
prefect/runtime/flow_run.py,sha256=
|
192
|
+
prefect/runtime/flow_run.py,sha256=V7GkeGff4tiFpDUz1UqN20FoMCxFDBu6eZFrfPlcZ28,10722
|
195
193
|
prefect/runtime/task_run.py,sha256=zYBSs7QrAu7c2IjKomRzPXKyIXrjqclMTMrco-dwyOw,4212
|
196
194
|
prefect/server/api/__init__.py,sha256=W6s6QR91ogg7pssnFdV0bptpXtP1gbjqjnhySK1hFJM,616
|
197
195
|
prefect/server/api/admin.py,sha256=nINYSrux7XPAV4MMDQUts3X2dddrc3mJtd3iPl5N-jI,2644
|
@@ -204,10 +202,10 @@ prefect/server/api/block_types.py,sha256=_fXzKFiWtuj4jvopQ_tHVbD0QKKngVshcR4tKM9
|
|
204
202
|
prefect/server/api/clients.py,sha256=7Xr10JPj3FykLJ3v6Id251LgW6W-6xaWyqSU_RWcolA,8867
|
205
203
|
prefect/server/api/collections.py,sha256=RI7cjdM8RYFyAk2rgb35vqh06PWGXAamTvwThl83joY,2454
|
206
204
|
prefect/server/api/concurrency_limits.py,sha256=E5TB2cJPIZjnxnm1pGxUJnwMDz5CS58gOGH-uGPmkes,10716
|
207
|
-
prefect/server/api/concurrency_limits_v2.py,sha256=
|
205
|
+
prefect/server/api/concurrency_limits_v2.py,sha256=PGjG7W2Z65OojNTP0ezFu2z69plXo1N8paqwHlHAPj0,10183
|
208
206
|
prefect/server/api/csrf_token.py,sha256=BwysSjQAhre7O0OY_LF3ZcIiO53FdMQroNT11Q6OcOM,1344
|
209
207
|
prefect/server/api/dependencies.py,sha256=VujfcIGn41TGJxUunFHVabY5hE-6nY6uSHyhNFj8PdI,6634
|
210
|
-
prefect/server/api/deployments.py,sha256=
|
208
|
+
prefect/server/api/deployments.py,sha256=d-GAbVP3T0RVkkz6VN5nsQN7XU7fTjQg-vzYxuooxQw,37933
|
211
209
|
prefect/server/api/events.py,sha256=3-Qdt6ORxFv3nLoogQqvd72zEulJSoAmcqZto2OULuk,9907
|
212
210
|
prefect/server/api/flow_run_notification_policies.py,sha256=F8xNm6bgZTC3nFe9xCUJS4NlU9tLXZ8fShtJqmhT2m4,4828
|
213
211
|
prefect/server/api/flow_run_states.py,sha256=lIdxVE9CqLgtDCuH9bTaKkzHNL81FPrr11liPzvONrw,1661
|
@@ -231,9 +229,9 @@ prefect/server/api/collections_data/views/aggregate-worker-metadata.json,sha256=
|
|
231
229
|
prefect/server/api/static/prefect-logo-mark-gradient.png,sha256=ylRjJkI_JHCw8VbQasNnXQHwZW-sH-IQiUGSD3aWP1E,73430
|
232
230
|
prefect/server/api/ui/__init__.py,sha256=TCXO4ZUZCqCbm2QoNvWNTErkzWiX2nSACuO-0Tiomvg,93
|
233
231
|
prefect/server/api/ui/flow_runs.py,sha256=ALmUFY4WrJggN1ha0z-tqXeddG2GptswbPnB7iYixUM,4172
|
234
|
-
prefect/server/api/ui/flows.py,sha256
|
232
|
+
prefect/server/api/ui/flows.py,sha256=W4kwqOCJ_2vROmMCmemH2Mq3uWbWZyu5q5uTZPBdYwk,5902
|
235
233
|
prefect/server/api/ui/schemas.py,sha256=NVWA1RFnHW-MMU1s6WbNmp_S5mhbrN-_P41I4O2XtMg,2085
|
236
|
-
prefect/server/api/ui/task_runs.py,sha256=
|
234
|
+
prefect/server/api/ui/task_runs.py,sha256=dKVNe4EjmMrXH-VtsRoFTKJEBbl35upGHAW2C_AhKKM,6664
|
237
235
|
prefect/settings/__init__.py,sha256=3jDLzExmq9HsRWo1kTSE16BO_3B3JlVsk5pR0s4PWEQ,2136
|
238
236
|
prefect/settings/base.py,sha256=e5huXB_cWgw_N6QWuRNSWMjW6B-g261RbiQ-6RoWFVE,9667
|
239
237
|
prefect/settings/constants.py,sha256=5NjVLG1Km9J9I-a6wrq-qmi_dTkPdwEk3IrY9bSxWvw,281
|
@@ -270,14 +268,14 @@ prefect/settings/models/server/services.py,sha256=8CXfs4EKrJkrSUYxI1Om4uUtyYJ-WG
|
|
270
268
|
prefect/settings/models/server/tasks.py,sha256=_CaOUfh3WDXvUhmHXmR-MkTRaQqocZck4efmX74iOg8,2976
|
271
269
|
prefect/settings/models/server/ui.py,sha256=hShsi4rPBtdJA2WnT1Er0tWqu-e5wUum8NkNgucShkk,1867
|
272
270
|
prefect/telemetry/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
273
|
-
prefect/telemetry/bootstrap.py,sha256=
|
274
|
-
prefect/telemetry/instrumentation.py,sha256=
|
275
|
-
prefect/telemetry/logging.py,sha256=
|
271
|
+
prefect/telemetry/bootstrap.py,sha256=XaYlK4OTaloQX63AG7IfvGD7yH5LOsXfol4pPfaXSBI,1537
|
272
|
+
prefect/telemetry/instrumentation.py,sha256=1wVdROX8Nz3P4Ja3we92UjRH1xF45Pm2sAA3rZ5rqtw,4727
|
273
|
+
prefect/telemetry/logging.py,sha256=ktIVTXbdZ46v6fUhoHNidFrpvpNJR-Pj-hQ4V9b40W4,789
|
276
274
|
prefect/telemetry/processors.py,sha256=jw6j6LviOVxw3IBJe7cSjsxFk0zzY43jUmy6C9pcfCE,2272
|
277
275
|
prefect/telemetry/run_telemetry.py,sha256=_FbjiPqPemu4xvZuI2YBPwXeRJ2BcKRJ6qgO4UMzKKE,8571
|
278
276
|
prefect/telemetry/services.py,sha256=DxgNNDTeWNtHBtioX8cjua4IrCbTiJJdYecx-gugg-w,2358
|
279
277
|
prefect/types/__init__.py,sha256=yBjKxiQmSC7jXoo0UNmM3KZil1NBFS-BWGPfwSEaoJo,4621
|
280
|
-
prefect/types/_datetime.py,sha256=
|
278
|
+
prefect/types/_datetime.py,sha256=NdlwqXTee_EJqgAUIh80xSPPUUvvuE_57ocs828Tk4o,7289
|
281
279
|
prefect/types/entrypoint.py,sha256=2FF03-wLPgtnqR_bKJDB2BsXXINPdu8ptY9ZYEZnXg8,328
|
282
280
|
prefect/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
283
281
|
prefect/utilities/_deprecated.py,sha256=b3pqRSoFANdVJAc8TJkygBcP-VjZtLJUxVIWC7kwspI,1303
|
@@ -286,12 +284,12 @@ prefect/utilities/_git.py,sha256=bPYWQdr9xvH0BqxR1ll1RkaSb3x0vhwylhYD5EilkKU,863
|
|
286
284
|
prefect/utilities/annotations.py,sha256=0Elqgq6LR7pQqezNqT5wb6U_0e2pDO_zx6VseVL6kL8,4396
|
287
285
|
prefect/utilities/asyncutils.py,sha256=xcfeNym2j3WH4gKXznON2hI1PpUTcwr_BGc16IQS3C4,19789
|
288
286
|
prefect/utilities/callables.py,sha256=YiNdLzsOQfUsTa6bIU3TIMAuZWRiZVevYUQX2cSv5gY,25833
|
289
|
-
prefect/utilities/collections.py,sha256=
|
287
|
+
prefect/utilities/collections.py,sha256=c3nPLPWqIZQQdNuHs_nrbQJwuhQSX4ivUl-h9LtzXto,23243
|
290
288
|
prefect/utilities/compat.py,sha256=nnPA3lf2f4Y-l645tYFFNmj5NDPaYvjqa9pbGKZ3WKE,582
|
291
289
|
prefect/utilities/context.py,sha256=23SDMgdt07SjmB1qShiykHfGgiv55NBzdbMXM3fE9CI,1447
|
292
290
|
prefect/utilities/dispatch.py,sha256=u6GSGSO3_6vVoIqHVc849lsKkC-I1wUl6TX134GwRBo,6310
|
293
|
-
prefect/utilities/dockerutils.py,sha256=
|
294
|
-
prefect/utilities/engine.py,sha256=
|
291
|
+
prefect/utilities/dockerutils.py,sha256=WhVaa9g5LQuzBqvG3rJQQLGRneEP-37lVeJjrO6_VHg,21315
|
292
|
+
prefect/utilities/engine.py,sha256=LAqRMKM0lJphCHTMFKxRKNZzp_Y4l2PMUXmaFLdmvrQ,28951
|
295
293
|
prefect/utilities/filesystem.py,sha256=Pwesv71PGFhf3lPa1iFyMqZZprBjy9nEKCVxTkf_hXw,5710
|
296
294
|
prefect/utilities/generics.py,sha256=o77e8a5iwmrisOf42wLp2WI9YvSw2xDW4vFdpdEwr3I,543
|
297
295
|
prefect/utilities/hashing.py,sha256=7jRy26s46IJAFRmVnCnoK9ek9N4p_UfXxQQvu2tW6dM,2589
|
@@ -312,13 +310,13 @@ prefect/utilities/schema_tools/__init__.py,sha256=At3rMHd2g_Em2P3_dFQlFgqR_EpBwr
|
|
312
310
|
prefect/utilities/schema_tools/hydration.py,sha256=NkRhWkNfxxFmVGhNDfmxdK_xeKaEhs3a42q83Sg9cT4,9436
|
313
311
|
prefect/utilities/schema_tools/validation.py,sha256=Wix26IVR-ZJ32-6MX2pHhrwm3reB-Q4iB6_phn85OKE,10743
|
314
312
|
prefect/workers/__init__.py,sha256=EaM1F0RZ-XIJaGeTKLsXDnfOPHzVWk5bk0_c4BVS44M,64
|
315
|
-
prefect/workers/base.py,sha256=
|
313
|
+
prefect/workers/base.py,sha256=2GtGIJ4eAEVUaZwi6q1OMEbU_JhkEQNUmEznzj8HKbE,53364
|
316
314
|
prefect/workers/block.py,sha256=dPvG1jDGD5HSH7aM2utwtk6RaJ9qg13XjkA0lAIgQmY,287
|
317
315
|
prefect/workers/cloud.py,sha256=dPvG1jDGD5HSH7aM2utwtk6RaJ9qg13XjkA0lAIgQmY,287
|
318
316
|
prefect/workers/process.py,sha256=uxOwcqA2Ps-V-W6WeSdKCQMINrCxBEVx1K1Un8pb7vs,8973
|
319
|
-
prefect/workers/server.py,sha256=
|
317
|
+
prefect/workers/server.py,sha256=2pmVeJZiVbEK02SO6BEZaBIvHMsn6G8LzjW8BXyiTtk,1952
|
320
318
|
prefect/workers/utilities.py,sha256=VfPfAlGtTuDj0-Kb8WlMgAuOfgXCdrGAnKMapPSBrwc,2483
|
321
|
-
prefect_client-3.2.
|
322
|
-
prefect_client-3.2.
|
323
|
-
prefect_client-3.2.
|
324
|
-
prefect_client-3.2.
|
319
|
+
prefect_client-3.2.16.dev1.dist-info/METADATA,sha256=3qakykQi49WKIUa_eqf3b6A4lIgpiZMc09jOg5lNEfc,7417
|
320
|
+
prefect_client-3.2.16.dev1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
|
321
|
+
prefect_client-3.2.16.dev1.dist-info/licenses/LICENSE,sha256=MCxsn8osAkzfxKC4CC_dLcUkU8DZLkyihZ8mGs3Ah3Q,11357
|
322
|
+
prefect_client-3.2.16.dev1.dist-info/RECORD,,
|
File without changes
|
@@ -1,78 +0,0 @@
|
|
1
|
-
"""
|
2
|
-
This file contains compat code to handle pendulum.DateTime objects during jsonschema
|
3
|
-
generation and validation.
|
4
|
-
"""
|
5
|
-
|
6
|
-
from typing import Annotated, Any, Union
|
7
|
-
|
8
|
-
import pendulum
|
9
|
-
from pydantic import GetCoreSchemaHandler, GetJsonSchemaHandler
|
10
|
-
from pydantic.json_schema import JsonSchemaValue
|
11
|
-
from pydantic_core import core_schema
|
12
|
-
|
13
|
-
|
14
|
-
class _PendulumDateTimeAnnotation:
|
15
|
-
_pendulum_type: type[
|
16
|
-
Union[pendulum.DateTime, pendulum.Date, pendulum.Time, pendulum.Duration]
|
17
|
-
] = pendulum.DateTime
|
18
|
-
|
19
|
-
_pendulum_types_to_schemas = {
|
20
|
-
pendulum.DateTime: core_schema.datetime_schema(),
|
21
|
-
pendulum.Date: core_schema.date_schema(),
|
22
|
-
pendulum.Time: core_schema.time_schema(),
|
23
|
-
pendulum.Duration: core_schema.timedelta_schema(),
|
24
|
-
}
|
25
|
-
|
26
|
-
@classmethod
|
27
|
-
def __get_pydantic_core_schema__(
|
28
|
-
cls,
|
29
|
-
_source_type: Any,
|
30
|
-
_handler: GetCoreSchemaHandler,
|
31
|
-
) -> core_schema.CoreSchema:
|
32
|
-
def validate_from_str(
|
33
|
-
value: str,
|
34
|
-
) -> Union[pendulum.DateTime, pendulum.Date, pendulum.Time, pendulum.Duration]:
|
35
|
-
return pendulum.parse(value)
|
36
|
-
|
37
|
-
def to_str(
|
38
|
-
value: Union[pendulum.DateTime, pendulum.Date, pendulum.Time],
|
39
|
-
) -> str:
|
40
|
-
return value.isoformat()
|
41
|
-
|
42
|
-
from_str_schema = core_schema.chain_schema(
|
43
|
-
[
|
44
|
-
cls._pendulum_types_to_schemas[cls._pendulum_type],
|
45
|
-
core_schema.no_info_plain_validator_function(validate_from_str),
|
46
|
-
]
|
47
|
-
)
|
48
|
-
|
49
|
-
return core_schema.json_or_python_schema(
|
50
|
-
json_schema=from_str_schema,
|
51
|
-
python_schema=core_schema.union_schema(
|
52
|
-
[
|
53
|
-
# check if it's an instance first before doing any further work
|
54
|
-
core_schema.is_instance_schema(cls._pendulum_type),
|
55
|
-
from_str_schema,
|
56
|
-
]
|
57
|
-
),
|
58
|
-
serialization=core_schema.plain_serializer_function_ser_schema(to_str),
|
59
|
-
)
|
60
|
-
|
61
|
-
@classmethod
|
62
|
-
def __get_pydantic_json_schema__(
|
63
|
-
cls, _core_schema: core_schema.CoreSchema, handler: GetJsonSchemaHandler
|
64
|
-
) -> JsonSchemaValue:
|
65
|
-
return handler(cls._pendulum_types_to_schemas[cls._pendulum_type])
|
66
|
-
|
67
|
-
|
68
|
-
class _PendulumDateAnnotation(_PendulumDateTimeAnnotation):
|
69
|
-
_pendulum_type = pendulum.Date
|
70
|
-
|
71
|
-
|
72
|
-
class _PendulumDurationAnnotation(_PendulumDateTimeAnnotation):
|
73
|
-
_pendulum_type = pendulum.Duration
|
74
|
-
|
75
|
-
|
76
|
-
PydanticPendulumDateTimeType = Annotated[pendulum.DateTime, _PendulumDateTimeAnnotation]
|
77
|
-
PydanticPendulumDateType = Annotated[pendulum.Date, _PendulumDateAnnotation]
|
78
|
-
PydanticPendulumDurationType = Annotated[pendulum.Duration, _PendulumDurationAnnotation]
|
File without changes
|
{prefect_client-3.2.15.dev9.dist-info → prefect_client-3.2.16.dev1.dist-info}/licenses/LICENSE
RENAMED
File without changes
|