prefect-client 3.1.9__py3-none-any.whl → 3.1.11__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/_experimental/lineage.py +7 -8
- prefect/_internal/_logging.py +15 -3
- prefect/_internal/compatibility/async_dispatch.py +22 -16
- prefect/_internal/compatibility/deprecated.py +42 -18
- prefect/_internal/compatibility/migration.py +2 -2
- prefect/_internal/concurrency/inspection.py +12 -14
- prefect/_internal/concurrency/primitives.py +2 -2
- prefect/_internal/concurrency/services.py +154 -80
- prefect/_internal/concurrency/waiters.py +13 -9
- prefect/_internal/pydantic/annotations/pendulum.py +7 -7
- prefect/_internal/pytz.py +4 -3
- prefect/_internal/retries.py +10 -5
- prefect/_internal/schemas/bases.py +19 -10
- prefect/_internal/schemas/validators.py +227 -388
- prefect/_version.py +3 -3
- prefect/artifacts.py +61 -74
- prefect/automations.py +27 -7
- prefect/blocks/core.py +3 -3
- prefect/client/{orchestration.py → orchestration/__init__.py} +38 -701
- prefect/client/orchestration/_artifacts/__init__.py +0 -0
- prefect/client/orchestration/_artifacts/client.py +239 -0
- prefect/client/orchestration/_concurrency_limits/__init__.py +0 -0
- prefect/client/orchestration/_concurrency_limits/client.py +762 -0
- prefect/client/orchestration/_logs/__init__.py +0 -0
- prefect/client/orchestration/_logs/client.py +95 -0
- prefect/client/orchestration/_variables/__init__.py +0 -0
- prefect/client/orchestration/_variables/client.py +157 -0
- prefect/client/orchestration/base.py +46 -0
- prefect/client/orchestration/routes.py +145 -0
- prefect/client/schemas/actions.py +2 -2
- prefect/client/schemas/filters.py +5 -0
- prefect/client/schemas/objects.py +3 -10
- prefect/client/schemas/schedules.py +22 -10
- prefect/concurrency/_asyncio.py +87 -0
- prefect/concurrency/{events.py → _events.py} +10 -10
- prefect/concurrency/asyncio.py +20 -104
- prefect/concurrency/context.py +6 -4
- prefect/concurrency/services.py +26 -74
- prefect/concurrency/sync.py +23 -44
- prefect/concurrency/v1/_asyncio.py +63 -0
- prefect/concurrency/v1/{events.py → _events.py} +13 -15
- prefect/concurrency/v1/asyncio.py +27 -80
- prefect/concurrency/v1/context.py +6 -4
- prefect/concurrency/v1/services.py +33 -79
- prefect/concurrency/v1/sync.py +18 -37
- prefect/context.py +66 -70
- prefect/deployments/base.py +4 -144
- prefect/deployments/flow_runs.py +12 -2
- prefect/deployments/runner.py +11 -3
- prefect/deployments/steps/pull.py +13 -0
- prefect/events/clients.py +7 -1
- prefect/events/schemas/events.py +3 -2
- prefect/flow_engine.py +54 -47
- prefect/flows.py +2 -1
- prefect/futures.py +42 -27
- prefect/input/run_input.py +2 -1
- prefect/locking/filesystem.py +8 -7
- prefect/locking/memory.py +5 -3
- prefect/locking/protocol.py +1 -1
- prefect/main.py +1 -3
- prefect/plugins.py +12 -10
- prefect/results.py +3 -308
- prefect/runner/storage.py +87 -21
- prefect/serializers.py +32 -25
- prefect/settings/legacy.py +4 -4
- prefect/settings/models/api.py +3 -3
- prefect/settings/models/cli.py +3 -3
- prefect/settings/models/client.py +5 -3
- prefect/settings/models/cloud.py +3 -3
- prefect/settings/models/deployments.py +3 -3
- prefect/settings/models/experiments.py +4 -2
- prefect/settings/models/flows.py +3 -3
- prefect/settings/models/internal.py +4 -2
- prefect/settings/models/logging.py +4 -3
- prefect/settings/models/results.py +3 -3
- prefect/settings/models/root.py +3 -2
- prefect/settings/models/runner.py +4 -4
- prefect/settings/models/server/api.py +3 -3
- prefect/settings/models/server/database.py +11 -4
- prefect/settings/models/server/deployments.py +6 -2
- prefect/settings/models/server/ephemeral.py +4 -2
- prefect/settings/models/server/events.py +3 -2
- prefect/settings/models/server/flow_run_graph.py +6 -2
- prefect/settings/models/server/root.py +3 -3
- prefect/settings/models/server/services.py +26 -11
- prefect/settings/models/server/tasks.py +6 -3
- prefect/settings/models/server/ui.py +3 -3
- prefect/settings/models/tasks.py +5 -5
- prefect/settings/models/testing.py +3 -3
- prefect/settings/models/worker.py +5 -3
- prefect/settings/profiles.py +15 -2
- prefect/states.py +4 -7
- prefect/task_engine.py +54 -75
- prefect/tasks.py +84 -32
- prefect/telemetry/processors.py +6 -6
- prefect/telemetry/run_telemetry.py +13 -8
- prefect/telemetry/services.py +32 -31
- prefect/transactions.py +4 -15
- prefect/utilities/_git.py +34 -0
- prefect/utilities/asyncutils.py +1 -1
- prefect/utilities/engine.py +3 -19
- prefect/utilities/generics.py +18 -0
- prefect/workers/__init__.py +2 -0
- {prefect_client-3.1.9.dist-info → prefect_client-3.1.11.dist-info}/METADATA +1 -1
- {prefect_client-3.1.9.dist-info → prefect_client-3.1.11.dist-info}/RECORD +108 -99
- prefect/records/__init__.py +0 -1
- prefect/records/base.py +0 -235
- prefect/records/filesystem.py +0 -213
- prefect/records/memory.py +0 -184
- prefect/records/result_store.py +0 -70
- {prefect_client-3.1.9.dist-info → prefect_client-3.1.11.dist-info}/LICENSE +0 -0
- {prefect_client-3.1.9.dist-info → prefect_client-3.1.11.dist-info}/WHEEL +0 -0
- {prefect_client-3.1.9.dist-info → prefect_client-3.1.11.dist-info}/top_level.txt +0 -0
@@ -1,67 +1,67 @@
|
|
1
1
|
prefect/.prefectignore,sha256=awSprvKT0vI8a64mEOLrMxhxqcO-b0ERQeYpA2rNKVQ,390
|
2
2
|
prefect/__init__.py,sha256=FmdMSNpGH8Mrkn5X0mNZup8_SHdeB_aqEmS5taeOHAQ,3530
|
3
|
-
prefect/_version.py,sha256=
|
3
|
+
prefect/_version.py,sha256=000QFOCY1QMqVVz5vHeyhsPUgPrTncjJvz8rU4Dy8aw,497
|
4
4
|
prefect/agent.py,sha256=qyyUMdiv5ndUIk-O8uwamESJGXXDQ_BmhKiLlm31ue0,286
|
5
|
-
prefect/artifacts.py,sha256=
|
6
|
-
prefect/automations.py,sha256=
|
5
|
+
prefect/artifacts.py,sha256=c_hMYTQoKFij8_tahtBeHzjYl7ztXAU90QP_6SuMw9A,12934
|
6
|
+
prefect/automations.py,sha256=QHS3Xh6wUKRvzxXt8cfWri6wXjX8EfEDDQN8a7cRw3c,6594
|
7
7
|
prefect/cache_policies.py,sha256=dlhYHMxhb2N5KdDMIAuw4q-PIsI8WH5k0LDDLqsRYMU,9903
|
8
|
-
prefect/context.py,sha256=
|
8
|
+
prefect/context.py,sha256=wHwgMQJevmB-P6k2E7J0krS6zQH7ClIEPRiY4nDfLvA,22580
|
9
9
|
prefect/engine.py,sha256=qkT6hQWfxQPmjAEECQx3wluiDiFMHf3h9DRG1ShwK7w,2031
|
10
10
|
prefect/exceptions.py,sha256=sbphPKQ4yOBUa9w0MsSFoDj_uC8Tlv9WHTjzO3cQKq8,11593
|
11
11
|
prefect/filesystems.py,sha256=cLBGbnW2NQqH4N70Y1i1QuCL3R7p-_r_d5CGaEAd4wg,17897
|
12
|
-
prefect/flow_engine.py,sha256=
|
12
|
+
prefect/flow_engine.py,sha256=pRaYGpzAFzPXVG65TgOOwqmfnylYcN24HnaOolWWTaU,53796
|
13
13
|
prefect/flow_runs.py,sha256=-5udBBYdgdCBCjAMYvELbA1vmrjZ6oREXl-BZdZr6hc,16129
|
14
|
-
prefect/flows.py,sha256=
|
15
|
-
prefect/futures.py,sha256=
|
16
|
-
prefect/main.py,sha256=
|
17
|
-
prefect/plugins.py,sha256=
|
14
|
+
prefect/flows.py,sha256=Z1BdpmJotXJoqoDqcUtxiiPsGWvDfSBvk1XEEo6ykw4,94127
|
15
|
+
prefect/futures.py,sha256=ZtQiRJddO5-LNabUZiX_2wEJnRf6w7qZ8KRC5VUNOa0,16915
|
16
|
+
prefect/main.py,sha256=F4lBcS-Ck2Bx0R8g4al6cdOSXtwFHDkWCok8AxQXaeg,2315
|
17
|
+
prefect/plugins.py,sha256=FPRLR2mWVBMuOnlzeiTD9krlHONZH2rtYLD753JQDNQ,2516
|
18
18
|
prefect/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
19
|
-
prefect/results.py,sha256=
|
20
|
-
prefect/serializers.py,sha256=
|
21
|
-
prefect/states.py,sha256=
|
22
|
-
prefect/task_engine.py,sha256=
|
19
|
+
prefect/results.py,sha256=FqZxiSKQdcfrhVhXjwggcTiEaQKVl63rYEYwiuTFMY8,40399
|
20
|
+
prefect/serializers.py,sha256=U2P6UXvC12mqVFWtRjeRO-36NjRDli8jdcn3uWEhkVU,9237
|
21
|
+
prefect/states.py,sha256=7Alp_7Wgn0s6RcRciRyQVzHmc4PTLgcm6kL9KSRwdmA,25229
|
22
|
+
prefect/task_engine.py,sha256=nFYbwfyI8l_vnJWi_GN8N_uXceq24v2HXpouf6KPiH8,59984
|
23
23
|
prefect/task_runners.py,sha256=o7x_R18vMuum4GOcaQYVMK2CwyMgFguxYouKON5-_8c,15208
|
24
24
|
prefect/task_runs.py,sha256=jkaQOkRKOHS8fgHUijteriFpjMSKv4zldn1D8tZHkUI,8777
|
25
25
|
prefect/task_worker.py,sha256=PsjK25VS9JS_rAGY6rZU0lv4zgwIScl78V8Q4tXKZTs,17654
|
26
|
-
prefect/tasks.py,sha256=
|
27
|
-
prefect/transactions.py,sha256=
|
26
|
+
prefect/tasks.py,sha256=Ioe2cZ5MCrYp_AbDScKp0UeGFC-1Wri6t6GfXb191bg,72174
|
27
|
+
prefect/transactions.py,sha256=CxwaLixlg4lbR_CmwCtnnQ1506B2q9h04ApFmDnl_Yk,16044
|
28
28
|
prefect/variables.py,sha256=dCK3vX7TbkqXZhnNT_v7rcGh3ISRqoR6pJVLpoll3Js,8342
|
29
29
|
prefect/_experimental/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
30
|
-
prefect/_experimental/lineage.py,sha256=
|
30
|
+
prefect/_experimental/lineage.py,sha256=2zI6fFUc3wPa3n50agugqV0Hlc5zgmZFTijU0yY6BKE,6633
|
31
31
|
prefect/_internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
32
|
-
prefect/_internal/_logging.py,sha256=
|
32
|
+
prefect/_internal/_logging.py,sha256=Igy2tCM2Hv9wNiDPcee0s5N1fTc6oRP7OffCJBqAekY,1124
|
33
33
|
prefect/_internal/integrations.py,sha256=U4cZMDbnilzZSKaMxvzZcSL27a1tzRMjDoTfr2ul_eY,231
|
34
|
-
prefect/_internal/pytz.py,sha256=
|
35
|
-
prefect/_internal/retries.py,sha256=
|
34
|
+
prefect/_internal/pytz.py,sha256=Sy_cD-Hkmo_Yrhx2Jucy7DgTRhvO8ZD0whW1ywbSg_U,13765
|
35
|
+
prefect/_internal/retries.py,sha256=nJ3x_FuCs0VbBulGOWigtUNHr3Hn0sgRmHtxcncinLE,2858
|
36
36
|
prefect/_internal/compatibility/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
37
|
-
prefect/_internal/compatibility/async_dispatch.py,sha256=
|
38
|
-
prefect/_internal/compatibility/deprecated.py,sha256=
|
39
|
-
prefect/_internal/compatibility/migration.py,sha256=
|
37
|
+
prefect/_internal/compatibility/async_dispatch.py,sha256=cUXOqSeseMUaje9oYUzasVPtNttyiHvrqfJl0zK66XI,2949
|
38
|
+
prefect/_internal/compatibility/deprecated.py,sha256=ClqvyXDre71EjeNHlXUIpvmlVhliPiR0LDlH2niKv5w,8647
|
39
|
+
prefect/_internal/compatibility/migration.py,sha256=QUkBauToZBJIGtg5MULXHbLXXY9xS14YdJ4K5QuG8xM,6801
|
40
40
|
prefect/_internal/concurrency/__init__.py,sha256=YlTwU9ryjPNwbJa45adLJY00t_DGCh1QrdtY9WdVFfw,2140
|
41
41
|
prefect/_internal/concurrency/api.py,sha256=9MuQ0icQVTxwxChujn9mnv0WXRqwToysQy9GWC3sJRg,7352
|
42
42
|
prefect/_internal/concurrency/calls.py,sha256=4t8ACj93jUkvfleQIkbxFJIsJaa5Dn6-SBOYiwe8qBg,16479
|
43
43
|
prefect/_internal/concurrency/cancellation.py,sha256=5pVR65GfVlzI4-h7R_uAPPgRFlwxAuhsF1-SGD3EZTQ,18683
|
44
44
|
prefect/_internal/concurrency/event_loop.py,sha256=N6SyBV0vaSF5HD4_JM8zL7oBGd2nMuEKkeSPnBZdHw4,2136
|
45
|
-
prefect/_internal/concurrency/inspection.py,sha256=
|
46
|
-
prefect/_internal/concurrency/primitives.py,sha256=
|
47
|
-
prefect/_internal/concurrency/services.py,sha256=
|
45
|
+
prefect/_internal/concurrency/inspection.py,sha256=wUWVbHi4G-BxuuYFWhTNmo5yc1C651lQrp5OMiHPU1E,3545
|
46
|
+
prefect/_internal/concurrency/primitives.py,sha256=Wuht4GwJCgts_uAZFUt9c-InPssnXcelRQc1dGdOplk,2672
|
47
|
+
prefect/_internal/concurrency/services.py,sha256=8K77DC67Km3sjgZaXC_Rdz2nTbW908NeHMGjmorcwf0,15915
|
48
48
|
prefect/_internal/concurrency/threads.py,sha256=pe-ill3xaXejpCwWLkak9e1hQB5wEuwZ_-0aQDMEDBM,9153
|
49
|
-
prefect/_internal/concurrency/waiters.py,sha256=
|
49
|
+
prefect/_internal/concurrency/waiters.py,sha256=mhXpQk8swcUAxBk7f7kGn1fqy44XcFyneog_zEYecr0,9442
|
50
50
|
prefect/_internal/pydantic/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
51
51
|
prefect/_internal/pydantic/schemas.py,sha256=tsRKq5yEIgiRbWMl3BPnbfNaKyDN6pq8WSs0M8SQMm4,452
|
52
52
|
prefect/_internal/pydantic/v1_schema.py,sha256=wSyQr3LUbIh0R9LsZ6ItmLnQeAS8dxVMNpIb-4aPvjM,1175
|
53
53
|
prefect/_internal/pydantic/v2_schema.py,sha256=wNVbwnqQC3uGJqUmNoQOpQE27sZLY6kZo0cUlZAtgR0,3724
|
54
54
|
prefect/_internal/pydantic/v2_validated_func.py,sha256=Ld8OtPFF7Ci-gHHmKhSMizBxzuIBOQ6kuIFNRh0vRVY,3731
|
55
55
|
prefect/_internal/pydantic/annotations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
56
|
-
prefect/_internal/pydantic/annotations/pendulum.py,sha256=
|
56
|
+
prefect/_internal/pydantic/annotations/pendulum.py,sha256=KTh6w32-S9MXHywwNod9aA7v-VN7a3AWiSZh4vDRkx0,2683
|
57
57
|
prefect/_internal/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
58
|
-
prefect/_internal/schemas/bases.py,sha256=
|
58
|
+
prefect/_internal/schemas/bases.py,sha256=bCffqV_9jBAwrqmBUrqrdaTHn43yQRcEca2igObURq0,4704
|
59
59
|
prefect/_internal/schemas/fields.py,sha256=m4LrFNz8rA9uBhMk9VyQT6FIXmV_EVAW92hdXeSvHbY,837
|
60
60
|
prefect/_internal/schemas/serializers.py,sha256=G_RGHfObjisUiRvd29p-zc6W4bwt5rE1OdR6TXNrRhQ,825
|
61
|
-
prefect/_internal/schemas/validators.py,sha256=
|
61
|
+
prefect/_internal/schemas/validators.py,sha256=7OFvPhdLwZJrC1pD0iMZIB-7QZclKvl-Lpe83-Ucs8Q,19530
|
62
62
|
prefect/blocks/__init__.py,sha256=BUfh6gIwA6HEjRyVCAiv0he3M1zfM-oY-JrlBfeWeY8,182
|
63
63
|
prefect/blocks/abstract.py,sha256=uIx0BxFQqv7ai5gpw_CMo-O5pMnRhQssH7AhQr5uZtQ,16459
|
64
|
-
prefect/blocks/core.py,sha256=
|
64
|
+
prefect/blocks/core.py,sha256=aaojr9j_q4QjnpHLWnXdXm_v6lXYG85JZKl1yK1MQLs,58171
|
65
65
|
prefect/blocks/fields.py,sha256=1m507VVmkpOnMF_7N-qboRjtw4_ceIuDneX3jZ3Jm54,63
|
66
66
|
prefect/blocks/notifications.py,sha256=ufGULZCdGENKN1KYTVwVF9ZD21c_U7gE6PGKZjHOyYU,30514
|
67
67
|
prefect/blocks/redis.py,sha256=GUKYyx2QLtyNvgf5FT_dJxbgQcOzWCja3I23J1-AXhM,5629
|
@@ -72,45 +72,57 @@ prefect/client/base.py,sha256=KJg-RapWjjJp64I-k7s3AlN3rXZQRVz2tYOoAQ6qdTU,25547
|
|
72
72
|
prefect/client/cloud.py,sha256=nw3eVQXVCLD5DU8a-7rpBYHDnBD1v3B0GZ3tu9aNT70,6546
|
73
73
|
prefect/client/collections.py,sha256=OdgJrUssGtuD0tHIYhtBamEN5q4oA6Uv4ZX-QueW7LI,1074
|
74
74
|
prefect/client/constants.py,sha256=Z_GG8KF70vbbXxpJuqW5pLnwzujTVeHbcYYRikNmGH0,29
|
75
|
-
prefect/client/orchestration.py,sha256=DQBnvgFZ1jbUMfMKcoP6l5mn6lZlT_0FW2DFcP0ahds,159927
|
76
75
|
prefect/client/subscriptions.py,sha256=TZ7Omv8yeQQIkE6EmWYM78e8p7UdvdTDzcQe91dCU4U,3838
|
77
76
|
prefect/client/utilities.py,sha256=oYer87Q79C6V4BXURRHbvsPFt0tiOSFR2lLBzjaNV6w,3463
|
77
|
+
prefect/client/orchestration/__init__.py,sha256=PPcjpKC10MFFWbJ3_r9iH8K6Dx97ghsRdrWQizkbjpI,137266
|
78
|
+
prefect/client/orchestration/base.py,sha256=UOm9Z9zLlBMSR0vt8S-V08AhTReO3g4brL4cS4hENRM,1331
|
79
|
+
prefect/client/orchestration/routes.py,sha256=JFG1OWUBfrxPKW8Q7XWItlhOrSZ67IOySSoFZ6mxzm0,4364
|
80
|
+
prefect/client/orchestration/_artifacts/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
81
|
+
prefect/client/orchestration/_artifacts/client.py,sha256=0GEM4rJWeedKR2xVgWQcX6DpLyn0zKFJF9nfRCQ4tpM,8855
|
82
|
+
prefect/client/orchestration/_concurrency_limits/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
83
|
+
prefect/client/orchestration/_concurrency_limits/client.py,sha256=ss73wg8W_dYNTyh8ST6L5DEnLc--PT8yUa4TmPWUuCI,23948
|
84
|
+
prefect/client/orchestration/_logs/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
85
|
+
prefect/client/orchestration/_logs/client.py,sha256=wRrmMUgYZfJNFE7gvhX01-JhRYgZbu07gV9rq2zflkg,2879
|
86
|
+
prefect/client/orchestration/_variables/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
87
|
+
prefect/client/orchestration/_variables/client.py,sha256=wKBbZBLGgs5feDCil-xxKt36dibUEB5Ll62uPtvQGmc,5284
|
78
88
|
prefect/client/schemas/__init__.py,sha256=uQqe3HkbW3gBvsIju0ee_ybJ8uuF2z_-DXLjS_O_37w,1063
|
79
|
-
prefect/client/schemas/actions.py,sha256=
|
80
|
-
prefect/client/schemas/filters.py,sha256=
|
81
|
-
prefect/client/schemas/objects.py,sha256=
|
89
|
+
prefect/client/schemas/actions.py,sha256=fQetf1zGttPYYxX-GXYzrfboN97uy1ObvfIR3jYx6yg,29890
|
90
|
+
prefect/client/schemas/filters.py,sha256=zaiDkalrIpKjd38V4aP1GHlqD24KTPCZiKtPyX69ZWE,36607
|
91
|
+
prefect/client/schemas/objects.py,sha256=zAc-CN-06OZLpm11bxxD8g7LV6d4uzCXdwhmms-0YLg,57423
|
82
92
|
prefect/client/schemas/responses.py,sha256=iTXTiUhdRL7PxNyJXMZ4ngT7C8SepT_z7g_pnUnVlzo,15629
|
83
|
-
prefect/client/schemas/schedules.py,sha256=
|
93
|
+
prefect/client/schemas/schedules.py,sha256=D1CVaqlnTgtbeUWeUy4m5CeMAuf36JbgxWgt1g9uq1c,14746
|
84
94
|
prefect/client/schemas/sorting.py,sha256=L-2Mx-igZPtsUoRUguTcG3nIEstMEMPD97NwPM2Ox5s,2579
|
85
95
|
prefect/client/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
86
96
|
prefect/client/types/flexible_schedule_list.py,sha256=WjIiy-yZuA_k1iCMCrmZBW24JNNHYPDRkg3TOhlJGhw,370
|
87
97
|
prefect/concurrency/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
88
|
-
prefect/concurrency/
|
89
|
-
prefect/concurrency/
|
90
|
-
prefect/concurrency/
|
91
|
-
prefect/concurrency/
|
92
|
-
prefect/concurrency/
|
98
|
+
prefect/concurrency/_asyncio.py,sha256=XfiKES0DOEfjHdjQ43NNWH6kdTt6a2Oj_PzxQ8sZ8IY,3004
|
99
|
+
prefect/concurrency/_events.py,sha256=KWHDldCWE3b5AH9eZ7kfmajvp36lRFCjCXIEx77jtKk,1825
|
100
|
+
prefect/concurrency/asyncio.py,sha256=T4Ut_rIoxzigHY740wbzH1UIqT5kQv2ZvqMfv0bNctc,4680
|
101
|
+
prefect/concurrency/context.py,sha256=8ZXs3G7NOF5Q2NqydK-K3zfjmYNnmfer-25hH6r6MgA,1009
|
102
|
+
prefect/concurrency/services.py,sha256=9db7VgASPLpDB8apEcmr4te75eyaXnycry8N4OhNAB8,2415
|
103
|
+
prefect/concurrency/sync.py,sha256=f4JQGR5_yVsZHdg_CGGbvpynmpxmTc1gqwc_xynyGJ8,4928
|
93
104
|
prefect/concurrency/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
94
|
-
prefect/concurrency/v1/
|
95
|
-
prefect/concurrency/v1/
|
96
|
-
prefect/concurrency/v1/
|
97
|
-
prefect/concurrency/v1/
|
98
|
-
prefect/concurrency/v1/
|
105
|
+
prefect/concurrency/v1/_asyncio.py,sha256=UTFjkOPevvbazzpf-O6sSixwM0gs_GzK5zwH4EG4FJ8,2152
|
106
|
+
prefect/concurrency/v1/_events.py,sha256=eoNmtlt__EqhgImWyxfq_MxwTRqNznJU9-3sKwThc98,1863
|
107
|
+
prefect/concurrency/v1/asyncio.py,sha256=GcdrqEye97qCjqWnEx2DIu38Zls5Mf2w0ofVpwtDriM,3168
|
108
|
+
prefect/concurrency/v1/context.py,sha256=BhK63TYp9BQYRCgTI1onUPXmgBoYaP7o27U695lH7qk,1107
|
109
|
+
prefect/concurrency/v1/services.py,sha256=ppVCllzb2qeKc-xntobFu45dEh3J-ZTtLDPuHr1djxo,2958
|
110
|
+
prefect/concurrency/v1/sync.py,sha256=C5uPmW2pWdt3bu1KVQkYf_IscjSzY_VhgR9AZJkkIa8,2106
|
99
111
|
prefect/deployments/__init__.py,sha256=_wb7NxDKhq11z9MjYsPckmT3o6MRhGLRgCV9TmvYtew,1002
|
100
|
-
prefect/deployments/base.py,sha256=
|
112
|
+
prefect/deployments/base.py,sha256=PXD42IdJpLqS9KOMvD0OUEUqfQV7LM2XLYicfPHB3QU,11457
|
101
113
|
prefect/deployments/deployments.py,sha256=K3Rgnpjxo_T8I8LMwlq24OKqZiZBTE8-YnPg-YGUStM,171
|
102
|
-
prefect/deployments/flow_runs.py,sha256=
|
103
|
-
prefect/deployments/runner.py,sha256=
|
114
|
+
prefect/deployments/flow_runs.py,sha256=2acoqRqlj8dwluUsgB8mbaJk36tEAEai2_Nf-kua78U,7147
|
115
|
+
prefect/deployments/runner.py,sha256=YtOvpnOvf2QxdIXjDieMFFUP2moLOK_m9sHzp80Nlmg,42685
|
104
116
|
prefect/deployments/schedules.py,sha256=qFzYxPUYz8mYRPxG4dOXZC-6tdVprbK5Zw1fwBf42xI,1910
|
105
117
|
prefect/deployments/steps/__init__.py,sha256=Dlz9VqMRyG1Gal8dj8vfGpPr0LyQhZdvcciozkK8WoY,206
|
106
118
|
prefect/deployments/steps/core.py,sha256=8V_xrYfpF_LqX_uIvWMV_Fnx_EcO9ryVNZaL6peQdao,6882
|
107
|
-
prefect/deployments/steps/pull.py,sha256=
|
119
|
+
prefect/deployments/steps/pull.py,sha256=ArAg2vDl7zzG72DmMV-U8F6fHe43iZ0qr0s1i4UqMeU,9669
|
108
120
|
prefect/deployments/steps/utility.py,sha256=s5mMBmHVCS1ZRBRUCunwPueU_7Dii_GK6CqCoznwUCc,8134
|
109
121
|
prefect/docker/__init__.py,sha256=z6wdc6UFfiBG2jb9Jk64uCWVM04JKVWeVyDWwuuon8M,527
|
110
122
|
prefect/docker/docker_image.py,sha256=Y84_ooCYA9NGl6FElJul9-FaW3teT-eia2SiNtZ1LG8,2999
|
111
123
|
prefect/events/__init__.py,sha256=GtKl2bE--pJduTxelH2xy7SadlLJmmis8WR1EYixhuA,2094
|
112
124
|
prefect/events/actions.py,sha256=A7jS8bo4zWGnrt3QfSoQs0uYC1xfKXio3IfU0XtTb5s,9129
|
113
|
-
prefect/events/clients.py,sha256=
|
125
|
+
prefect/events/clients.py,sha256=OeEK2BLfXNegscubz3SS9b_GlbGg2mFgcpQpFLWihL8,24864
|
114
126
|
prefect/events/filters.py,sha256=G1bkshD8mtVijIiHZ1lhyB_spGNXn1glZ8FmXCQIeuE,8056
|
115
127
|
prefect/events/related.py,sha256=A-1SVYwHtsxaDurRepnTsYbTWRBJSbtL5O_KffLaTwU,6534
|
116
128
|
prefect/events/utilities.py,sha256=gaJEC5mMK9XsCt8wbWzuFhZTRyYYmfnMoR-S4s79zg4,2648
|
@@ -120,7 +132,7 @@ prefect/events/cli/automations.py,sha256=WIZ3-EcDibjQB5BrMEx7OZ7UfOqP8VjCI1dNh64
|
|
120
132
|
prefect/events/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
121
133
|
prefect/events/schemas/automations.py,sha256=LHpZvI-5triEtgYsdEjADfEtgkpZgqzt3rsTG7QyOoo,14420
|
122
134
|
prefect/events/schemas/deployment_triggers.py,sha256=OX9g9eHe0nqJ3PtVEzqs9Ub2LaOHMA4afLZSvSukKGU,3191
|
123
|
-
prefect/events/schemas/events.py,sha256=
|
135
|
+
prefect/events/schemas/events.py,sha256=5vp6U3P2K7eNRnKy6eBlHKeSVZH6nzNuRyV2Q66_M8U,9101
|
124
136
|
prefect/events/schemas/labelling.py,sha256=bU-XYaHXhI2MEBIHngth96R9D02m8HHb85KNcHZ_1Gc,3073
|
125
137
|
prefect/infrastructure/__init__.py,sha256=qyyUMdiv5ndUIk-O8uwamESJGXXDQ_BmhKiLlm31ue0,286
|
126
138
|
prefect/infrastructure/base.py,sha256=qyyUMdiv5ndUIk-O8uwamESJGXXDQ_BmhKiLlm31ue0,286
|
@@ -131,11 +143,11 @@ prefect/infrastructure/provisioners/ecs.py,sha256=8cqabILtoy7t3ISuX8VbFCcG3IOFr3
|
|
131
143
|
prefect/infrastructure/provisioners/modal.py,sha256=4-VanBPqWlAj_5ckpXT7NonbqP0YwznTXFa4P8cthIs,9080
|
132
144
|
prefect/input/__init__.py,sha256=Ue2h-YhYP71nEtsVJaslqMwO6C0ckjhjTYwwEgp-E3g,701
|
133
145
|
prefect/input/actions.py,sha256=IGdWjVcesnRjLmPCzB4ZM7FkRWXDKCku6yhE-7p0vKk,3777
|
134
|
-
prefect/input/run_input.py,sha256=
|
146
|
+
prefect/input/run_input.py,sha256=2-ii1LkLcsB-LHiy8abIIRlLQAWw33z7fP24f19Lg6A,18764
|
135
147
|
prefect/locking/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
136
|
-
prefect/locking/filesystem.py,sha256=
|
137
|
-
prefect/locking/memory.py,sha256=
|
138
|
-
prefect/locking/protocol.py,sha256=
|
148
|
+
prefect/locking/filesystem.py,sha256=zhNwdKroi2kLR6Cut6CMT-rWmFwtTtzuGKSwGH_Iw0s,8084
|
149
|
+
prefect/locking/memory.py,sha256=mFUgV750ywEL7aVQuxFjg9gxbjVU4esBQn7bGQYzeMY,7548
|
150
|
+
prefect/locking/protocol.py,sha256=RsfvlaHTTEJ0YvYWSqFGoZuT2w4FPPxyQlHqjoyNGuE,4240
|
139
151
|
prefect/logging/__init__.py,sha256=zx9f5_dWrR4DbcTOFBpNGOPoCZ1QcPFudr7zxb2XRpA,148
|
140
152
|
prefect/logging/configuration.py,sha256=t7EJrk7Jr4QMxopH3TP6gRN8kMg_LFBsIoiwXCihrso,3353
|
141
153
|
prefect/logging/filters.py,sha256=9keHLN4-cpnsWcii1qU0RITNi9-m7pOhkJ_t0MtCM4k,1117
|
@@ -144,15 +156,10 @@ prefect/logging/handlers.py,sha256=ywaVcQmC8-v_B9l7Cand6kvjeFgPhfDTiqbHpQKt1vE,1
|
|
144
156
|
prefect/logging/highlighters.py,sha256=_jnmY2q_35wOkKyGBz8j-pABvp2lz2wF_8uHxCgEy6M,1756
|
145
157
|
prefect/logging/loggers.py,sha256=mEthP-_vGAYm7bMhYcIENiJYP-u-gLTTtxV2Dl1ZtRU,12410
|
146
158
|
prefect/logging/logging.yml,sha256=-HoWPYLsKMt5bKRgjIqk8S7tQlAaQ93pGkwIkYtMVMo,3172
|
147
|
-
prefect/records/__init__.py,sha256=rJJhaJBa0AWu63fJhtB-yHBi64qL6p4svo7F0qvm2sc,30
|
148
|
-
prefect/records/base.py,sha256=Ne-7pRGNfmk0a_Vm3t5zRrj26KgGr_L2_XfLID0XzIY,8035
|
149
|
-
prefect/records/filesystem.py,sha256=X-h7r5deiHH5IaaDk4ugOCmR5ZKnJeU2cLgp0AkMt0E,7316
|
150
|
-
prefect/records/memory.py,sha256=YdzQvEfb-CX0sKxAZK5TaNxVvAlyYlZse9qdoer6Xbk,6447
|
151
|
-
prefect/records/result_store.py,sha256=3ZUFNHCCv_qBQhmIFdvlK_GMnPZcFacaI9dVdDKWdwA,2431
|
152
159
|
prefect/runner/__init__.py,sha256=7U-vAOXFkzMfRz1q8Uv6Otsvc0OrPYLLP44srwkJ_8s,89
|
153
160
|
prefect/runner/runner.py,sha256=nk9rxxtAbejrUvnyST7VKk8AxcWU4weMVbuR6zQxp0E,54012
|
154
161
|
prefect/runner/server.py,sha256=UXlxugqV1SiC49aTnwCDsEdQS6AXyfstaJWukuOBVO8,11171
|
155
|
-
prefect/runner/storage.py,sha256=
|
162
|
+
prefect/runner/storage.py,sha256=mK9RBbiHsVlvhPRxSrmQoMKOVwcSYwhBmP4diUSAZrY,27322
|
156
163
|
prefect/runner/submit.py,sha256=DGhBUUIg-N3z788ZqaCcqpIPkvCzQtZeLqjKtQNV1IA,8137
|
157
164
|
prefect/runner/utils.py,sha256=MLtoouDD6bh-JAIz0W3fMofKXEt0VfGsg6d8jf45OA0,3280
|
158
165
|
prefect/runtime/__init__.py,sha256=JswiTlYRup2zXOYu8AqJ7czKtgcw9Kxo0tTbS6aWCqY,407
|
@@ -165,58 +172,60 @@ prefect/settings/__init__.py,sha256=98gr0K9ovrBz1RQsOIUvYTx2RURbFR5PFKew51Ne314,
|
|
165
172
|
prefect/settings/base.py,sha256=lTekZKFzC8IWr4MiejqroJd4Hx6Hk7xu09wn39S99Ng,8470
|
166
173
|
prefect/settings/constants.py,sha256=5NjVLG1Km9J9I-a6wrq-qmi_dTkPdwEk3IrY9bSxWvw,281
|
167
174
|
prefect/settings/context.py,sha256=yKxnaDJHX8e2jmAVtw1RF9o7X4V3AOcz61sVeQyPX2c,2195
|
168
|
-
prefect/settings/legacy.py,sha256=
|
169
|
-
prefect/settings/profiles.py,sha256=
|
175
|
+
prefect/settings/legacy.py,sha256=SlszL6trSFa79gEDJeA1z5hx_jfXZrzFtlVwlHdG8xo,5671
|
176
|
+
prefect/settings/profiles.py,sha256=foLFBkJ9U9z49rDmBZCK_KcBLb_DAmRhbcPSFF7RabA,12260
|
170
177
|
prefect/settings/profiles.toml,sha256=kTvqDNMzjH3fsm5OEI-NKY4dMmipor5EvQXRB6rPEjY,522
|
171
178
|
prefect/settings/sources.py,sha256=qoRt-XwfDB6-rC1UeZxF08G5DzpEtIU66mtm5fI7dP8,12676
|
172
179
|
prefect/settings/models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
173
|
-
prefect/settings/models/api.py,sha256=
|
174
|
-
prefect/settings/models/cli.py,sha256=
|
175
|
-
prefect/settings/models/client.py,sha256=
|
176
|
-
prefect/settings/models/cloud.py,sha256=
|
177
|
-
prefect/settings/models/deployments.py,sha256=
|
178
|
-
prefect/settings/models/experiments.py,sha256=
|
179
|
-
prefect/settings/models/flows.py,sha256=
|
180
|
-
prefect/settings/models/internal.py,sha256=
|
181
|
-
prefect/settings/models/logging.py,sha256=
|
182
|
-
prefect/settings/models/results.py,sha256=
|
183
|
-
prefect/settings/models/root.py,sha256=
|
184
|
-
prefect/settings/models/runner.py,sha256=
|
185
|
-
prefect/settings/models/tasks.py,sha256
|
186
|
-
prefect/settings/models/testing.py,sha256=
|
187
|
-
prefect/settings/models/worker.py,sha256
|
180
|
+
prefect/settings/models/api.py,sha256=YD1XxTJgYq8qbd9mBWYKE8lPgfydj7sA93DCFk6YMFU,1753
|
181
|
+
prefect/settings/models/cli.py,sha256=zGxanG2SY7u-2Pm6qLIlUc8efLpXX_3r8Aq2OGTXSKQ,1002
|
182
|
+
prefect/settings/models/client.py,sha256=brGik8fiQZukUsscddAFJyJ9N_7OPVc8yjR63QMwJX4,3070
|
183
|
+
prefect/settings/models/cloud.py,sha256=aRZ6tKK0Vm5HSeNPen8aBbriCaYY17-EILzw_y0Syy8,1811
|
184
|
+
prefect/settings/models/deployments.py,sha256=7Hrikhg0dJAbN1IJAN2pP1_jqVPd49l-WebWTvXfHIY,1279
|
185
|
+
prefect/settings/models/experiments.py,sha256=zycwUI5y0aTjkNec78Hr9KiuH6JNjrxE8B4zSyaPqo8,959
|
186
|
+
prefect/settings/models/flows.py,sha256=m0FS2uQ2duIwqlcCBUWoHaD2IueheAz4NwoUTT8YKcM,1100
|
187
|
+
prefect/settings/models/internal.py,sha256=VUUydYG8-yu7Sq0gcqQuiX_PQ0apid9LwMikNVuYJus,675
|
188
|
+
prefect/settings/models/logging.py,sha256=QpJmXnBaUjTZqFT_NuyDFkukfd1_Dp-pevq_mbyxKsU,4630
|
189
|
+
prefect/settings/models/results.py,sha256=QnRHXoxHwT98_SacGfL4n0qjz08IFpCaTC99s1baoHI,1441
|
190
|
+
prefect/settings/models/root.py,sha256=iiXViZeTHYTRvxHBRKbKIPejwKmh7OAyN8J5u4efvP8,16425
|
191
|
+
prefect/settings/models/runner.py,sha256=qWBvScVtUFJNFXIrvyGQo7RKoz5xtkyRKvjP_YMth_M,1927
|
192
|
+
prefect/settings/models/tasks.py,sha256=-dmvMpWpjwn-7QEI9ONk7soLyvkSPp15CaAVNRciLkM,3397
|
193
|
+
prefect/settings/models/testing.py,sha256=swRS_F7Cqyw_lpHLjKc-my5yzH3TgAWOaDx-QIdTFcQ,1777
|
194
|
+
prefect/settings/models/worker.py,sha256=-MaOGjMu-Q9gw5tWjhc9ADAXj2xj-B_7bZq66R3-A58,1314
|
188
195
|
prefect/settings/models/server/__init__.py,sha256=KJmffmlHb8GYnClaeYcerae-IaeNsNMucKKRRS_zG9Q,33
|
189
|
-
prefect/settings/models/server/api.py,sha256=
|
190
|
-
prefect/settings/models/server/database.py,sha256=
|
191
|
-
prefect/settings/models/server/deployments.py,sha256=
|
192
|
-
prefect/settings/models/server/ephemeral.py,sha256=
|
193
|
-
prefect/settings/models/server/events.py,sha256=
|
194
|
-
prefect/settings/models/server/flow_run_graph.py,sha256=
|
195
|
-
prefect/settings/models/server/root.py,sha256=
|
196
|
-
prefect/settings/models/server/services.py,sha256=
|
197
|
-
prefect/settings/models/server/tasks.py,sha256=
|
198
|
-
prefect/settings/models/server/ui.py,sha256=
|
196
|
+
prefect/settings/models/server/api.py,sha256=BZvR-BpXl42V_Yr45d1t-6uzgOiLCkpcEzyTPIJpOzw,5016
|
197
|
+
prefect/settings/models/server/database.py,sha256=4Hxirw_sniPupEzKT_9Gj30UZrGVcJ5oIsaGk11mp0M,7276
|
198
|
+
prefect/settings/models/server/deployments.py,sha256=sa4tpZePSYvSPUgQWAxDh96ijuU3wrKbl_gTWBa-PtE,855
|
199
|
+
prefect/settings/models/server/ephemeral.py,sha256=o58Z91NBZmxtinqNtND-1PcgnGOQvDYnLKovpSH5IIs,986
|
200
|
+
prefect/settings/models/server/events.py,sha256=RXXRi25BvxuPLWqG2I2cckFvr5JN0uAq9Pi4etaIXcw,5521
|
201
|
+
prefect/settings/models/server/flow_run_graph.py,sha256=ojKW330m2lsFAn3IMbrdDq5O_SIB427wFz9ywsjNZUo,1103
|
202
|
+
prefect/settings/models/server/root.py,sha256=pPsSZaVyxAKCHUmKiMirlyAU_33BoVnZJdg_Y-jaCm4,5172
|
203
|
+
prefect/settings/models/server/services.py,sha256=Ow-GQgYfh9FINbQoyLRAIx7D08gUcOee7VpjNSuQ1jE,17106
|
204
|
+
prefect/settings/models/server/tasks.py,sha256=qVHzf7eSl1dmng6yDSppztJg6_wbsJLh0fmJHRRlKvA,2912
|
205
|
+
prefect/settings/models/server/ui.py,sha256=SpIWjeWImLorfojBE2jA7HXCKNGlYgw7glKvwUNIt0w,1824
|
199
206
|
prefect/telemetry/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
|
200
207
|
prefect/telemetry/bootstrap.py,sha256=b64UpBBo0Yo7Z8b_V9NQLAlFrpIuJoTs5opYTuB-R20,1550
|
201
208
|
prefect/telemetry/instrumentation.py,sha256=G8kDiN2N4l7A8on-BHbYnh8uqH71zuGr3t2JntxRv0Q,4183
|
202
209
|
prefect/telemetry/logging.py,sha256=yn5D4D2GGRrAv0y8wlHPN7PZDmQucGjQT_YauK9M9Yo,727
|
203
|
-
prefect/telemetry/processors.py,sha256=
|
204
|
-
prefect/telemetry/run_telemetry.py,sha256=
|
205
|
-
prefect/telemetry/services.py,sha256=
|
210
|
+
prefect/telemetry/processors.py,sha256=jw6j6LviOVxw3IBJe7cSjsxFk0zzY43jUmy6C9pcfCE,2272
|
211
|
+
prefect/telemetry/run_telemetry.py,sha256=lMh__rrIQy1TW0r8RJnYZXDxodJyeVU6ymbyv4Mjtsc,8255
|
212
|
+
prefect/telemetry/services.py,sha256=ek5KMSgCjUeIoNl9INPCfKkwlUwyFYp_dUiZd_rD0_8,2270
|
206
213
|
prefect/types/__init__.py,sha256=s-l0r8UiDs7GCEstOPMzbb9PvvF_0F4G8OcVy3_50Yk,4700
|
207
214
|
prefect/types/entrypoint.py,sha256=2FF03-wLPgtnqR_bKJDB2BsXXINPdu8ptY9ZYEZnXg8,328
|
208
215
|
prefect/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
209
216
|
prefect/utilities/_engine.py,sha256=nCmGjFotJnzCr5ccJMbdPEp27TWQq44Fi7nyOQKg7Rg,3357
|
217
|
+
prefect/utilities/_git.py,sha256=bPYWQdr9xvH0BqxR1ll1RkaSb3x0vhwylhYD5EilkKU,863
|
210
218
|
prefect/utilities/annotations.py,sha256=UbQSy60iz8oKHuDnoCDs9kzN3k92fov7g5Ie1rzcZSU,3098
|
211
|
-
prefect/utilities/asyncutils.py,sha256=
|
219
|
+
prefect/utilities/asyncutils.py,sha256=RKl4rPk_-VW0YYjQcESdrxolBWl2BUgpE2-QvEa_tTU,19805
|
212
220
|
prefect/utilities/callables.py,sha256=pQ60sVaQ8jMhVHj3t9mQ_NunTLFb2jK9-34gsb5JUMA,25729
|
213
221
|
prefect/utilities/collections.py,sha256=SH5v6YB8LxzlQGf-hWjB2kb_xEsL9kd5sjVhz0ZK320,23551
|
214
222
|
prefect/utilities/compat.py,sha256=nnPA3lf2f4Y-l645tYFFNmj5NDPaYvjqa9pbGKZ3WKE,582
|
215
223
|
prefect/utilities/context.py,sha256=23SDMgdt07SjmB1qShiykHfGgiv55NBzdbMXM3fE9CI,1447
|
216
224
|
prefect/utilities/dispatch.py,sha256=ykPKflsgO4zIayzQK-ILmZe34ogRdfbDjm3I2r-fNME,6318
|
217
225
|
prefect/utilities/dockerutils.py,sha256=bzokKf8mFS0YcKl6Wg9rZUZAC8dIzH6TdRIwylraVrw,20851
|
218
|
-
prefect/utilities/engine.py,sha256=
|
226
|
+
prefect/utilities/engine.py,sha256=rZBppHVDSTE9lmrJf4JIlDlzH_iaB3Ywn3q75WjkLms,28705
|
219
227
|
prefect/utilities/filesystem.py,sha256=W449XqS33-sIJs6FIc_McctzqhULK7uZDvW396E_YsA,5710
|
228
|
+
prefect/utilities/generics.py,sha256=qhyAIP19iYnf6s9OyBmbY5hVOC0qilrBsh9Np5zM24s,526
|
220
229
|
prefect/utilities/hashing.py,sha256=7jRy26s46IJAFRmVnCnoK9ek9N4p_UfXxQQvu2tW6dM,2589
|
221
230
|
prefect/utilities/importtools.py,sha256=6_Y9yuqt2aoSSTtTj6QYMVjFIxzY14uONtGbWF8JRy4,20223
|
222
231
|
prefect/utilities/math.py,sha256=UPIdJMP13lCU3o0Yz98o4VDw3LTkkrsOAsvAdA3Xifc,2954
|
@@ -234,15 +243,15 @@ prefect/utilities/visualization.py,sha256=4MyQKLb00A1QZCvSrbPEbyqUNByQ_EkJ6wXKFC
|
|
234
243
|
prefect/utilities/schema_tools/__init__.py,sha256=At3rMHd2g_Em2P3_dFQlFgqR_EpBwrYtU2N2OJd0pDE,345
|
235
244
|
prefect/utilities/schema_tools/hydration.py,sha256=4yQMynZSloPFp0tlA7g8udWqE2TjZgfm19Y4R4F0s04,9415
|
236
245
|
prefect/utilities/schema_tools/validation.py,sha256=Wix26IVR-ZJ32-6MX2pHhrwm3reB-Q4iB6_phn85OKE,10743
|
237
|
-
prefect/workers/__init__.py,sha256=
|
246
|
+
prefect/workers/__init__.py,sha256=EaM1F0RZ-XIJaGeTKLsXDnfOPHzVWk5bk0_c4BVS44M,64
|
238
247
|
prefect/workers/base.py,sha256=nBv4pc51J1JRoSkgxvBDfQb4wIEN67D7cBVwT-jYHdI,49198
|
239
248
|
prefect/workers/block.py,sha256=qyyUMdiv5ndUIk-O8uwamESJGXXDQ_BmhKiLlm31ue0,286
|
240
249
|
prefect/workers/cloud.py,sha256=qyyUMdiv5ndUIk-O8uwamESJGXXDQ_BmhKiLlm31ue0,286
|
241
250
|
prefect/workers/process.py,sha256=tcJ3fbiraLCfpVGpv8dOHwMSfVzeD_kyguUOvPuIz6I,19796
|
242
251
|
prefect/workers/server.py,sha256=lgh2FfSuaNU7b6HPxSFm8JtKvAvHsZGkiOo4y4tW1Cw,2022
|
243
252
|
prefect/workers/utilities.py,sha256=VfPfAlGtTuDj0-Kb8WlMgAuOfgXCdrGAnKMapPSBrwc,2483
|
244
|
-
prefect_client-3.1.
|
245
|
-
prefect_client-3.1.
|
246
|
-
prefect_client-3.1.
|
247
|
-
prefect_client-3.1.
|
248
|
-
prefect_client-3.1.
|
253
|
+
prefect_client-3.1.11.dist-info/LICENSE,sha256=MCxsn8osAkzfxKC4CC_dLcUkU8DZLkyihZ8mGs3Ah3Q,11357
|
254
|
+
prefect_client-3.1.11.dist-info/METADATA,sha256=Ac15zURabFwfnsTKF5PtI8YedxH7n8K_DsyQ5Z8rsOQ,7287
|
255
|
+
prefect_client-3.1.11.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
|
256
|
+
prefect_client-3.1.11.dist-info/top_level.txt,sha256=MJZYJgFdbRc2woQCeB4vM6T33tr01TmkEhRcns6H_H4,8
|
257
|
+
prefect_client-3.1.11.dist-info/RECORD,,
|
prefect/records/__init__.py
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
from .base import RecordStore
|
prefect/records/base.py
DELETED
@@ -1,235 +0,0 @@
|
|
1
|
-
import abc
|
2
|
-
import os
|
3
|
-
import socket
|
4
|
-
import threading
|
5
|
-
from contextlib import contextmanager
|
6
|
-
from dataclasses import dataclass
|
7
|
-
from typing import TYPE_CHECKING, Optional
|
8
|
-
|
9
|
-
from prefect._internal.compatibility import deprecated
|
10
|
-
|
11
|
-
if TYPE_CHECKING:
|
12
|
-
from prefect.results import BaseResult
|
13
|
-
from prefect.transactions import IsolationLevel
|
14
|
-
|
15
|
-
|
16
|
-
@deprecated.deprecated_class(
|
17
|
-
start_date="Sep 2024",
|
18
|
-
end_date="Nov 2024",
|
19
|
-
help="Use `ResultRecord` instead to represent a result and its associated metadata.",
|
20
|
-
)
|
21
|
-
@dataclass
|
22
|
-
class TransactionRecord:
|
23
|
-
"""
|
24
|
-
A dataclass representation of a transaction record.
|
25
|
-
"""
|
26
|
-
|
27
|
-
key: str
|
28
|
-
result: "BaseResult"
|
29
|
-
|
30
|
-
|
31
|
-
@deprecated.deprecated_class(
|
32
|
-
start_date="Sep 2024",
|
33
|
-
end_date="Nov 2024",
|
34
|
-
help="Use `ResultStore` and provide a `WritableFileSystem` for `metadata_storage` instead.",
|
35
|
-
)
|
36
|
-
class RecordStore(abc.ABC):
|
37
|
-
@abc.abstractmethod
|
38
|
-
def read(
|
39
|
-
self, key: str, holder: Optional[str] = None
|
40
|
-
) -> Optional[TransactionRecord]:
|
41
|
-
"""
|
42
|
-
Read the transaction record with the given key.
|
43
|
-
|
44
|
-
Args:
|
45
|
-
key: Unique identifier for the transaction record.
|
46
|
-
holder: Unique identifier for the holder of the lock. If a lock exists on
|
47
|
-
the record being written, the read will be blocked until the lock is
|
48
|
-
released if the provided holder does not match the holder of the lock.
|
49
|
-
If not provided, a default holder based on the current host, process,
|
50
|
-
and thread will be used.
|
51
|
-
|
52
|
-
Returns:
|
53
|
-
TransactionRecord: The transaction record with the given key.
|
54
|
-
"""
|
55
|
-
...
|
56
|
-
|
57
|
-
@abc.abstractmethod
|
58
|
-
def write(self, key: str, result: "BaseResult", holder: Optional[str] = None):
|
59
|
-
"""
|
60
|
-
Write the transaction record with the given key.
|
61
|
-
|
62
|
-
Args:
|
63
|
-
key: Unique identifier for the transaction record.
|
64
|
-
record: The transaction record to write.
|
65
|
-
holder: Unique identifier for the holder of the lock. If a lock exists on
|
66
|
-
the record being written, the write will be rejected if the provided
|
67
|
-
holder does not match the holder of the lock. If not provided,
|
68
|
-
a default holder based on the current host, process, and thread will
|
69
|
-
be used.
|
70
|
-
"""
|
71
|
-
...
|
72
|
-
|
73
|
-
@abc.abstractmethod
|
74
|
-
def exists(self, key: str) -> bool:
|
75
|
-
"""
|
76
|
-
Check if the transaction record with the given key exists.
|
77
|
-
|
78
|
-
Args:
|
79
|
-
key: Unique identifier for the transaction record.
|
80
|
-
|
81
|
-
Returns:
|
82
|
-
bool: True if the record exists; False otherwise.
|
83
|
-
"""
|
84
|
-
...
|
85
|
-
|
86
|
-
@abc.abstractmethod
|
87
|
-
def supports_isolation_level(self, isolation_level: "IsolationLevel") -> bool:
|
88
|
-
"""
|
89
|
-
Check if the record store supports the given isolation level.
|
90
|
-
|
91
|
-
Args:
|
92
|
-
isolation_level: The isolation level to check.
|
93
|
-
|
94
|
-
Returns:
|
95
|
-
bool: True if the record store supports the isolation level; False otherwise.
|
96
|
-
"""
|
97
|
-
...
|
98
|
-
|
99
|
-
def acquire_lock(
|
100
|
-
self,
|
101
|
-
key: str,
|
102
|
-
holder: Optional[str] = None,
|
103
|
-
acquire_timeout: Optional[float] = None,
|
104
|
-
hold_timeout: Optional[float] = None,
|
105
|
-
) -> bool:
|
106
|
-
"""
|
107
|
-
Acquire a lock for a transaction record with the given key. Will block other
|
108
|
-
actors from updating this transaction record until the lock is
|
109
|
-
released.
|
110
|
-
|
111
|
-
Args:
|
112
|
-
key: Unique identifier for the transaction record.
|
113
|
-
holder: Unique identifier for the holder of the lock. If not provided,
|
114
|
-
a default holder based on the current host, process, and thread will
|
115
|
-
be used.
|
116
|
-
acquire_timeout: Max number of seconds to wait for the record to become
|
117
|
-
available if it is locked while attempting to acquire a lock. Pass 0
|
118
|
-
to attempt to acquire a lock without waiting. Blocks indefinitely by
|
119
|
-
default.
|
120
|
-
hold_timeout: Max number of seconds to hold the lock for. Holds the lock
|
121
|
-
indefinitely by default.
|
122
|
-
|
123
|
-
Returns:
|
124
|
-
bool: True if the lock was successfully acquired; False otherwise.
|
125
|
-
"""
|
126
|
-
raise NotImplementedError
|
127
|
-
|
128
|
-
def release_lock(self, key: str, holder: Optional[str] = None):
|
129
|
-
"""
|
130
|
-
Releases the lock on the corresponding transaction record.
|
131
|
-
|
132
|
-
Args:
|
133
|
-
key: Unique identifier for the transaction record.
|
134
|
-
holder: Unique identifier for the holder of the lock. Must match the
|
135
|
-
holder provided when acquiring the lock.
|
136
|
-
"""
|
137
|
-
raise NotImplementedError
|
138
|
-
|
139
|
-
def is_locked(self, key: str) -> bool:
|
140
|
-
"""
|
141
|
-
Simple check to see if the corresponding record is currently locked.
|
142
|
-
|
143
|
-
Args:
|
144
|
-
key: Unique identifier for the transaction record.
|
145
|
-
|
146
|
-
Returns:
|
147
|
-
True is the record is locked; False otherwise.
|
148
|
-
"""
|
149
|
-
raise NotImplementedError
|
150
|
-
|
151
|
-
def is_lock_holder(self, key: str, holder: Optional[str] = None) -> bool:
|
152
|
-
"""
|
153
|
-
Check if the current holder is the lock holder for the transaction record.
|
154
|
-
|
155
|
-
Args:
|
156
|
-
key: Unique identifier for the transaction record.
|
157
|
-
holder: Unique identifier for the holder of the lock. If not provided,
|
158
|
-
a default holder based on the current host, process, and thread will
|
159
|
-
be used.
|
160
|
-
|
161
|
-
Returns:
|
162
|
-
bool: True if the current holder is the lock holder; False otherwise.
|
163
|
-
"""
|
164
|
-
raise NotImplementedError
|
165
|
-
|
166
|
-
def wait_for_lock(self, key: str, timeout: Optional[float] = None) -> bool:
|
167
|
-
"""
|
168
|
-
Wait for the corresponding transaction record to become free.
|
169
|
-
|
170
|
-
Args:
|
171
|
-
key: Unique identifier for the transaction record.
|
172
|
-
timeout: Maximum time to wait. None means to wait indefinitely.
|
173
|
-
|
174
|
-
Returns:
|
175
|
-
bool: True if the lock becomes free within the timeout; False
|
176
|
-
otherwise.
|
177
|
-
"""
|
178
|
-
...
|
179
|
-
|
180
|
-
@staticmethod
|
181
|
-
def generate_default_holder() -> str:
|
182
|
-
"""
|
183
|
-
Generate a default holder string using hostname, PID, and thread ID.
|
184
|
-
|
185
|
-
Returns:
|
186
|
-
str: A unique identifier string.
|
187
|
-
"""
|
188
|
-
hostname = socket.gethostname()
|
189
|
-
pid = os.getpid()
|
190
|
-
thread_name = threading.current_thread().name
|
191
|
-
thread_id = threading.get_ident()
|
192
|
-
return f"{hostname}:{pid}:{thread_id}:{thread_name}"
|
193
|
-
|
194
|
-
@contextmanager
|
195
|
-
def lock(
|
196
|
-
self,
|
197
|
-
key: str,
|
198
|
-
holder: Optional[str] = None,
|
199
|
-
acquire_timeout: Optional[float] = None,
|
200
|
-
hold_timeout: Optional[float] = None,
|
201
|
-
):
|
202
|
-
"""
|
203
|
-
Context manager to lock the transaction record during the execution
|
204
|
-
of the nested code block.
|
205
|
-
|
206
|
-
Args:
|
207
|
-
key: Unique identifier for the transaction record.
|
208
|
-
holder: Unique identifier for the holder of the lock. If not provided,
|
209
|
-
a default holder based on the current host, process, and thread will
|
210
|
-
be used.
|
211
|
-
acquire_timeout: Max number of seconds to wait for the record to become
|
212
|
-
available if it is locked while attempting to acquire a lock. Pass 0
|
213
|
-
to attempt to acquire a lock without waiting. Blocks indefinitely by
|
214
|
-
default.
|
215
|
-
hold_timeout: Max number of seconds to hold the lock for. Holds the lock
|
216
|
-
indefinitely by default.
|
217
|
-
|
218
|
-
Example:
|
219
|
-
Hold a lock while during an operation:
|
220
|
-
```python
|
221
|
-
with TransactionRecord(key="my-transaction-record-key").lock():
|
222
|
-
do_stuff()
|
223
|
-
```
|
224
|
-
"""
|
225
|
-
self.acquire_lock(
|
226
|
-
key=key,
|
227
|
-
holder=holder,
|
228
|
-
acquire_timeout=acquire_timeout,
|
229
|
-
hold_timeout=hold_timeout,
|
230
|
-
)
|
231
|
-
|
232
|
-
try:
|
233
|
-
yield
|
234
|
-
finally:
|
235
|
-
self.release_lock(key=key, holder=holder)
|