prefect-client 2.18.2__tar.gz → 2.18.3__tar.gz

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 (301) hide show
  1. {prefect-client-2.18.2/src/prefect_client.egg-info → prefect-client-2.18.3}/PKG-INFO +1 -1
  2. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/engine.py +17 -1
  3. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/new_flow_engine.py +40 -4
  4. {prefect-client-2.18.2 → prefect-client-2.18.3/src/prefect_client.egg-info}/PKG-INFO +1 -1
  5. {prefect-client-2.18.2 → prefect-client-2.18.3}/LICENSE +0 -0
  6. {prefect-client-2.18.2 → prefect-client-2.18.3}/MANIFEST.in +0 -0
  7. {prefect-client-2.18.2 → prefect-client-2.18.3}/README.md +0 -0
  8. {prefect-client-2.18.2 → prefect-client-2.18.3}/requirements-client.txt +0 -0
  9. {prefect-client-2.18.2 → prefect-client-2.18.3}/requirements-dev.txt +0 -0
  10. {prefect-client-2.18.2 → prefect-client-2.18.3}/requirements.txt +0 -0
  11. {prefect-client-2.18.2 → prefect-client-2.18.3}/setup.cfg +0 -0
  12. {prefect-client-2.18.2 → prefect-client-2.18.3}/setup.py +0 -0
  13. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/.prefectignore +0 -0
  14. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/__init__.py +0 -0
  15. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/__init__.py +0 -0
  16. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/_logging.py +0 -0
  17. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/compatibility/__init__.py +0 -0
  18. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/compatibility/deprecated.py +0 -0
  19. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/compatibility/experimental.py +0 -0
  20. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/concurrency/__init__.py +0 -0
  21. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/concurrency/api.py +0 -0
  22. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/concurrency/calls.py +0 -0
  23. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/concurrency/cancellation.py +0 -0
  24. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/concurrency/event_loop.py +0 -0
  25. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/concurrency/inspection.py +0 -0
  26. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/concurrency/primitives.py +0 -0
  27. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/concurrency/services.py +0 -0
  28. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/concurrency/threads.py +0 -0
  29. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/concurrency/waiters.py +0 -0
  30. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/__init__.py +0 -0
  31. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/_base_model.py +0 -0
  32. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/_compat.py +0 -0
  33. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/_flags.py +0 -0
  34. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/_types.py +0 -0
  35. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/annotations/__init__.py +0 -0
  36. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/annotations/pendulum.py +0 -0
  37. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/schemas.py +0 -0
  38. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/__init__.py +0 -0
  39. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/config_dict.py +0 -0
  40. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/field_validator.py +0 -0
  41. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/model_construct.py +0 -0
  42. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/model_copy.py +0 -0
  43. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/model_dump.py +0 -0
  44. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/model_dump_json.py +0 -0
  45. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/model_fields.py +0 -0
  46. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/model_fields_set.py +0 -0
  47. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/model_json_schema.py +0 -0
  48. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/model_rebuild.py +0 -0
  49. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/model_validate.py +0 -0
  50. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/model_validate_json.py +0 -0
  51. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/model_validator.py +0 -0
  52. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/utilities/type_adapter.py +0 -0
  53. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/v1_schema.py +0 -0
  54. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/v2_schema.py +0 -0
  55. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pydantic/v2_validated_func.py +0 -0
  56. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/pytz.py +0 -0
  57. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/schemas/__init__.py +0 -0
  58. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/schemas/bases.py +0 -0
  59. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/schemas/fields.py +0 -0
  60. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/schemas/serializers.py +0 -0
  61. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_internal/schemas/validators.py +0 -0
  62. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/__init__.py +0 -0
  63. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/__init__.py +0 -0
  64. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/applications.py +0 -0
  65. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/background.py +0 -0
  66. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/concurrency.py +0 -0
  67. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/datastructures.py +0 -0
  68. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/dependencies/__init__.py +0 -0
  69. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/dependencies/models.py +0 -0
  70. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/dependencies/utils.py +0 -0
  71. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/encoders.py +0 -0
  72. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/exception_handlers.py +0 -0
  73. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/exceptions.py +0 -0
  74. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/logger.py +0 -0
  75. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/middleware/__init__.py +0 -0
  76. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/middleware/asyncexitstack.py +0 -0
  77. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/middleware/cors.py +0 -0
  78. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/middleware/gzip.py +0 -0
  79. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/middleware/httpsredirect.py +0 -0
  80. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/middleware/trustedhost.py +0 -0
  81. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/middleware/wsgi.py +0 -0
  82. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/openapi/__init__.py +0 -0
  83. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/openapi/constants.py +0 -0
  84. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/openapi/docs.py +0 -0
  85. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/openapi/models.py +0 -0
  86. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/openapi/utils.py +0 -0
  87. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/param_functions.py +0 -0
  88. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/params.py +0 -0
  89. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/requests.py +0 -0
  90. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/responses.py +0 -0
  91. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/routing.py +0 -0
  92. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/security/__init__.py +0 -0
  93. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/security/api_key.py +0 -0
  94. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/security/base.py +0 -0
  95. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/security/http.py +0 -0
  96. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/security/oauth2.py +0 -0
  97. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/security/open_id_connect_url.py +0 -0
  98. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/security/utils.py +0 -0
  99. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/staticfiles.py +0 -0
  100. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/templating.py +0 -0
  101. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/testclient.py +0 -0
  102. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/types.py +0 -0
  103. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/utils.py +0 -0
  104. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/fastapi/websockets.py +0 -0
  105. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/__init__.py +0 -0
  106. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/_compat.py +0 -0
  107. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/_exception_handler.py +0 -0
  108. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/_utils.py +0 -0
  109. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/applications.py +0 -0
  110. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/authentication.py +0 -0
  111. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/background.py +0 -0
  112. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/concurrency.py +0 -0
  113. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/config.py +0 -0
  114. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/convertors.py +0 -0
  115. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/datastructures.py +0 -0
  116. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/endpoints.py +0 -0
  117. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/exceptions.py +0 -0
  118. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/formparsers.py +0 -0
  119. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/middleware/__init__.py +0 -0
  120. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/middleware/authentication.py +0 -0
  121. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/middleware/base.py +0 -0
  122. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/middleware/cors.py +0 -0
  123. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/middleware/errors.py +0 -0
  124. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/middleware/exceptions.py +0 -0
  125. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/middleware/gzip.py +0 -0
  126. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/middleware/httpsredirect.py +0 -0
  127. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/middleware/sessions.py +0 -0
  128. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/middleware/trustedhost.py +0 -0
  129. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/middleware/wsgi.py +0 -0
  130. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/requests.py +0 -0
  131. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/responses.py +0 -0
  132. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/routing.py +0 -0
  133. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/schemas.py +0 -0
  134. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/staticfiles.py +0 -0
  135. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/status.py +0 -0
  136. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/templating.py +0 -0
  137. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/testclient.py +0 -0
  138. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/types.py +0 -0
  139. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_vendor/starlette/websockets.py +0 -0
  140. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/_version.py +0 -0
  141. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/agent.py +0 -0
  142. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/artifacts.py +0 -0
  143. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/automations.py +0 -0
  144. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/blocks/__init__.py +0 -0
  145. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/blocks/abstract.py +0 -0
  146. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/blocks/core.py +0 -0
  147. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/blocks/fields.py +0 -0
  148. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/blocks/kubernetes.py +0 -0
  149. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/blocks/notifications.py +0 -0
  150. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/blocks/system.py +0 -0
  151. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/blocks/webhook.py +0 -0
  152. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/__init__.py +0 -0
  153. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/base.py +0 -0
  154. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/cloud.py +0 -0
  155. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/collections.py +0 -0
  156. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/constants.py +0 -0
  157. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/orchestration.py +0 -0
  158. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/schemas/__init__.py +0 -0
  159. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/schemas/actions.py +0 -0
  160. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/schemas/filters.py +0 -0
  161. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/schemas/objects.py +0 -0
  162. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/schemas/responses.py +0 -0
  163. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/schemas/schedules.py +0 -0
  164. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/schemas/sorting.py +0 -0
  165. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/subscriptions.py +0 -0
  166. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/client/utilities.py +0 -0
  167. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/concurrency/__init__.py +0 -0
  168. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/concurrency/asyncio.py +0 -0
  169. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/concurrency/events.py +0 -0
  170. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/concurrency/services.py +0 -0
  171. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/concurrency/sync.py +0 -0
  172. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/context.py +0 -0
  173. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deployments/__init__.py +0 -0
  174. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deployments/base.py +0 -0
  175. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deployments/deployments.py +0 -0
  176. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deployments/runner.py +0 -0
  177. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deployments/schedules.py +0 -0
  178. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deployments/steps/__init__.py +0 -0
  179. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deployments/steps/core.py +0 -0
  180. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deployments/steps/pull.py +0 -0
  181. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deployments/steps/utility.py +0 -0
  182. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deprecated/__init__.py +0 -0
  183. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deprecated/data_documents.py +0 -0
  184. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deprecated/packaging/__init__.py +0 -0
  185. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deprecated/packaging/base.py +0 -0
  186. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deprecated/packaging/docker.py +0 -0
  187. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deprecated/packaging/file.py +0 -0
  188. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deprecated/packaging/orion.py +0 -0
  189. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/deprecated/packaging/serializers.py +0 -0
  190. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/__init__.py +0 -0
  191. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/actions.py +0 -0
  192. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/cli/__init__.py +0 -0
  193. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/cli/automations.py +0 -0
  194. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/clients.py +0 -0
  195. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/filters.py +0 -0
  196. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/instrument.py +0 -0
  197. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/related.py +0 -0
  198. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/schemas/__init__.py +0 -0
  199. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/schemas/automations.py +0 -0
  200. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/schemas/deployment_triggers.py +0 -0
  201. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/schemas/events.py +0 -0
  202. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/schemas/labelling.py +0 -0
  203. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/utilities.py +0 -0
  204. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/events/worker.py +0 -0
  205. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/exceptions.py +0 -0
  206. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/filesystems.py +0 -0
  207. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/flow_runs.py +0 -0
  208. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/flows.py +0 -0
  209. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/futures.py +0 -0
  210. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/infrastructure/__init__.py +0 -0
  211. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/infrastructure/base.py +0 -0
  212. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/infrastructure/container.py +0 -0
  213. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/infrastructure/kubernetes.py +0 -0
  214. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/infrastructure/process.py +0 -0
  215. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/infrastructure/provisioners/__init__.py +0 -0
  216. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/infrastructure/provisioners/cloud_run.py +0 -0
  217. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/infrastructure/provisioners/container_instance.py +0 -0
  218. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/infrastructure/provisioners/ecs.py +0 -0
  219. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/infrastructure/provisioners/modal.py +0 -0
  220. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/input/__init__.py +0 -0
  221. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/input/actions.py +0 -0
  222. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/input/run_input.py +0 -0
  223. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/logging/__init__.py +0 -0
  224. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/logging/configuration.py +0 -0
  225. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/logging/filters.py +0 -0
  226. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/logging/formatters.py +0 -0
  227. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/logging/handlers.py +0 -0
  228. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/logging/highlighters.py +0 -0
  229. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/logging/loggers.py +0 -0
  230. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/logging/logging.yml +0 -0
  231. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/manifests.py +0 -0
  232. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/new_task_engine.py +0 -0
  233. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/plugins.py +0 -0
  234. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/profiles.toml +0 -0
  235. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/py.typed +0 -0
  236. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/pydantic/__init__.py +0 -0
  237. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/pydantic/main.py +0 -0
  238. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/results.py +0 -0
  239. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/runner/__init__.py +0 -0
  240. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/runner/runner.py +0 -0
  241. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/runner/server.py +0 -0
  242. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/runner/storage.py +0 -0
  243. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/runner/submit.py +0 -0
  244. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/runner/utils.py +0 -0
  245. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/runtime/__init__.py +0 -0
  246. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/runtime/deployment.py +0 -0
  247. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/runtime/flow_run.py +0 -0
  248. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/runtime/task_run.py +0 -0
  249. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/serializers.py +0 -0
  250. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/server/api/collections_data/views/aggregate-worker-metadata.json +0 -0
  251. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/server/api/static/prefect-logo-mark-gradient.png +0 -0
  252. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/settings.py +0 -0
  253. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/software/__init__.py +0 -0
  254. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/software/base.py +0 -0
  255. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/software/conda.py +0 -0
  256. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/software/pip.py +0 -0
  257. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/software/python.py +0 -0
  258. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/states.py +0 -0
  259. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/task_engine.py +0 -0
  260. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/task_runners.py +0 -0
  261. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/task_server.py +0 -0
  262. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/tasks.py +0 -0
  263. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/types/__init__.py +0 -0
  264. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/__init__.py +0 -0
  265. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/annotations.py +0 -0
  266. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/asyncutils.py +0 -0
  267. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/callables.py +0 -0
  268. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/collections.py +0 -0
  269. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/compat.py +0 -0
  270. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/context.py +0 -0
  271. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/dispatch.py +0 -0
  272. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/dockerutils.py +0 -0
  273. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/engine.py +0 -0
  274. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/filesystem.py +0 -0
  275. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/hashing.py +0 -0
  276. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/importtools.py +0 -0
  277. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/math.py +0 -0
  278. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/names.py +0 -0
  279. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/processutils.py +0 -0
  280. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/pydantic.py +0 -0
  281. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/render_swagger.py +0 -0
  282. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/schema_tools/__init__.py +0 -0
  283. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/schema_tools/hydration.py +0 -0
  284. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/schema_tools/validation.py +0 -0
  285. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/services.py +0 -0
  286. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/slugify.py +0 -0
  287. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/templating.py +0 -0
  288. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/text.py +0 -0
  289. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/utilities/visualization.py +0 -0
  290. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/variables.py +0 -0
  291. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/workers/__init__.py +0 -0
  292. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/workers/base.py +0 -0
  293. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/workers/block.py +0 -0
  294. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/workers/process.py +0 -0
  295. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/workers/server.py +0 -0
  296. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect/workers/utilities.py +0 -0
  297. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect_client.egg-info/SOURCES.txt +0 -0
  298. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect_client.egg-info/dependency_links.txt +0 -0
  299. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect_client.egg-info/requires.txt +0 -0
  300. {prefect-client-2.18.2 → prefect-client-2.18.3}/src/prefect_client.egg-info/top_level.txt +0 -0
  301. {prefect-client-2.18.2 → prefect-client-2.18.3}/versioneer.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prefect-client
3
- Version: 2.18.2
3
+ Version: 2.18.3
4
4
  Summary: Workflow orchestration and management.
5
5
  Home-page: https://www.prefect.io
6
6
  Author: Prefect Technologies, Inc.
@@ -163,6 +163,7 @@ from prefect.logging.loggers import (
163
163
  from prefect.results import ResultFactory, UnknownResult
164
164
  from prefect.settings import (
165
165
  PREFECT_DEBUG_MODE,
166
+ PREFECT_EXPERIMENTAL_ENABLE_NEW_ENGINE,
166
167
  PREFECT_TASK_INTROSPECTION_WARN_THRESHOLD,
167
168
  PREFECT_TASKS_REFRESH_CACHE,
168
169
  PREFECT_UI_URL,
@@ -189,6 +190,7 @@ from prefect.utilities.annotations import allow_failure, quote, unmapped
189
190
  from prefect.utilities.asyncutils import (
190
191
  gather,
191
192
  is_async_fn,
193
+ run_sync,
192
194
  sync_compatible,
193
195
  )
194
196
  from prefect.utilities.callables import (
@@ -2433,7 +2435,21 @@ if __name__ == "__main__":
2433
2435
  exit(1)
2434
2436
 
2435
2437
  try:
2436
- enter_flow_run_engine_from_subprocess(flow_run_id)
2438
+ if PREFECT_EXPERIMENTAL_ENABLE_NEW_ENGINE.value():
2439
+ from prefect.new_flow_engine import (
2440
+ load_flow_and_flow_run,
2441
+ run_flow,
2442
+ run_flow_sync,
2443
+ )
2444
+
2445
+ flow_run, flow = run_sync(load_flow_and_flow_run)
2446
+ # run the flow
2447
+ if flow.isasync:
2448
+ run_sync(run_flow(flow, flow_run=flow_run))
2449
+ else:
2450
+ run_flow_sync(flow, flow_run=flow_run)
2451
+ else:
2452
+ enter_flow_run_engine_from_subprocess(flow_run_id)
2437
2453
  except Abort as exc:
2438
2454
  engine_logger.info(
2439
2455
  f"Engine execution of flow run '{flow_run_id}' aborted by orchestrator:"
@@ -1,5 +1,6 @@
1
1
  import asyncio
2
2
  import inspect
3
+ import os
3
4
  from contextlib import AsyncExitStack, asynccontextmanager, contextmanager
4
5
  from dataclasses import dataclass
5
6
  from typing import (
@@ -10,22 +11,26 @@ from typing import (
10
11
  Iterable,
11
12
  Literal,
12
13
  Optional,
14
+ Tuple,
13
15
  TypeVar,
14
16
  Union,
15
17
  cast,
16
18
  )
19
+ from uuid import UUID
17
20
 
18
21
  import anyio
19
22
  import anyio._backends._asyncio
20
23
  from sniffio import AsyncLibraryNotFoundError
21
24
  from typing_extensions import ParamSpec
22
25
 
23
- from prefect import Flow, Task, get_client
26
+ from prefect import Task, get_client
24
27
  from prefect.client.orchestration import PrefectClient
25
28
  from prefect.client.schemas import FlowRun, TaskRun
26
29
  from prefect.client.schemas.filters import FlowRunFilter
27
30
  from prefect.client.schemas.sorting import FlowRunSort
28
31
  from prefect.context import FlowRunContext
32
+ from prefect.deployments import load_flow_from_flow_run
33
+ from prefect.flows import Flow, load_flow_from_entrypoint
29
34
  from prefect.futures import PrefectFuture, resolve_futures_to_states
30
35
  from prefect.logging.loggers import flow_run_logger
31
36
  from prefect.results import ResultFactory
@@ -49,16 +54,34 @@ P = ParamSpec("P")
49
54
  R = TypeVar("R")
50
55
 
51
56
 
57
+ async def load_flow_and_flow_run(flow_run_id: UUID) -> Tuple[FlowRun, Flow]:
58
+ ## TODO: add error handling to update state and log tracebacks
59
+ entrypoint = os.environ.get("PREFECT__FLOW_ENTRYPOINT")
60
+
61
+ async with get_client() as client:
62
+ flow_run = await client.read_flow_run(flow_run_id)
63
+ flow = (
64
+ load_flow_from_entrypoint(entrypoint)
65
+ if entrypoint
66
+ else await load_flow_from_flow_run(flow_run, client=client)
67
+ )
68
+ return flow_run, flow
69
+
70
+
52
71
  @dataclass
53
72
  class FlowRunEngine(Generic[P, R]):
54
- flow: Union[Flow[P, R], Flow[P, Coroutine[Any, Any, R]]]
73
+ flow: Optional[Union[Flow[P, R], Flow[P, Coroutine[Any, Any, R]]]] = None
55
74
  parameters: Optional[Dict[str, Any]] = None
56
75
  flow_run: Optional[FlowRun] = None
76
+ flow_run_id: Optional[UUID] = None
57
77
  _is_started: bool = False
58
78
  _client: Optional[PrefectClient] = None
59
79
  short_circuit: bool = False
60
80
 
61
81
  def __post_init__(self):
82
+ if self.flow is None and self.flow_run_id is None:
83
+ raise ValueError("Either a flow or a flow_run_id must be provided.")
84
+
62
85
  if self.parameters is None:
63
86
  self.parameters = {}
64
87
 
@@ -304,6 +327,18 @@ class FlowRunEngine(Generic[P, R]):
304
327
  self._client = client
305
328
  self._is_started = True
306
329
 
330
+ # this conditional is engaged whenever a run is triggered via deployment
331
+ if self.flow_run_id and not self.flow:
332
+ self.flow_run = await client.read_flow_run(self.flow_run_id)
333
+ try:
334
+ self.flow = await self.load_flow(client)
335
+ except Exception as exc:
336
+ await self.handle_exception(
337
+ exc,
338
+ msg="Failed to load flow from entrypoint.",
339
+ )
340
+ self.short_circuit = True
341
+
307
342
  if not self.flow_run:
308
343
  self.flow_run = await self.create_flow_run(client)
309
344
 
@@ -373,8 +408,9 @@ class FlowRunEngine(Generic[P, R]):
373
408
 
374
409
 
375
410
  async def run_flow(
376
- flow: Flow[P, Coroutine[Any, Any, R]],
411
+ flow: Optional[Flow[P, Coroutine[Any, Any, R]]] = None,
377
412
  flow_run: Optional[FlowRun] = None,
413
+ flow_run_id: Optional[UUID] = None,
378
414
  parameters: Optional[Dict[str, Any]] = None,
379
415
  wait_for: Optional[Iterable[PrefectFuture[A, Async]]] = None,
380
416
  return_type: Literal["state", "result"] = "result",
@@ -385,7 +421,7 @@ async def run_flow(
385
421
  We will most likely want to use this logic as a wrapper and return a coroutine for type inference.
386
422
  """
387
423
 
388
- engine = FlowRunEngine[P, R](flow, parameters, flow_run)
424
+ engine = FlowRunEngine[P, R](flow, parameters, flow_run, flow_run_id)
389
425
 
390
426
  # This is a context manager that keeps track of the state of the flow run.
391
427
  async with engine.start() as run:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: prefect-client
3
- Version: 2.18.2
3
+ Version: 2.18.3
4
4
  Summary: Workflow orchestration and management.
5
5
  Home-page: https://www.prefect.io
6
6
  Author: Prefect Technologies, Inc.
File without changes