prefect-client 2.20.4__py3-none-any.whl → 3.0.0__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.
Files changed (288) hide show
  1. prefect/__init__.py +74 -110
  2. prefect/_internal/compatibility/deprecated.py +6 -115
  3. prefect/_internal/compatibility/experimental.py +4 -79
  4. prefect/_internal/compatibility/migration.py +166 -0
  5. prefect/_internal/concurrency/__init__.py +2 -2
  6. prefect/_internal/concurrency/api.py +1 -35
  7. prefect/_internal/concurrency/calls.py +0 -6
  8. prefect/_internal/concurrency/cancellation.py +0 -3
  9. prefect/_internal/concurrency/event_loop.py +0 -20
  10. prefect/_internal/concurrency/inspection.py +3 -3
  11. prefect/_internal/concurrency/primitives.py +1 -0
  12. prefect/_internal/concurrency/services.py +23 -0
  13. prefect/_internal/concurrency/threads.py +35 -0
  14. prefect/_internal/concurrency/waiters.py +0 -28
  15. prefect/_internal/integrations.py +7 -0
  16. prefect/_internal/pydantic/__init__.py +0 -45
  17. prefect/_internal/pydantic/annotations/pendulum.py +2 -2
  18. prefect/_internal/pydantic/v1_schema.py +21 -22
  19. prefect/_internal/pydantic/v2_schema.py +0 -2
  20. prefect/_internal/pydantic/v2_validated_func.py +18 -23
  21. prefect/_internal/pytz.py +1 -1
  22. prefect/_internal/retries.py +61 -0
  23. prefect/_internal/schemas/bases.py +45 -177
  24. prefect/_internal/schemas/fields.py +1 -43
  25. prefect/_internal/schemas/validators.py +47 -233
  26. prefect/agent.py +3 -695
  27. prefect/artifacts.py +173 -14
  28. prefect/automations.py +39 -4
  29. prefect/blocks/abstract.py +1 -1
  30. prefect/blocks/core.py +405 -153
  31. prefect/blocks/fields.py +2 -57
  32. prefect/blocks/notifications.py +43 -28
  33. prefect/blocks/redis.py +168 -0
  34. prefect/blocks/system.py +67 -20
  35. prefect/blocks/webhook.py +2 -9
  36. prefect/cache_policies.py +239 -0
  37. prefect/client/__init__.py +4 -0
  38. prefect/client/base.py +33 -27
  39. prefect/client/cloud.py +65 -20
  40. prefect/client/collections.py +1 -1
  41. prefect/client/orchestration.py +650 -442
  42. prefect/client/schemas/actions.py +115 -100
  43. prefect/client/schemas/filters.py +46 -52
  44. prefect/client/schemas/objects.py +228 -178
  45. prefect/client/schemas/responses.py +18 -36
  46. prefect/client/schemas/schedules.py +55 -36
  47. prefect/client/schemas/sorting.py +2 -0
  48. prefect/client/subscriptions.py +8 -7
  49. prefect/client/types/flexible_schedule_list.py +11 -0
  50. prefect/client/utilities.py +9 -6
  51. prefect/concurrency/asyncio.py +60 -11
  52. prefect/concurrency/context.py +24 -0
  53. prefect/concurrency/events.py +2 -2
  54. prefect/concurrency/services.py +46 -16
  55. prefect/concurrency/sync.py +51 -7
  56. prefect/concurrency/v1/asyncio.py +143 -0
  57. prefect/concurrency/v1/context.py +27 -0
  58. prefect/concurrency/v1/events.py +61 -0
  59. prefect/concurrency/v1/services.py +116 -0
  60. prefect/concurrency/v1/sync.py +92 -0
  61. prefect/context.py +246 -149
  62. prefect/deployments/__init__.py +33 -18
  63. prefect/deployments/base.py +10 -15
  64. prefect/deployments/deployments.py +2 -1048
  65. prefect/deployments/flow_runs.py +178 -0
  66. prefect/deployments/runner.py +72 -173
  67. prefect/deployments/schedules.py +31 -25
  68. prefect/deployments/steps/__init__.py +0 -1
  69. prefect/deployments/steps/core.py +7 -0
  70. prefect/deployments/steps/pull.py +15 -21
  71. prefect/deployments/steps/utility.py +2 -1
  72. prefect/docker/__init__.py +20 -0
  73. prefect/docker/docker_image.py +82 -0
  74. prefect/engine.py +15 -2475
  75. prefect/events/actions.py +17 -23
  76. prefect/events/cli/automations.py +20 -7
  77. prefect/events/clients.py +142 -80
  78. prefect/events/filters.py +14 -18
  79. prefect/events/related.py +74 -75
  80. prefect/events/schemas/__init__.py +0 -5
  81. prefect/events/schemas/automations.py +55 -46
  82. prefect/events/schemas/deployment_triggers.py +7 -197
  83. prefect/events/schemas/events.py +46 -65
  84. prefect/events/schemas/labelling.py +10 -14
  85. prefect/events/utilities.py +4 -5
  86. prefect/events/worker.py +23 -8
  87. prefect/exceptions.py +15 -0
  88. prefect/filesystems.py +30 -529
  89. prefect/flow_engine.py +827 -0
  90. prefect/flow_runs.py +379 -7
  91. prefect/flows.py +470 -360
  92. prefect/futures.py +382 -331
  93. prefect/infrastructure/__init__.py +5 -26
  94. prefect/infrastructure/base.py +3 -320
  95. prefect/infrastructure/provisioners/__init__.py +5 -3
  96. prefect/infrastructure/provisioners/cloud_run.py +13 -8
  97. prefect/infrastructure/provisioners/container_instance.py +14 -9
  98. prefect/infrastructure/provisioners/ecs.py +10 -8
  99. prefect/infrastructure/provisioners/modal.py +8 -5
  100. prefect/input/__init__.py +4 -0
  101. prefect/input/actions.py +2 -4
  102. prefect/input/run_input.py +9 -9
  103. prefect/logging/formatters.py +2 -4
  104. prefect/logging/handlers.py +9 -14
  105. prefect/logging/loggers.py +5 -5
  106. prefect/main.py +72 -0
  107. prefect/plugins.py +2 -64
  108. prefect/profiles.toml +16 -2
  109. prefect/records/__init__.py +1 -0
  110. prefect/records/base.py +223 -0
  111. prefect/records/filesystem.py +207 -0
  112. prefect/records/memory.py +178 -0
  113. prefect/records/result_store.py +64 -0
  114. prefect/results.py +577 -504
  115. prefect/runner/runner.py +117 -47
  116. prefect/runner/server.py +32 -34
  117. prefect/runner/storage.py +3 -12
  118. prefect/runner/submit.py +2 -10
  119. prefect/runner/utils.py +2 -2
  120. prefect/runtime/__init__.py +1 -0
  121. prefect/runtime/deployment.py +1 -0
  122. prefect/runtime/flow_run.py +40 -5
  123. prefect/runtime/task_run.py +1 -0
  124. prefect/serializers.py +28 -39
  125. prefect/server/api/collections_data/views/aggregate-worker-metadata.json +5 -14
  126. prefect/settings.py +209 -332
  127. prefect/states.py +160 -63
  128. prefect/task_engine.py +1478 -57
  129. prefect/task_runners.py +383 -287
  130. prefect/task_runs.py +240 -0
  131. prefect/task_worker.py +463 -0
  132. prefect/tasks.py +684 -374
  133. prefect/transactions.py +410 -0
  134. prefect/types/__init__.py +72 -86
  135. prefect/types/entrypoint.py +13 -0
  136. prefect/utilities/annotations.py +4 -3
  137. prefect/utilities/asyncutils.py +227 -148
  138. prefect/utilities/callables.py +137 -45
  139. prefect/utilities/collections.py +134 -86
  140. prefect/utilities/dispatch.py +27 -14
  141. prefect/utilities/dockerutils.py +11 -4
  142. prefect/utilities/engine.py +186 -32
  143. prefect/utilities/filesystem.py +4 -5
  144. prefect/utilities/importtools.py +26 -27
  145. prefect/utilities/pydantic.py +128 -38
  146. prefect/utilities/schema_tools/hydration.py +18 -1
  147. prefect/utilities/schema_tools/validation.py +30 -0
  148. prefect/utilities/services.py +35 -9
  149. prefect/utilities/templating.py +12 -2
  150. prefect/utilities/timeout.py +20 -5
  151. prefect/utilities/urls.py +195 -0
  152. prefect/utilities/visualization.py +1 -0
  153. prefect/variables.py +78 -59
  154. prefect/workers/__init__.py +0 -1
  155. prefect/workers/base.py +237 -244
  156. prefect/workers/block.py +5 -226
  157. prefect/workers/cloud.py +6 -0
  158. prefect/workers/process.py +265 -12
  159. prefect/workers/server.py +29 -11
  160. {prefect_client-2.20.4.dist-info → prefect_client-3.0.0.dist-info}/METADATA +28 -24
  161. prefect_client-3.0.0.dist-info/RECORD +201 -0
  162. {prefect_client-2.20.4.dist-info → prefect_client-3.0.0.dist-info}/WHEEL +1 -1
  163. prefect/_internal/pydantic/_base_model.py +0 -51
  164. prefect/_internal/pydantic/_compat.py +0 -82
  165. prefect/_internal/pydantic/_flags.py +0 -20
  166. prefect/_internal/pydantic/_types.py +0 -8
  167. prefect/_internal/pydantic/utilities/config_dict.py +0 -72
  168. prefect/_internal/pydantic/utilities/field_validator.py +0 -150
  169. prefect/_internal/pydantic/utilities/model_construct.py +0 -56
  170. prefect/_internal/pydantic/utilities/model_copy.py +0 -55
  171. prefect/_internal/pydantic/utilities/model_dump.py +0 -136
  172. prefect/_internal/pydantic/utilities/model_dump_json.py +0 -112
  173. prefect/_internal/pydantic/utilities/model_fields.py +0 -50
  174. prefect/_internal/pydantic/utilities/model_fields_set.py +0 -29
  175. prefect/_internal/pydantic/utilities/model_json_schema.py +0 -82
  176. prefect/_internal/pydantic/utilities/model_rebuild.py +0 -80
  177. prefect/_internal/pydantic/utilities/model_validate.py +0 -75
  178. prefect/_internal/pydantic/utilities/model_validate_json.py +0 -68
  179. prefect/_internal/pydantic/utilities/model_validator.py +0 -87
  180. prefect/_internal/pydantic/utilities/type_adapter.py +0 -71
  181. prefect/_vendor/fastapi/__init__.py +0 -25
  182. prefect/_vendor/fastapi/applications.py +0 -946
  183. prefect/_vendor/fastapi/background.py +0 -3
  184. prefect/_vendor/fastapi/concurrency.py +0 -44
  185. prefect/_vendor/fastapi/datastructures.py +0 -58
  186. prefect/_vendor/fastapi/dependencies/__init__.py +0 -0
  187. prefect/_vendor/fastapi/dependencies/models.py +0 -64
  188. prefect/_vendor/fastapi/dependencies/utils.py +0 -877
  189. prefect/_vendor/fastapi/encoders.py +0 -177
  190. prefect/_vendor/fastapi/exception_handlers.py +0 -40
  191. prefect/_vendor/fastapi/exceptions.py +0 -46
  192. prefect/_vendor/fastapi/logger.py +0 -3
  193. prefect/_vendor/fastapi/middleware/__init__.py +0 -1
  194. prefect/_vendor/fastapi/middleware/asyncexitstack.py +0 -25
  195. prefect/_vendor/fastapi/middleware/cors.py +0 -3
  196. prefect/_vendor/fastapi/middleware/gzip.py +0 -3
  197. prefect/_vendor/fastapi/middleware/httpsredirect.py +0 -3
  198. prefect/_vendor/fastapi/middleware/trustedhost.py +0 -3
  199. prefect/_vendor/fastapi/middleware/wsgi.py +0 -3
  200. prefect/_vendor/fastapi/openapi/__init__.py +0 -0
  201. prefect/_vendor/fastapi/openapi/constants.py +0 -2
  202. prefect/_vendor/fastapi/openapi/docs.py +0 -203
  203. prefect/_vendor/fastapi/openapi/models.py +0 -480
  204. prefect/_vendor/fastapi/openapi/utils.py +0 -485
  205. prefect/_vendor/fastapi/param_functions.py +0 -340
  206. prefect/_vendor/fastapi/params.py +0 -453
  207. prefect/_vendor/fastapi/py.typed +0 -0
  208. prefect/_vendor/fastapi/requests.py +0 -4
  209. prefect/_vendor/fastapi/responses.py +0 -40
  210. prefect/_vendor/fastapi/routing.py +0 -1331
  211. prefect/_vendor/fastapi/security/__init__.py +0 -15
  212. prefect/_vendor/fastapi/security/api_key.py +0 -98
  213. prefect/_vendor/fastapi/security/base.py +0 -6
  214. prefect/_vendor/fastapi/security/http.py +0 -172
  215. prefect/_vendor/fastapi/security/oauth2.py +0 -227
  216. prefect/_vendor/fastapi/security/open_id_connect_url.py +0 -34
  217. prefect/_vendor/fastapi/security/utils.py +0 -10
  218. prefect/_vendor/fastapi/staticfiles.py +0 -1
  219. prefect/_vendor/fastapi/templating.py +0 -3
  220. prefect/_vendor/fastapi/testclient.py +0 -1
  221. prefect/_vendor/fastapi/types.py +0 -3
  222. prefect/_vendor/fastapi/utils.py +0 -235
  223. prefect/_vendor/fastapi/websockets.py +0 -7
  224. prefect/_vendor/starlette/__init__.py +0 -1
  225. prefect/_vendor/starlette/_compat.py +0 -28
  226. prefect/_vendor/starlette/_exception_handler.py +0 -80
  227. prefect/_vendor/starlette/_utils.py +0 -88
  228. prefect/_vendor/starlette/applications.py +0 -261
  229. prefect/_vendor/starlette/authentication.py +0 -159
  230. prefect/_vendor/starlette/background.py +0 -43
  231. prefect/_vendor/starlette/concurrency.py +0 -59
  232. prefect/_vendor/starlette/config.py +0 -151
  233. prefect/_vendor/starlette/convertors.py +0 -87
  234. prefect/_vendor/starlette/datastructures.py +0 -707
  235. prefect/_vendor/starlette/endpoints.py +0 -130
  236. prefect/_vendor/starlette/exceptions.py +0 -60
  237. prefect/_vendor/starlette/formparsers.py +0 -276
  238. prefect/_vendor/starlette/middleware/__init__.py +0 -17
  239. prefect/_vendor/starlette/middleware/authentication.py +0 -52
  240. prefect/_vendor/starlette/middleware/base.py +0 -220
  241. prefect/_vendor/starlette/middleware/cors.py +0 -176
  242. prefect/_vendor/starlette/middleware/errors.py +0 -265
  243. prefect/_vendor/starlette/middleware/exceptions.py +0 -74
  244. prefect/_vendor/starlette/middleware/gzip.py +0 -113
  245. prefect/_vendor/starlette/middleware/httpsredirect.py +0 -19
  246. prefect/_vendor/starlette/middleware/sessions.py +0 -82
  247. prefect/_vendor/starlette/middleware/trustedhost.py +0 -64
  248. prefect/_vendor/starlette/middleware/wsgi.py +0 -147
  249. prefect/_vendor/starlette/py.typed +0 -0
  250. prefect/_vendor/starlette/requests.py +0 -328
  251. prefect/_vendor/starlette/responses.py +0 -347
  252. prefect/_vendor/starlette/routing.py +0 -933
  253. prefect/_vendor/starlette/schemas.py +0 -154
  254. prefect/_vendor/starlette/staticfiles.py +0 -248
  255. prefect/_vendor/starlette/status.py +0 -199
  256. prefect/_vendor/starlette/templating.py +0 -231
  257. prefect/_vendor/starlette/testclient.py +0 -804
  258. prefect/_vendor/starlette/types.py +0 -30
  259. prefect/_vendor/starlette/websockets.py +0 -193
  260. prefect/blocks/kubernetes.py +0 -119
  261. prefect/deprecated/__init__.py +0 -0
  262. prefect/deprecated/data_documents.py +0 -350
  263. prefect/deprecated/packaging/__init__.py +0 -12
  264. prefect/deprecated/packaging/base.py +0 -96
  265. prefect/deprecated/packaging/docker.py +0 -146
  266. prefect/deprecated/packaging/file.py +0 -92
  267. prefect/deprecated/packaging/orion.py +0 -80
  268. prefect/deprecated/packaging/serializers.py +0 -171
  269. prefect/events/instrument.py +0 -135
  270. prefect/infrastructure/container.py +0 -824
  271. prefect/infrastructure/kubernetes.py +0 -920
  272. prefect/infrastructure/process.py +0 -289
  273. prefect/manifests.py +0 -20
  274. prefect/new_flow_engine.py +0 -449
  275. prefect/new_task_engine.py +0 -423
  276. prefect/pydantic/__init__.py +0 -76
  277. prefect/pydantic/main.py +0 -39
  278. prefect/software/__init__.py +0 -2
  279. prefect/software/base.py +0 -50
  280. prefect/software/conda.py +0 -199
  281. prefect/software/pip.py +0 -122
  282. prefect/software/python.py +0 -52
  283. prefect/task_server.py +0 -322
  284. prefect_client-2.20.4.dist-info/RECORD +0 -294
  285. /prefect/{_internal/pydantic/utilities → client/types}/__init__.py +0 -0
  286. /prefect/{_vendor → concurrency/v1}/__init__.py +0 -0
  287. {prefect_client-2.20.4.dist-info → prefect_client-3.0.0.dist-info}/LICENSE +0 -0
  288. {prefect_client-2.20.4.dist-info → prefect_client-3.0.0.dist-info}/top_level.txt +0 -0
@@ -1,25 +1,27 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prefect-client
3
- Version: 2.20.4
3
+ Version: 3.0.0
4
4
  Summary: Workflow orchestration and management.
5
5
  Home-page: https://www.prefect.io
6
6
  Author: Prefect Technologies, Inc.
7
7
  Author-email: help@prefect.io
8
- Project-URL: Changelog, https://github.com/PrefectHQ/prefect/blob/main/RELEASE-NOTES.md
8
+ License: UNKNOWN
9
+ Project-URL: Changelog, https://github.com/PrefectHQ/prefect/releases
9
10
  Project-URL: Documentation, https://docs.prefect.io
10
11
  Project-URL: Source, https://github.com/PrefectHQ/prefect
11
12
  Project-URL: Tracker, https://github.com/PrefectHQ/prefect/issues
13
+ Platform: UNKNOWN
12
14
  Classifier: Natural Language :: English
13
15
  Classifier: Intended Audience :: Developers
14
16
  Classifier: Intended Audience :: System Administrators
15
17
  Classifier: License :: OSI Approved :: Apache Software License
16
18
  Classifier: Programming Language :: Python :: 3 :: Only
17
- Classifier: Programming Language :: Python :: 3.8
18
19
  Classifier: Programming Language :: Python :: 3.9
19
20
  Classifier: Programming Language :: Python :: 3.10
20
21
  Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
21
23
  Classifier: Topic :: Software Development :: Libraries
22
- Requires-Python: >=3.8
24
+ Requires-Python: >=3.9
23
25
  Description-Content-Type: text/markdown
24
26
  License-File: LICENSE
25
27
  Requires-Dist: anyio<5.0.0,>=4.4.0
@@ -27,21 +29,25 @@ Requires-Dist: asgi-lifespan<3.0,>=1.0
27
29
  Requires-Dist: cachetools<6.0,>=5.3
28
30
  Requires-Dist: cloudpickle<4.0,>=2.0
29
31
  Requires-Dist: coolname<3.0.0,>=1.0.4
30
- Requires-Dist: croniter<3.0.0,>=1.0.12
32
+ Requires-Dist: croniter<4.0.0,>=1.0.12
33
+ Requires-Dist: exceptiongroup>=1.0.0
34
+ Requires-Dist: fastapi<1.0.0,>=0.111.0
31
35
  Requires-Dist: fsspec>=2022.5.0
32
- Requires-Dist: exceptiongroup>=1.2.1
33
36
  Requires-Dist: graphviz>=0.20.1
34
37
  Requires-Dist: griffe<2.0.0,>=0.49.0
35
38
  Requires-Dist: httpcore<2.0.0,>=1.0.5
36
39
  Requires-Dist: httpx[http2]!=0.23.2,>=0.23
37
- Requires-Dist: importlib-resources<6.5.0,>=6.1.3
38
40
  Requires-Dist: jsonpatch<2.0,>=1.32
39
41
  Requires-Dist: jsonschema<5.0.0,>=4.0.0
40
42
  Requires-Dist: orjson<4.0,>=3.7
41
43
  Requires-Dist: packaging<24.3,>=21.3
42
44
  Requires-Dist: pathspec>=0.8.0
43
- Requires-Dist: pydantic[email]!=2.0.0,!=2.0.1,!=2.1.0,<3.0.0,>=1.10.0
45
+ Requires-Dist: pendulum<4,>=3.0.0
46
+ Requires-Dist: prometheus-client>=0.20.0
47
+ Requires-Dist: pydantic<3.0.0,>=2.7
44
48
  Requires-Dist: pydantic-core<3.0.0,>=2.12.0
49
+ Requires-Dist: pydantic-extra-types<3.0.0,>=2.8.2
50
+ Requires-Dist: pydantic-settings
45
51
  Requires-Dist: python-dateutil<3.0.0,>=2.8.2
46
52
  Requires-Dist: python-slugify<9.0,>=5.0
47
53
  Requires-Dist: pyyaml<7.0.0,>=5.4.1
@@ -54,11 +60,7 @@ Requires-Dist: typing-extensions<5.0.0,>=4.5.0
54
60
  Requires-Dist: ujson<6.0.0,>=5.8.0
55
61
  Requires-Dist: uvicorn!=0.29.0,>=0.14.0
56
62
  Requires-Dist: websockets<14.0,>=10.4
57
- Requires-Dist: itsdangerous
58
- Requires-Dist: python-multipart>=0.0.7
59
63
  Requires-Dist: importlib-metadata>=4.4; python_version < "3.10"
60
- Requires-Dist: pendulum<3.0; python_version < "3.12"
61
- Requires-Dist: pendulum<4,>=3.0.0; python_version >= "3.12"
62
64
  Provides-Extra: notifications
63
65
  Requires-Dist: apprise<2.0.0,>=1.1.0; extra == "notifications"
64
66
 
@@ -84,24 +86,24 @@ Requires-Dist: apprise<2.0.0,>=1.1.0; extra == "notifications"
84
86
 
85
87
  # prefect-client
86
88
 
87
- The `prefect-client` package is a minimal-installation of `prefect` which is designed for interacting with Prefect Cloud
88
- or remote any `prefect` server. It sheds some functionality and dependencies in exchange for a smaller installation size,
89
- making it ideal for use in lightweight or ephemeral environments. These characteristics make it ideal for use in lambdas
90
- or other resource-constrained environments.
89
+ The `prefect-client` package is a minimal-installation of `prefect` which is designed for interacting with Prefect Cloud
90
+ or remote any `prefect` server. It sheds some functionality and dependencies in exchange for a smaller installation size,
91
+ making it ideal for use in lightweight or ephemeral environments. These characteristics make it ideal for use in lambdas
92
+ or other resource-constrained environments.
91
93
 
92
94
 
93
95
  ## Getting started
94
96
 
95
- `prefect-client` shares the same installation requirements as prefect. To install, make sure you are on Python 3.8 or
97
+ `prefect-client` shares the same installation requirements as prefect. To install, make sure you are on Python 3.9 or
96
98
  later and run the following command:
97
99
 
98
100
  ```bash
99
101
  pip install prefect-client
100
102
  ```
101
103
 
102
- Next, ensure that your `prefect-client` has access to a remote `prefect` server by exporting the `PREFECT_API_KEY`
103
- (if using Prefect Cloud) and `PREFECT_API_URL` environment variables. Once those are set, use the package in your code as
104
- you would normally use `prefect`!
104
+ Next, ensure that your `prefect-client` has access to a remote `prefect` server by exporting the `PREFECT_API_KEY`
105
+ (if using Prefect Cloud) and `PREFECT_API_URL` environment variables. Once those are set, use the package in your code as
106
+ you would normally use `prefect`!
105
107
 
106
108
 
107
109
  For example, to remotely trigger a run a deployment:
@@ -150,10 +152,10 @@ query_api()
150
152
 
151
153
 
152
154
  ## Known limitations
153
- By design, `prefect-client` omits all CLI and server components. This means that the CLI is not available for use
154
- and attempts to access server objects will fail. Furthermore, some classes, methods, and objects may be available
155
- for import in `prefect-client` but may not be "runnable" if they tap into server-oriented functionality. If you
156
- encounter such a limitation, feel free to [open an issue](https://github.com/PrefectHQ/prefect/issues/new/choose)
155
+ By design, `prefect-client` omits all CLI and server components. This means that the CLI is not available for use
156
+ and attempts to access server objects will fail. Furthermore, some classes, methods, and objects may be available
157
+ for import in `prefect-client` but may not be "runnable" if they tap into server-oriented functionality. If you
158
+ encounter such a limitation, feel free to [open an issue](https://github.com/PrefectHQ/prefect/issues/new/choose)
157
159
  describing the functionality you are interested in using and we will do our best to make it available.
158
160
 
159
161
 
@@ -171,3 +173,5 @@ Prefect is made possible by the fastest growing community of thousands of friend
171
173
  See our [documentation on contributing to Prefect](https://docs.prefect.io/contributing/overview/).
172
174
 
173
175
  Thanks for being part of the mission to build a new kind of workflow system and, of course, **happy engineering!**
176
+
177
+
@@ -0,0 +1,201 @@
1
+ prefect/.prefectignore,sha256=awSprvKT0vI8a64mEOLrMxhxqcO-b0ERQeYpA2rNKVQ,390
2
+ prefect/__init__.py,sha256=2jnhqiLx5v3iQ2JeTVp4V85uSC_3Yg3HlE05JjjQSGc,3223
3
+ prefect/_version.py,sha256=I9JsXwt7BjAAbMEZgtmE3a6dJ2jqV-wqWto9D6msb3k,24597
4
+ prefect/agent.py,sha256=BOVVY5z-vUIQ2u8LwMTXDaNys2fjOZSS5YGDwJmTQjI,230
5
+ prefect/artifacts.py,sha256=wet3coxBtqK0914uTf-slYpXRVP0mjbZn804hXB-RS4,13011
6
+ prefect/automations.py,sha256=NlQ62GPJzy-gnWQqX7c6CQJKw7p60WLGDAFcy82vtg4,5613
7
+ prefect/cache_policies.py,sha256=779dI23HIPmrtImx9X6eVEH5jc9M7wE9T2isivNo8uM,6570
8
+ prefect/context.py,sha256=PVRSJsDw7U4h2oQBiTKs_uxRiLkO4IKJgWBHNDmFPeo,21575
9
+ prefect/engine.py,sha256=BpmDbe6miZcTl1vRkxfCPYcWSXADLigGPCagFwucMz0,1976
10
+ prefect/exceptions.py,sha256=MZ5Q_NRnEGKdukT7FO3ZelkhSYo-mk1ZXKFNJ8TRXqs,11242
11
+ prefect/filesystems.py,sha256=rbFvlqHXeeo71nK1Y5I0-ucmGOYUcdkbb6N2vpsRcWE,17229
12
+ prefect/flow_engine.py,sha256=h0Wj2827ckJjrUD6hpJwIJR9C7jrZxvPcd3-niXA7H0,29791
13
+ prefect/flow_runs.py,sha256=EaXRIQTOnwnA0fO7_EjwafFRmS57K_CRy0Xsz3JDIhc,16070
14
+ prefect/flows.py,sha256=CtUoPCxyDZZ2RbokIsV8nVr_DTu_eI-Ua6zeXEDifkY,88821
15
+ prefect/futures.py,sha256=OXMH1R52kI0lrLl21uc_SOEGhA78GTk3Nyx4aBytvcM,16299
16
+ prefect/main.py,sha256=fC63TRxZH8WNeME83R9DCDrGW0If0RhSupaq-uNdghU,2061
17
+ prefect/plugins.py,sha256=7AICJzHIu8iAeF9vl9wAYm28pR_k7dkdnm3OyJRfCv4,2229
18
+ prefect/profiles.toml,sha256=kTvqDNMzjH3fsm5OEI-NKY4dMmipor5EvQXRB6rPEjY,522
19
+ prefect/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
20
+ prefect/results.py,sha256=LdbY8tMkqdhrxtXXE2i0TKFEp6h3kmn-XpBGZh4aHCc,27709
21
+ prefect/serializers.py,sha256=Lo41EM0_qGzcfB_63390Izeo3DdK6cY6VZfxa9hpSGQ,8712
22
+ prefect/settings.py,sha256=FBBnacVvf9-vjIIPjvOkaFOzPerZirEpP3GJQjpG_iM,72526
23
+ prefect/states.py,sha256=qevVs9k0iGIwRxze4NUkzykWaCG949OjIDIfe7zr1zQ,24079
24
+ prefect/task_engine.py,sha256=TRFAIxX900nC51bEQaLFVZS15BmGQOdj6sEPc1eXr1U,57249
25
+ prefect/task_runners.py,sha256=W1n0yMwbDIqnvffFVJADo9MGEbLaYkzWk52rqgnkMY4,15019
26
+ prefect/task_runs.py,sha256=jkaQOkRKOHS8fgHUijteriFpjMSKv4zldn1D8tZHkUI,8777
27
+ prefect/task_worker.py,sha256=a8Uw78Ms4p3ikt_la50lENmPLIa-jjbuvunvjVXvRKQ,16785
28
+ prefect/tasks.py,sha256=Cu5uYvjIhNbn_HXsKSSwTKHQlwscWg0f65hNVoHEbBM,68066
29
+ prefect/transactions.py,sha256=Tm7E2H1Acb-B5NqFBFXiVtWSUJRWY5zu_iJGXUE3tzQ,13763
30
+ prefect/variables.py,sha256=iNpHjXf3_lIuvWzOGd2S5DnIMFJAejkyXEuhfEx-LFg,4330
31
+ prefect/_internal/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
32
+ prefect/_internal/_logging.py,sha256=HvNHY-8P469o5u4LYEDBTem69XZEt1QUeUaLToijpak,810
33
+ prefect/_internal/integrations.py,sha256=U4cZMDbnilzZSKaMxvzZcSL27a1tzRMjDoTfr2ul_eY,231
34
+ prefect/_internal/pytz.py,sha256=WWl9x16rKFWequGmcOGs_ljpCDPf2LDHMyZp_4D8e6c,13748
35
+ prefect/_internal/retries.py,sha256=8uuagUX32w5YANLHqjM_1hHmVe9b1HxcwuPMXb1G2Qk,2317
36
+ prefect/_internal/compatibility/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
37
+ prefect/_internal/compatibility/deprecated.py,sha256=nqevphK00rakKgCfkbqBQ4NCktdb4338uuROjFcq6xA,7517
38
+ prefect/_internal/compatibility/experimental.py,sha256=nrIeeAe1vZ0yMb1cPw5AroVR6_msx-bzTeBLzY4au6o,5634
39
+ prefect/_internal/compatibility/migration.py,sha256=O9HrcqxfQ-RrIklH0uGxeXMrQejPz1hmsgrw8zDLJuw,6801
40
+ prefect/_internal/concurrency/__init__.py,sha256=YlTwU9ryjPNwbJa45adLJY00t_DGCh1QrdtY9WdVFfw,2140
41
+ prefect/_internal/concurrency/api.py,sha256=mOajv_f9ms2u3O4sgegJDV2kLeCg9lBavlEZzPw5kr4,7126
42
+ prefect/_internal/concurrency/calls.py,sha256=UlNgzCoy3awKEPnMpexBSa1dk_2MNwCWoZ5YQODEmG4,15437
43
+ prefect/_internal/concurrency/cancellation.py,sha256=D1B_I2cBSGPNXcLaXNaLN_9_QAgFjRmA540RcTmS0rA,18050
44
+ prefect/_internal/concurrency/event_loop.py,sha256=1VBW862QZ6DV9dExWOT398A0fti4A7jW2kcY7Y5V-lI,2073
45
+ prefect/_internal/concurrency/inspection.py,sha256=xfyUNr5CoES8LFhybi2DmzHeW4RpTAbrGPiZOYMVLbQ,3464
46
+ prefect/_internal/concurrency/primitives.py,sha256=BQ0vObO7NUEq-IMbu5aTlfoZpWMbYwinzYP89GIyw68,2609
47
+ prefect/_internal/concurrency/services.py,sha256=0V0BW8ZKFMUKrHvNhjM8PuYyl4Oo9G33RiAjwT7NWis,12775
48
+ prefect/_internal/concurrency/threads.py,sha256=90Wi00pTebfihiFgP-P71DeGTnhlJKctzP69mtjphKU,8860
49
+ prefect/_internal/concurrency/waiters.py,sha256=X6xxsKcHB9ULnCkeUf0cLTI267kI_GC4k96XRuhPhnw,8790
50
+ prefect/_internal/pydantic/__init__.py,sha256=AbpHGcgLb-kRsJGnwFEktk7uzpZOCcBY74-YBdrKVGs,1
51
+ prefect/_internal/pydantic/schemas.py,sha256=tsRKq5yEIgiRbWMl3BPnbfNaKyDN6pq8WSs0M8SQMm4,452
52
+ prefect/_internal/pydantic/v1_schema.py,sha256=H8it3U5-8UoJnkUG3OSuDISZr8mz9gJniJlqfW6Gdxo,1151
53
+ prefect/_internal/pydantic/v2_schema.py,sha256=FA20vh_a5-3TNvQgl11Pe77bsf0qVB6nrUz5Cro6jQ8,3617
54
+ prefect/_internal/pydantic/v2_validated_func.py,sha256=WfEKOMb-tPYdc8o2QX5hDLJhUiykts4Dpwp07cr0Vbo,3476
55
+ prefect/_internal/pydantic/annotations/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
56
+ prefect/_internal/pydantic/annotations/pendulum.py,sha256=F0SMi6ZjxSfp_7rStK79t4gttjy2QNNQRIZxIBfRgSE,2623
57
+ prefect/_internal/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
58
+ prefect/_internal/schemas/bases.py,sha256=L8Lm93Cjfxv6QNu-RXjg59wm6oy97aGRb4niXiha2n4,4124
59
+ prefect/_internal/schemas/fields.py,sha256=m4LrFNz8rA9uBhMk9VyQT6FIXmV_EVAW92hdXeSvHbY,837
60
+ prefect/_internal/schemas/serializers.py,sha256=G_RGHfObjisUiRvd29p-zc6W4bwt5rE1OdR6TXNrRhQ,825
61
+ prefect/_internal/schemas/validators.py,sha256=Y8bHb3EsLJTiHsffg_TPbknj0Nmln8vd6qySLFbfGzY,26546
62
+ prefect/blocks/__init__.py,sha256=BUfh6gIwA6HEjRyVCAiv0he3M1zfM-oY-JrlBfeWeY8,182
63
+ prefect/blocks/abstract.py,sha256=YLzCaf3yXv6wFCF5ZqCIHJNwH7fME1rLxC-SijARHzk,16319
64
+ prefect/blocks/core.py,sha256=TNrNykx16VfBV8qHkYu5_R5PrInQrzr9rWKTv88gLHI,52806
65
+ prefect/blocks/fields.py,sha256=1m507VVmkpOnMF_7N-qboRjtw4_ceIuDneX3jZ3Jm54,63
66
+ prefect/blocks/notifications.py,sha256=_ARWqq0NHFPxaaW27W6VieBVBwAKELeHtAkHXXP3R_g,29076
67
+ prefect/blocks/redis.py,sha256=GUKYyx2QLtyNvgf5FT_dJxbgQcOzWCja3I23J1-AXhM,5629
68
+ prefect/blocks/system.py,sha256=3NnpdgcLdZ0ADWcyYBJ9oTiO6ugbGgUSDgkQs1gzM0E,4715
69
+ prefect/blocks/webhook.py,sha256=mnAfGF64WyjH55BKkTbC1AP9FETNcrm_PEjiqJNpigA,1867
70
+ prefect/client/__init__.py,sha256=fFtCXsGIsBCsAMFKlUPgRVUoIeqq_CsGtFE1knhbHlU,593
71
+ prefect/client/base.py,sha256=2K8UiWzorZNNM4c8c-OiGeZ5i5ViUfZ_Q31oPobbOO0,24956
72
+ prefect/client/cloud.py,sha256=SOqPXvXmFxAatubTyRQQe9i3DkAf4-mZZIpSO3Oy-hA,5819
73
+ prefect/client/collections.py,sha256=u-96saqu0RALAazRI0YaZCJahnuafMppY21KN6ggx80,1059
74
+ prefect/client/constants.py,sha256=Z_GG8KF70vbbXxpJuqW5pLnwzujTVeHbcYYRikNmGH0,29
75
+ prefect/client/orchestration.py,sha256=6cL9Kx3oU9hZKIoVEefEwahrRyncZkxCYHK7eH_3Rjs,146879
76
+ prefect/client/subscriptions.py,sha256=J9uK9NGHO4VX4Y3NGgBJ4pIG_0cf-dJWPhF3f3PGYL4,3388
77
+ prefect/client/utilities.py,sha256=89fmza0cRMOayxgXRdO51TKb11TczJ0ByOZmcZVrt44,3286
78
+ prefect/client/schemas/__init__.py,sha256=KlyqFV-hMulMkNstBn_0ijoHoIwJZaBj6B1r07UmgvE,607
79
+ prefect/client/schemas/actions.py,sha256=LJrioOmj34drliWEMF65_6xZgtv9UxyJgB5ksi1aXhU,28484
80
+ prefect/client/schemas/filters.py,sha256=Pu0wB58_dsNwTeItpQdYII2mwGe0VlLV3ULsuI2PyCg,35648
81
+ prefect/client/schemas/objects.py,sha256=k_aQh3eehyG9jkG5p9bv1SXjru7dJ507RPqhUWdpTUg,54385
82
+ prefect/client/schemas/responses.py,sha256=J61c8ZqrxfOjKkdf6MLLrRBScsS0tql6Q2SPVr04Ids,14767
83
+ prefect/client/schemas/schedules.py,sha256=8rpqjOYtknu2-1n5_WD4cOplgu93P3mCyX86B22LfL4,13070
84
+ prefect/client/schemas/sorting.py,sha256=L-2Mx-igZPtsUoRUguTcG3nIEstMEMPD97NwPM2Ox5s,2579
85
+ prefect/client/types/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
86
+ prefect/client/types/flexible_schedule_list.py,sha256=F1VFAXGLM89dJRBLnVsxwAMGLmrRF2i81FirEMpbB5s,368
87
+ prefect/concurrency/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
88
+ prefect/concurrency/asyncio.py,sha256=BLq_FDp0uyaPug6l8UBjnZe6oT_JsFIdzyW5zHqLeK0,6283
89
+ prefect/concurrency/context.py,sha256=hXt_QDXvj6hidP63k7AnoOUNI1-ZKd6EIrTuopQyzHU,942
90
+ prefect/concurrency/events.py,sha256=EjZwUbbtP-N-u8rk8nbyMIi-BnkshoLkHRYh913jUWU,1810
91
+ prefect/concurrency/services.py,sha256=NlLlnQqmZpOU0hTRSpdDhxzr9f5f9TSiveEm-vbCDPI,3832
92
+ prefect/concurrency/sync.py,sha256=NyjI8AYQpJAWWAvb2PBl92lSMZeOSK7Qk_YfSmAiIic,4408
93
+ prefect/concurrency/v1/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
94
+ prefect/concurrency/v1/asyncio.py,sha256=HFbbt5SYLDov1_-btn4oPI-Z92yY7SdwkHtrbYAqOsI,4792
95
+ prefect/concurrency/v1/context.py,sha256=T3dDOqGx9PUSmDuiqKNEYBGiBJDXeyYoOFxZ3P8IPfw,1040
96
+ prefect/concurrency/v1/events.py,sha256=PhW3iV5z-ez97LBHnte4joHMVPYaZJNRJkNXsZlb0LM,1873
97
+ prefect/concurrency/v1/services.py,sha256=5IwRepJ4IMC0y-PmqXiDr5rR4wl3BuHbP6Tg6C3rrQg,4426
98
+ prefect/concurrency/v1/sync.py,sha256=02QYCXjO42laUTQYP8j2Kr9_ul5VsC1eC5btMM2vP8U,2465
99
+ prefect/deployments/__init__.py,sha256=_wb7NxDKhq11z9MjYsPckmT3o6MRhGLRgCV9TmvYtew,1002
100
+ prefect/deployments/base.py,sha256=rEMb-AXUuO66a7Qwq0KFUI1L0Xrl_-8z7cgAKaysfwg,16136
101
+ prefect/deployments/deployments.py,sha256=EvC9qBdvJRc8CHJqRjFTqtzx75SE8bpZOl5C-2eULyA,109
102
+ prefect/deployments/flow_runs.py,sha256=tH6lpEkgHhQ5Ipr0bhVAjN6AeOoDwY7UKrkbJihJ6D0,6567
103
+ prefect/deployments/runner.py,sha256=JdKOC4EXrtUT39wYiKCuAQiFLq9S9oSpxjPd_V1BzCk,40021
104
+ prefect/deployments/schedules.py,sha256=KCYA6dOmLAoElHZuoWqdJn4Yno4TtOZtXfPOpTLb1cE,2046
105
+ prefect/deployments/steps/__init__.py,sha256=Dlz9VqMRyG1Gal8dj8vfGpPr0LyQhZdvcciozkK8WoY,206
106
+ prefect/deployments/steps/core.py,sha256=5vFf6BSpu992kkaYsvcPpsz-nZxFmayMIDmY9h0Hb8M,6846
107
+ prefect/deployments/steps/pull.py,sha256=N98fU9S6Og204oKsqJf53eP1PdwwyRojtVg8GT2sVhE,7294
108
+ prefect/deployments/steps/utility.py,sha256=s5mMBmHVCS1ZRBRUCunwPueU_7Dii_GK6CqCoznwUCc,8134
109
+ prefect/docker/__init__.py,sha256=jumlacz2HY9l1ee0L9_kE0PFi9NO3l3pWINm9T5N9hs,524
110
+ prefect/docker/docker_image.py,sha256=Y84_ooCYA9NGl6FElJul9-FaW3teT-eia2SiNtZ1LG8,2999
111
+ prefect/events/__init__.py,sha256=GtKl2bE--pJduTxelH2xy7SadlLJmmis8WR1EYixhuA,2094
112
+ prefect/events/actions.py,sha256=4kBV2NwFlC6oXVeMp9Qb2HMNqv1IZ7FcOqeXz1zlRf0,8983
113
+ prefect/events/clients.py,sha256=ym5LM1M69Ar3yKhMrASyqbSYnGsrln6UQgqO-ITDYyY,22136
114
+ prefect/events/filters.py,sha256=IJ1TF-TCC7Wk2nJsbYW-HyAANToDQ6z1MdD63qE-lfw,8186
115
+ prefect/events/related.py,sha256=TQPYIPJI_vZlZgZgq3YpsGCmFleiZCMDtn_jMrYBJRg,6537
116
+ prefect/events/utilities.py,sha256=ajIAiNFTN5Bz57IEq-o-i1BJdUi7P2oYH_6GyQjCKs8,2635
117
+ prefect/events/worker.py,sha256=VEz5xgJ9KuPFNH_H08YJ2_v2lYM5ASE-Nx2Yd9DqfZ8,4126
118
+ prefect/events/cli/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
119
+ prefect/events/cli/automations.py,sha256=WIZ3-EcDibjQB5BrMEx7OZ7UfOqP8VjCI1dNh64Nmg0,11425
120
+ prefect/events/schemas/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
121
+ prefect/events/schemas/automations.py,sha256=he9_v0Oq8AtCJe5gMti5GDQiaGa50sM4Jz9soDf-upU,14396
122
+ prefect/events/schemas/deployment_triggers.py,sha256=i_BtKscXU9kOHAeqmxrYQr8itEYfuPIxAnCW3fo1YeE,3114
123
+ prefect/events/schemas/events.py,sha256=erAIoMtfFjPWeTPpja6Rg3WqUNZhlX7YM3b4CzzuomQ,9053
124
+ prefect/events/schemas/labelling.py,sha256=bU-XYaHXhI2MEBIHngth96R9D02m8HHb85KNcHZ_1Gc,3073
125
+ prefect/infrastructure/__init__.py,sha256=BOVVY5z-vUIQ2u8LwMTXDaNys2fjOZSS5YGDwJmTQjI,230
126
+ prefect/infrastructure/base.py,sha256=BOVVY5z-vUIQ2u8LwMTXDaNys2fjOZSS5YGDwJmTQjI,230
127
+ prefect/infrastructure/provisioners/__init__.py,sha256=wn240gHrQbien2g_g2A8Ujb2iFyjmDgMHLQ7tgQngf4,1706
128
+ prefect/infrastructure/provisioners/cloud_run.py,sha256=K6_8AO_fZRfuI0hGx_EwvlRkiNPcmR5yD9P8B-QSjuc,17745
129
+ prefect/infrastructure/provisioners/container_instance.py,sha256=ZaiaAOywMjbhZI6emzqsDQh-xBePajzjjMT_JY8lwNA,41281
130
+ prefect/infrastructure/provisioners/ecs.py,sha256=8cqabILtoy7t3ISuX8VbFCcG3IOFr3ODWWLi3ls2NyU,47723
131
+ prefect/infrastructure/provisioners/modal.py,sha256=4-VanBPqWlAj_5ckpXT7NonbqP0YwznTXFa4P8cthIs,9080
132
+ prefect/input/__init__.py,sha256=Ue2h-YhYP71nEtsVJaslqMwO6C0ckjhjTYwwEgp-E3g,701
133
+ prefect/input/actions.py,sha256=IGdWjVcesnRjLmPCzB4ZM7FkRWXDKCku6yhE-7p0vKk,3777
134
+ prefect/input/run_input.py,sha256=2wG-0L3N0spwh61Z3xI0PM8AAjHEIQZcDN703Er_gLo,18728
135
+ prefect/logging/__init__.py,sha256=zx9f5_dWrR4DbcTOFBpNGOPoCZ1QcPFudr7zxb2XRpA,148
136
+ prefect/logging/configuration.py,sha256=bYqFJm0QgLz92Dub1Lbl3JONjjm0lTK149pNAGbxPdM,3467
137
+ prefect/logging/filters.py,sha256=9keHLN4-cpnsWcii1qU0RITNi9-m7pOhkJ_t0MtCM4k,1117
138
+ prefect/logging/formatters.py,sha256=3nBWgawvD48slT0zgkKeus1gIyf0OjmDKdLwMEe5mPU,3923
139
+ prefect/logging/handlers.py,sha256=1tdajMbJk0UY7ix0fhdbkmY5FFYTqkPHkmePEbRV8dQ,10562
140
+ prefect/logging/highlighters.py,sha256=BpSXOy0n3lFVvlKWa7jC-HetAiClFi9jnQtEq5-rgok,1681
141
+ prefect/logging/loggers.py,sha256=xmJ4GIuSXyFV4yMMDK-VokMFGbfcX64PLPyzdM_aV9c,11544
142
+ prefect/logging/logging.yml,sha256=UkEewf0c3_dURI2uCU4RrxkhI5Devoa1s93fl7hilcg,3160
143
+ prefect/records/__init__.py,sha256=rJJhaJBa0AWu63fJhtB-yHBi64qL6p4svo7F0qvm2sc,30
144
+ prefect/records/base.py,sha256=4XqjGAmh6LUMHQ0SHaurhpmsFObhH49ucrG4nL2qpy0,7624
145
+ prefect/records/filesystem.py,sha256=bqpN8W_cxqIVkUj7iumKlQ6fKH-fyHjxP_nG4Cbb9HI,7037
146
+ prefect/records/memory.py,sha256=yiPefmgYHHGtJ1JHsMyFRys7Gn9L9iaFeZ1Pyg-4HiM,6242
147
+ prefect/records/result_store.py,sha256=rv8uF0WCsXpkItn2iQ69_SHv3dy_hwcdY_cH7R-8wvU,2244
148
+ prefect/runner/__init__.py,sha256=7U-vAOXFkzMfRz1q8Uv6Otsvc0OrPYLLP44srwkJ_8s,89
149
+ prefect/runner/runner.py,sha256=tcLmvrxVmNK3s5r5GEeDrn7VNKvkpmgMZeGl6Dz6Dxg,47403
150
+ prefect/runner/server.py,sha256=2o5vhrL7Zbn-HBStWhCjqqViex5Ye9GiQ1EW9RSEzdo,10500
151
+ prefect/runner/storage.py,sha256=OsBa4nWdFxOTiAMNLFpexBdi5K3iuxidQx4YWZwditE,24734
152
+ prefect/runner/submit.py,sha256=RuyDr-ved9wjYYarXiehY5oJVFf_HE3XKKACNWpxpPc,8131
153
+ prefect/runner/utils.py,sha256=wVgVa7p5uUL7tfYfDOVuq6QIGf-I8U9dfAjYBmYf6n4,3286
154
+ prefect/runtime/__init__.py,sha256=JswiTlYRup2zXOYu8AqJ7czKtgcw9Kxo0tTbS6aWCqY,407
155
+ prefect/runtime/deployment.py,sha256=Kah8Xdh5f94-CEAXjBgnEB4xAQXXYPaEqDJ_gTqltIY,4752
156
+ prefect/runtime/flow_run.py,sha256=33XsudriajxIRJtebPpqF8cWCRsUpmvb9V0CSipG4J0,9956
157
+ prefect/runtime/task_run.py,sha256=B6v_nZiHy9nKZfnKFQF7izZjAjaiZOT0j80m-VcLxmY,3403
158
+ prefect/server/api/collections_data/views/aggregate-worker-metadata.json,sha256=gqrwGyylzBEzlFSPOJcMuUwdoK_zojpU0SZaBDgK5FE,79748
159
+ prefect/server/api/static/prefect-logo-mark-gradient.png,sha256=ylRjJkI_JHCw8VbQasNnXQHwZW-sH-IQiUGSD3aWP1E,73430
160
+ prefect/types/__init__.py,sha256=SAHJDtWEGidTKXQACJ38nj6fq8r57Gj0Pwo4Gy7pVWs,2234
161
+ prefect/types/entrypoint.py,sha256=2FF03-wLPgtnqR_bKJDB2BsXXINPdu8ptY9ZYEZnXg8,328
162
+ prefect/utilities/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
163
+ prefect/utilities/annotations.py,sha256=Ocj2s5zhnGr8uXUBnOli-OrybXVJdu4-uZvCRpKpV_Q,2820
164
+ prefect/utilities/asyncutils.py,sha256=5iiPlhyky1fJhs0aD2emXpfsMuZnpIp8TjwOhkfBFI8,19831
165
+ prefect/utilities/callables.py,sha256=2M3TE3EW8eH3pv7b0phTQOI2ME5zm-ZgwHOzSgy7jQg,24930
166
+ prefect/utilities/collections.py,sha256=pPa_SZZq80cja6l99b3TV7hRQy366WnuWpOW_FnutMI,17259
167
+ prefect/utilities/compat.py,sha256=mNQZDnzyKaOqy-OV-DnmH_dc7CNF5nQgW_EsA4xMr7g,906
168
+ prefect/utilities/context.py,sha256=BThuUW94-IYgFYTeMIM9KMo8ShT3oiI7w5ajZHzU1j0,1377
169
+ prefect/utilities/dispatch.py,sha256=EthEmyRwv-4W8z2BJclrsOQHJ_pJoZYL0t2cyYPEa-E,6098
170
+ prefect/utilities/dockerutils.py,sha256=kRozGQ7JO6Uxl-ljWtDryzxhf96rHL78aHYDh255Em4,20324
171
+ prefect/utilities/engine.py,sha256=50A0MITbScR6Xc3LPHMBO5uXn8yOdQoMUm5c5cgNH4A,31557
172
+ prefect/utilities/filesystem.py,sha256=frAyy6qOeYa7c-jVbEUGZQEe6J1yF8I_SvUepPd59gI,4415
173
+ prefect/utilities/hashing.py,sha256=EOwZLmoIZImuSTxAvVqInabxJ-4RpEfYeg9e2EDQF8o,1752
174
+ prefect/utilities/importtools.py,sha256=Wo4Tj9hSf7gghP83MxW3w9FK3jkaGKPEobDYjabPqT0,19389
175
+ prefect/utilities/math.py,sha256=wLwcKVidpNeWQi1TUIWWLHGjlz9UgboX9FUGhx_CQzo,2821
176
+ prefect/utilities/names.py,sha256=x-stHcF7_tebJPvB1dz-5FvdXJXNBTg2kFZXSnIBBmk,1657
177
+ prefect/utilities/processutils.py,sha256=yo_GO48pZzgn4A0IK5irTAoqyUCYvWKDSqHXCrtP8c4,14547
178
+ prefect/utilities/pydantic.py,sha256=YEY7hp5ptaYqOzsZJC4dXf9d2g37aOdepoH8FBPg7uw,12394
179
+ prefect/utilities/render_swagger.py,sha256=h2UrORVN3f7gM4zurtMnySjQXZIOWbji3uMinpbkl8U,3717
180
+ prefect/utilities/services.py,sha256=pan_cq-REq2TfTCevdj0OC58qqQFOcetkPN_VV7nDRw,7622
181
+ prefect/utilities/slugify.py,sha256=57Vb14t13F3zm1P65KAu8nVeAz0iJCd1Qc5eMG-R5y8,169
182
+ prefect/utilities/templating.py,sha256=nAiOGMMHGbIDFkGYy-g-dzcbY311WfycdgAhsM3cLpY,13298
183
+ prefect/utilities/text.py,sha256=eXGIsCcZ7h_6hy8T5GDQjL8GiKyktoOqavYub0QjgO4,445
184
+ prefect/utilities/timeout.py,sha256=BRDIOWnqcw3B7X9tIk83Y3n9nQrJzZgduDQ63z-ns8w,1286
185
+ prefect/utilities/urls.py,sha256=GuiV3mk-XfzXx139ySyNQNbNaolA3T-hUZvW3T_PhXU,6396
186
+ prefect/utilities/visualization.py,sha256=Lum4IvLQ0nHsdLt6GGzS3Wwo-828u1rmOKc5mmWu994,6502
187
+ prefect/utilities/schema_tools/__init__.py,sha256=KsFsTEHQqgp89TkDpjggkgBBywoHQPxbx-m6YQhiNEI,322
188
+ prefect/utilities/schema_tools/hydration.py,sha256=k12qVCdLLrK-mNo1hPCdhxM5f_N14Nj0vJdtiWYWffk,8858
189
+ prefect/utilities/schema_tools/validation.py,sha256=2GCjxwApTFwzey40ul9OkcAXrU3r-kWK__9ucMo0qbk,9744
190
+ prefect/workers/__init__.py,sha256=8dP8SLZbWYyC_l9DRTQSE3dEbDgns5DZDhxkp_NfsbQ,35
191
+ prefect/workers/base.py,sha256=nJrjzm4b-3XZlNZi82omDzkDM2LngNOsP5QBnwq30qI,45789
192
+ prefect/workers/block.py,sha256=BOVVY5z-vUIQ2u8LwMTXDaNys2fjOZSS5YGDwJmTQjI,230
193
+ prefect/workers/cloud.py,sha256=BOVVY5z-vUIQ2u8LwMTXDaNys2fjOZSS5YGDwJmTQjI,230
194
+ prefect/workers/process.py,sha256=t1f1EYRoPL5B25KbLgUX2b5q-lCCAXb2Gpf6T2M9WfY,19822
195
+ prefect/workers/server.py,sha256=lgh2FfSuaNU7b6HPxSFm8JtKvAvHsZGkiOo4y4tW1Cw,2022
196
+ prefect/workers/utilities.py,sha256=VfPfAlGtTuDj0-Kb8WlMgAuOfgXCdrGAnKMapPSBrwc,2483
197
+ prefect_client-3.0.0.dist-info/LICENSE,sha256=MCxsn8osAkzfxKC4CC_dLcUkU8DZLkyihZ8mGs3Ah3Q,11357
198
+ prefect_client-3.0.0.dist-info/METADATA,sha256=y6hKIkPCrVcPGjKkJ7u-iGng-nQeui2cBrejongfxbE,7332
199
+ prefect_client-3.0.0.dist-info/WHEEL,sha256=eOLhNAGa2EW3wWl_TU484h7q1UNgy0JXjjoqKoxAAQc,92
200
+ prefect_client-3.0.0.dist-info/top_level.txt,sha256=MJZYJgFdbRc2woQCeB4vM6T33tr01TmkEhRcns6H_H4,8
201
+ prefect_client-3.0.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.0.0)
2
+ Generator: bdist_wheel (0.44.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,51 +0,0 @@
1
- """
2
- This file introduces a conditional import of `BaseModel` from Pydantic, depending on the Pydantic version available. If Pydantic V2 is not used, it falls back to importing `BaseModel` from Pydantic V1. This is to ensure compatibility with different versions of Pydantic.
3
- """
4
- import typing
5
-
6
- from prefect._internal.pydantic._flags import (
7
- HAS_PYDANTIC_V2,
8
- USE_PYDANTIC_V2,
9
- )
10
-
11
- if typing.TYPE_CHECKING:
12
- from pydantic import (
13
- BaseModel,
14
- ConfigDict,
15
- Field,
16
- PrivateAttr,
17
- SecretStr,
18
- ValidationError,
19
- )
20
- from pydantic.fields import FieldInfo
21
-
22
- if HAS_PYDANTIC_V2 and not USE_PYDANTIC_V2:
23
- from pydantic.v1 import (
24
- BaseModel,
25
- ConfigDict,
26
- Field,
27
- PrivateAttr,
28
- SecretStr,
29
- ValidationError,
30
- )
31
- from pydantic.v1.fields import FieldInfo
32
- else:
33
- from pydantic import (
34
- BaseModel,
35
- ConfigDict,
36
- Field,
37
- PrivateAttr,
38
- SecretStr,
39
- ValidationError,
40
- )
41
- from pydantic.fields import FieldInfo
42
-
43
- __all__ = [
44
- "BaseModel",
45
- "Field",
46
- "FieldInfo",
47
- "PrivateAttr",
48
- "SecretStr",
49
- "ConfigDict",
50
- "ValidationError",
51
- ]
@@ -1,82 +0,0 @@
1
- """
2
- Functions within this module check for Pydantic V2 compatibility and provide mechanisms for copying,
3
- dumping, and validating models in a way that is agnostic to the underlying Pydantic version.
4
- """
5
-
6
- import typing
7
-
8
- from ._base_model import BaseModel as PydanticBaseModel
9
- from ._base_model import (
10
- ConfigDict,
11
- Field,
12
- FieldInfo,
13
- PrivateAttr,
14
- SecretStr,
15
- ValidationError,
16
- )
17
- from ._flags import HAS_PYDANTIC_V2, USE_PYDANTIC_V2
18
- from .utilities.config_dict import ConfigMixin
19
- from .utilities.field_validator import field_validator
20
- from .utilities.model_construct import ModelConstructMixin, model_construct
21
- from .utilities.model_copy import ModelCopyMixin, model_copy
22
- from .utilities.model_dump import ModelDumpMixin, model_dump
23
- from .utilities.model_dump_json import ModelDumpJsonMixin, model_dump_json
24
- from .utilities.model_fields import ModelFieldMixin
25
- from .utilities.model_fields_set import ModelFieldsSetMixin, model_fields_set
26
- from .utilities.model_json_schema import ModelJsonSchemaMixin, model_json_schema
27
- from .utilities.model_validate import ModelValidateMixin, model_validate
28
- from .utilities.model_validate_json import ModelValidateJsonMixin, model_validate_json
29
- from .utilities.model_validator import model_validator
30
- from .utilities.type_adapter import TypeAdapter, validate_python
31
-
32
- if typing.TYPE_CHECKING:
33
-
34
- class BaseModel(PydanticBaseModel): # type: ignore
35
- pass
36
-
37
- elif HAS_PYDANTIC_V2 and USE_PYDANTIC_V2:
38
- # In this case, there's no functionality to add, so we just alias the Pydantic v2 BaseModel
39
- class BaseModel(PydanticBaseModel): # type: ignore
40
- pass
41
-
42
- else:
43
- # In this case, we're working with a Pydantic v1 model, so we need to add Pydantic v2 functionality
44
- # TODO: Find a smarter way of attaching these methods so that they don't need to be redefined
45
-
46
- class BaseModel(
47
- ModelConstructMixin,
48
- ModelCopyMixin,
49
- ModelDumpMixin,
50
- ModelDumpJsonMixin,
51
- ModelJsonSchemaMixin,
52
- ModelValidateMixin,
53
- ModelValidateJsonMixin,
54
- ModelFieldMixin,
55
- ConfigMixin,
56
- ModelFieldsSetMixin,
57
- PydanticBaseModel,
58
- ):
59
- pass
60
-
61
-
62
- __all__ = [
63
- "model_construct",
64
- "model_copy",
65
- "model_dump",
66
- "model_dump_json",
67
- "model_json_schema",
68
- "model_validate",
69
- "model_validate_json",
70
- "model_fields_set",
71
- "TypeAdapter",
72
- "validate_python",
73
- "BaseModel",
74
- "Field",
75
- "FieldInfo",
76
- "field_validator",
77
- "model_validator",
78
- "PrivateAttr",
79
- "SecretStr",
80
- "ConfigDict",
81
- "ValidationError",
82
- ]
@@ -1,20 +0,0 @@
1
- """
2
- This file defines flags that determine whether Pydantic V2 is available and whether its features should be used.
3
- """
4
- import os
5
-
6
- # Retrieve current version of Pydantic installed in environment
7
- from pydantic.version import VERSION as PYDANTIC_VERSION
8
-
9
- # Check if Pydantic version 2 is the installed version
10
- HAS_PYDANTIC_V2 = PYDANTIC_VERSION.startswith("2.")
11
-
12
- # Determine if Pydantic v2 internals should be used based on an environment variable.
13
- USE_PYDANTIC_V2 = os.environ.get(
14
- "PREFECT_EXPERIMENTAL_ENABLE_PYDANTIC_V2_INTERNALS", False
15
- ) in {"1", "true", "True"}
16
-
17
- USE_V2_MODELS = HAS_PYDANTIC_V2 and USE_PYDANTIC_V2
18
-
19
- # Set to True if Pydantic v2 is present but not enabled, indicating deprecation warnings may occur.
20
- EXPECT_DEPRECATION_WARNINGS = HAS_PYDANTIC_V2 and not USE_PYDANTIC_V2
@@ -1,8 +0,0 @@
1
- from typing import Any, Dict, Literal, Set, Union
2
-
3
- from typing_extensions import TypeAlias
4
-
5
- IncEx: TypeAlias = "Union[Set[int], Set[str], Dict[int, Any], Dict[str, Any], None]"
6
-
7
- DEFAULT_REF_TEMPLATE = "#/$defs/{model}"
8
- JsonSchemaMode = Literal["validation", "serialization"]
@@ -1,72 +0,0 @@
1
- import typing
2
-
3
- from prefect._internal.pydantic._base_model import BaseModel, ConfigDict
4
- from prefect._internal.pydantic._flags import HAS_PYDANTIC_V2, USE_PYDANTIC_V2
5
-
6
- if HAS_PYDANTIC_V2:
7
- from pydantic.v1.main import ModelMetaclass as PydanticModelMetaclass
8
- else:
9
- from pydantic.main import ModelMetaclass as PydanticModelMetaclass
10
-
11
-
12
- if USE_PYDANTIC_V2:
13
-
14
- class ConfigMixin(BaseModel): # type: ignore
15
- pass
16
-
17
- else:
18
- T = typing.TypeVar("T")
19
-
20
- CONFIG_V1_V2_KEYS: typing.Dict[str, str] = {
21
- "allow_population_by_field_name": "populate_by_name",
22
- "anystr_lower": "str_to_lower",
23
- "anystr_strip_whitespace": "str_strip_whitespace",
24
- "anystr_upper": "str_to_upper",
25
- "keep_untouched": "ignored_types",
26
- "max_anystr_length": "str_max_length",
27
- "min_anystr_length": "str_min_length",
28
- "orm_mode": "from_attributes",
29
- "schema_extra": "json_schema_extra",
30
- "validate_all": "validate_default",
31
- "copy_on_model_validation": "revalidate_instances",
32
- }
33
-
34
- CONFIG_V2_V1_KEYS: typing.Dict[str, str] = {
35
- v: k for k, v in CONFIG_V1_V2_KEYS.items()
36
- }
37
-
38
- def _convert_v2_config_to_v1_config(
39
- config_dict: typing.Union[ConfigDict, typing.Dict[str, typing.Any]],
40
- ) -> type:
41
- deprecated_renamed_keys = CONFIG_V2_V1_KEYS.keys() & config_dict.keys()
42
- output: typing.Dict[str, typing.Any] = {}
43
- for k in sorted(deprecated_renamed_keys):
44
- if CONFIG_V2_V1_KEYS[k] == "copy_on_model_validation":
45
- value = config_dict.get(k)
46
- if value == "never":
47
- output[CONFIG_V2_V1_KEYS[k]] = "none"
48
- if value == "always":
49
- output[CONFIG_V2_V1_KEYS[k]] = "deep"
50
- if value == "subclass-instances":
51
- output[CONFIG_V2_V1_KEYS[k]] = "deep"
52
- else:
53
- output[CONFIG_V2_V1_KEYS[k]] = config_dict.get(k)
54
- return type("Config", (), output)
55
-
56
- class ConfigMeta(PydanticModelMetaclass): # type: ignore
57
- def __new__( # type: ignore
58
- cls,
59
- name: str,
60
- bases: typing.Any,
61
- namespace: typing.Dict[str, typing.Any],
62
- **kwargs: typing.Any,
63
- ): # type: ignore
64
- if model_config := namespace.get("model_config"):
65
- namespace["Config"] = _convert_v2_config_to_v1_config(model_config)
66
- return super().__new__(cls, name, bases, namespace, **kwargs) # type: ignore
67
-
68
- class ConfigMixin(BaseModel, metaclass=ConfigMeta):
69
- model_config: typing.ClassVar[ConfigDict]
70
-
71
-
72
- __all__ = ["ConfigMixin"]