prefect-client 3.2.6__tar.gz → 3.2.7__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 (325) hide show
  1. {prefect_client-3.2.6 → prefect_client-3.2.7}/PKG-INFO +1 -1
  2. prefect_client-3.2.7/src/prefect/_build_info.py +5 -0
  3. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/__init__.py +21 -2
  4. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/schemas/automations.py +1 -1
  5. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/flows.py +8 -2
  6. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/logging/configuration.py +3 -1
  7. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/server.py +9 -2
  8. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/base.py +18 -3
  9. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/root.py +5 -1
  10. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/server/api.py +7 -1
  11. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/server/database.py +14 -0
  12. prefect_client-3.2.6/src/prefect/_build_info.py +0 -5
  13. {prefect_client-3.2.6 → prefect_client-3.2.7}/.gitignore +0 -0
  14. {prefect_client-3.2.6 → prefect_client-3.2.7}/LICENSE +0 -0
  15. {prefect_client-3.2.6 → prefect_client-3.2.7}/README.md +0 -0
  16. {prefect_client-3.2.6 → prefect_client-3.2.7}/pyproject.toml +0 -0
  17. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/.prefectignore +0 -0
  18. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/__init__.py +0 -0
  19. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/__main__.py +0 -0
  20. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_experimental/__init__.py +0 -0
  21. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_experimental/bundles.py +0 -0
  22. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_experimental/lineage.py +0 -0
  23. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_experimental/sla/__init__.py +0 -0
  24. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_experimental/sla/client.py +0 -0
  25. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_experimental/sla/objects.py +0 -0
  26. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/__init__.py +0 -0
  27. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/_logging.py +0 -0
  28. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/compatibility/__init__.py +0 -0
  29. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/compatibility/async_dispatch.py +0 -0
  30. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/compatibility/deprecated.py +0 -0
  31. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/compatibility/migration.py +0 -0
  32. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/concurrency/__init__.py +0 -0
  33. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/concurrency/api.py +0 -0
  34. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/concurrency/calls.py +0 -0
  35. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/concurrency/cancellation.py +0 -0
  36. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/concurrency/event_loop.py +0 -0
  37. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/concurrency/inspection.py +0 -0
  38. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/concurrency/primitives.py +0 -0
  39. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/concurrency/services.py +0 -0
  40. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/concurrency/threads.py +0 -0
  41. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/concurrency/waiters.py +0 -0
  42. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/integrations.py +0 -0
  43. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/pydantic/__init__.py +0 -0
  44. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/pydantic/annotations/__init__.py +0 -0
  45. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/pydantic/annotations/pendulum.py +0 -0
  46. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/pydantic/schemas.py +0 -0
  47. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/pydantic/v1_schema.py +0 -0
  48. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/pydantic/v2_schema.py +0 -0
  49. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/pydantic/v2_validated_func.py +0 -0
  50. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/pytz.py +0 -0
  51. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/retries.py +0 -0
  52. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/schemas/__init__.py +0 -0
  53. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/schemas/bases.py +0 -0
  54. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/schemas/fields.py +0 -0
  55. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/schemas/serializers.py +0 -0
  56. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_internal/schemas/validators.py +0 -0
  57. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_result_records.py +0 -0
  58. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_vendor/croniter/__init__.py +0 -0
  59. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/_vendor/croniter/croniter.py +0 -0
  60. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/agent.py +0 -0
  61. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/artifacts.py +0 -0
  62. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/automations.py +0 -0
  63. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/blocks/__init__.py +0 -0
  64. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/blocks/abstract.py +0 -0
  65. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/blocks/core.py +0 -0
  66. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/blocks/fields.py +0 -0
  67. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/blocks/notifications.py +0 -0
  68. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/blocks/redis.py +0 -0
  69. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/blocks/system.py +0 -0
  70. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/blocks/webhook.py +0 -0
  71. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/cache_policies.py +0 -0
  72. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/__init__.py +0 -0
  73. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/base.py +0 -0
  74. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/cloud.py +0 -0
  75. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/collections.py +0 -0
  76. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/constants.py +0 -0
  77. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_artifacts/__init__.py +0 -0
  78. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_artifacts/client.py +0 -0
  79. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_automations/__init__.py +0 -0
  80. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_automations/client.py +0 -0
  81. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_blocks_documents/__init__.py +0 -0
  82. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_blocks_documents/client.py +0 -0
  83. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_blocks_schemas/__init__.py +0 -0
  84. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_blocks_schemas/client.py +0 -0
  85. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_blocks_types/__init__.py +0 -0
  86. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_blocks_types/client.py +0 -0
  87. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_concurrency_limits/__init__.py +0 -0
  88. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_concurrency_limits/client.py +0 -0
  89. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_deployments/__init__.py +0 -0
  90. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_deployments/client.py +0 -0
  91. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_flow_runs/__init__.py +0 -0
  92. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_flow_runs/client.py +0 -0
  93. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_flows/__init__.py +0 -0
  94. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_flows/client.py +0 -0
  95. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_logs/__init__.py +0 -0
  96. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_logs/client.py +0 -0
  97. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_variables/__init__.py +0 -0
  98. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_variables/client.py +0 -0
  99. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_work_pools/__init__.py +0 -0
  100. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/_work_pools/client.py +0 -0
  101. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/base.py +0 -0
  102. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/orchestration/routes.py +0 -0
  103. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/schemas/__init__.py +0 -0
  104. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/schemas/actions.py +0 -0
  105. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/schemas/filters.py +0 -0
  106. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/schemas/objects.py +0 -0
  107. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/schemas/responses.py +0 -0
  108. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/schemas/schedules.py +0 -0
  109. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/schemas/sorting.py +0 -0
  110. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/subscriptions.py +0 -0
  111. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/types/__init__.py +0 -0
  112. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/types/flexible_schedule_list.py +0 -0
  113. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/client/utilities.py +0 -0
  114. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/__init__.py +0 -0
  115. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/_asyncio.py +0 -0
  116. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/_events.py +0 -0
  117. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/asyncio.py +0 -0
  118. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/context.py +0 -0
  119. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/services.py +0 -0
  120. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/sync.py +0 -0
  121. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/v1/__init__.py +0 -0
  122. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/v1/_asyncio.py +0 -0
  123. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/v1/_events.py +0 -0
  124. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/v1/asyncio.py +0 -0
  125. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/v1/context.py +0 -0
  126. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/v1/services.py +0 -0
  127. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/concurrency/v1/sync.py +0 -0
  128. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/context.py +0 -0
  129. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/deployments/__init__.py +0 -0
  130. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/deployments/base.py +0 -0
  131. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/deployments/deployments.py +0 -0
  132. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/deployments/flow_runs.py +0 -0
  133. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/deployments/runner.py +0 -0
  134. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/deployments/schedules.py +0 -0
  135. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/deployments/steps/__init__.py +0 -0
  136. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/deployments/steps/core.py +0 -0
  137. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/deployments/steps/pull.py +0 -0
  138. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/deployments/steps/utility.py +0 -0
  139. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/docker/__init__.py +0 -0
  140. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/docker/docker_image.py +0 -0
  141. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/engine.py +0 -0
  142. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/__init__.py +0 -0
  143. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/actions.py +0 -0
  144. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/cli/__init__.py +0 -0
  145. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/cli/automations.py +0 -0
  146. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/clients.py +0 -0
  147. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/filters.py +0 -0
  148. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/related.py +0 -0
  149. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/schemas/__init__.py +0 -0
  150. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/schemas/deployment_triggers.py +0 -0
  151. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/schemas/events.py +0 -0
  152. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/schemas/labelling.py +0 -0
  153. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/utilities.py +0 -0
  154. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/events/worker.py +0 -0
  155. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/exceptions.py +0 -0
  156. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/filesystems.py +0 -0
  157. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/flow_engine.py +0 -0
  158. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/flow_runs.py +0 -0
  159. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/futures.py +0 -0
  160. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/infrastructure/__init__.py +0 -0
  161. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/infrastructure/base.py +0 -0
  162. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/infrastructure/provisioners/__init__.py +0 -0
  163. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/infrastructure/provisioners/cloud_run.py +0 -0
  164. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/infrastructure/provisioners/coiled.py +0 -0
  165. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/infrastructure/provisioners/container_instance.py +0 -0
  166. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/infrastructure/provisioners/ecs.py +0 -0
  167. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/infrastructure/provisioners/modal.py +0 -0
  168. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/input/__init__.py +0 -0
  169. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/input/actions.py +0 -0
  170. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/input/run_input.py +0 -0
  171. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/locking/__init__.py +0 -0
  172. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/locking/filesystem.py +0 -0
  173. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/locking/memory.py +0 -0
  174. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/locking/protocol.py +0 -0
  175. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/logging/__init__.py +0 -0
  176. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/logging/filters.py +0 -0
  177. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/logging/formatters.py +0 -0
  178. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/logging/handlers.py +0 -0
  179. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/logging/highlighters.py +0 -0
  180. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/logging/loggers.py +0 -0
  181. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/logging/logging.yml +0 -0
  182. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/main.py +0 -0
  183. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/plugins.py +0 -0
  184. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/py.typed +0 -0
  185. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/results.py +0 -0
  186. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/runner/__init__.py +0 -0
  187. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/runner/runner.py +0 -0
  188. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/runner/server.py +0 -0
  189. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/runner/storage.py +0 -0
  190. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/runner/submit.py +0 -0
  191. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/runner/utils.py +0 -0
  192. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/runtime/__init__.py +0 -0
  193. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/runtime/deployment.py +0 -0
  194. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/runtime/flow_run.py +0 -0
  195. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/runtime/task_run.py +0 -0
  196. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/schedules.py +0 -0
  197. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/serializers.py +0 -0
  198. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/__init__.py +0 -0
  199. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/admin.py +0 -0
  200. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/artifacts.py +0 -0
  201. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/automations.py +0 -0
  202. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/block_capabilities.py +0 -0
  203. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/block_documents.py +0 -0
  204. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/block_schemas.py +0 -0
  205. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/block_types.py +0 -0
  206. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/clients.py +0 -0
  207. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/collections.py +0 -0
  208. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/collections_data/views/aggregate-worker-metadata.json +0 -0
  209. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/concurrency_limits.py +0 -0
  210. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/concurrency_limits_v2.py +0 -0
  211. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/csrf_token.py +0 -0
  212. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/dependencies.py +0 -0
  213. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/deployments.py +0 -0
  214. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/events.py +0 -0
  215. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/flow_run_notification_policies.py +0 -0
  216. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/flow_run_states.py +0 -0
  217. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/flow_runs.py +0 -0
  218. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/flows.py +0 -0
  219. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/logs.py +0 -0
  220. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/middleware.py +0 -0
  221. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/root.py +0 -0
  222. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/run_history.py +0 -0
  223. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/saved_searches.py +0 -0
  224. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/static/prefect-logo-mark-gradient.png +0 -0
  225. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/task_run_states.py +0 -0
  226. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/task_runs.py +0 -0
  227. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/task_workers.py +0 -0
  228. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/templates.py +0 -0
  229. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/ui/__init__.py +0 -0
  230. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/ui/flow_runs.py +0 -0
  231. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/ui/flows.py +0 -0
  232. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/ui/schemas.py +0 -0
  233. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/ui/task_runs.py +0 -0
  234. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/validation.py +0 -0
  235. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/variables.py +0 -0
  236. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/work_queues.py +0 -0
  237. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/server/api/workers.py +0 -0
  238. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/__init__.py +0 -0
  239. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/constants.py +0 -0
  240. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/context.py +0 -0
  241. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/legacy.py +0 -0
  242. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/__init__.py +0 -0
  243. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/api.py +0 -0
  244. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/cli.py +0 -0
  245. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/client.py +0 -0
  246. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/cloud.py +0 -0
  247. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/deployments.py +0 -0
  248. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/experiments.py +0 -0
  249. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/flows.py +0 -0
  250. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/internal.py +0 -0
  251. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/logging.py +0 -0
  252. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/results.py +0 -0
  253. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/runner.py +0 -0
  254. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/server/__init__.py +0 -0
  255. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/server/deployments.py +0 -0
  256. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/server/ephemeral.py +0 -0
  257. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/server/events.py +0 -0
  258. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/server/flow_run_graph.py +0 -0
  259. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/server/root.py +0 -0
  260. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/server/services.py +0 -0
  261. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/server/tasks.py +0 -0
  262. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/server/ui.py +0 -0
  263. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/tasks.py +0 -0
  264. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/testing.py +0 -0
  265. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/models/worker.py +0 -0
  266. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/profiles.py +0 -0
  267. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/profiles.toml +0 -0
  268. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/settings/sources.py +0 -0
  269. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/states.py +0 -0
  270. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/task_engine.py +0 -0
  271. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/task_runners.py +0 -0
  272. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/task_runs.py +0 -0
  273. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/task_worker.py +0 -0
  274. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/tasks.py +0 -0
  275. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/telemetry/__init__.py +0 -0
  276. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/telemetry/bootstrap.py +0 -0
  277. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/telemetry/instrumentation.py +0 -0
  278. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/telemetry/logging.py +0 -0
  279. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/telemetry/processors.py +0 -0
  280. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/telemetry/run_telemetry.py +0 -0
  281. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/telemetry/services.py +0 -0
  282. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/transactions.py +0 -0
  283. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/types/__init__.py +0 -0
  284. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/types/_datetime.py +0 -0
  285. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/types/entrypoint.py +0 -0
  286. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/__init__.py +0 -0
  287. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/_deprecated.py +0 -0
  288. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/_engine.py +0 -0
  289. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/_git.py +0 -0
  290. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/annotations.py +0 -0
  291. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/asyncutils.py +0 -0
  292. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/callables.py +0 -0
  293. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/collections.py +0 -0
  294. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/compat.py +0 -0
  295. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/context.py +0 -0
  296. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/dispatch.py +0 -0
  297. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/dockerutils.py +0 -0
  298. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/engine.py +0 -0
  299. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/filesystem.py +0 -0
  300. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/generics.py +0 -0
  301. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/hashing.py +0 -0
  302. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/importtools.py +0 -0
  303. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/math.py +0 -0
  304. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/names.py +0 -0
  305. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/processutils.py +0 -0
  306. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/pydantic.py +0 -0
  307. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/render_swagger.py +0 -0
  308. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/schema_tools/__init__.py +0 -0
  309. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/schema_tools/hydration.py +0 -0
  310. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/schema_tools/validation.py +0 -0
  311. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/services.py +0 -0
  312. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/slugify.py +0 -0
  313. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/templating.py +0 -0
  314. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/text.py +0 -0
  315. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/timeout.py +0 -0
  316. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/urls.py +0 -0
  317. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/utilities/visualization.py +0 -0
  318. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/variables.py +0 -0
  319. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/workers/__init__.py +0 -0
  320. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/workers/base.py +0 -0
  321. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/workers/block.py +0 -0
  322. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/workers/cloud.py +0 -0
  323. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/workers/process.py +0 -0
  324. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/workers/server.py +0 -0
  325. {prefect_client-3.2.6 → prefect_client-3.2.7}/src/prefect/workers/utilities.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: prefect-client
3
- Version: 3.2.6
3
+ Version: 3.2.7
4
4
  Summary: Workflow orchestration and management.
5
5
  Project-URL: Changelog, https://github.com/PrefectHQ/prefect/releases
6
6
  Project-URL: Documentation, https://docs.prefect.io
@@ -0,0 +1,5 @@
1
+ # Generated by versioningit
2
+ __version__ = "3.2.7"
3
+ __build_date__ = "2025-02-21 19:38:38.599741+00:00"
4
+ __git_commit__ = "d4d9001e40eb378ec68a97f7e3bab07d89c7557c"
5
+ __dirty__ = False
@@ -81,6 +81,7 @@ from prefect.client.orchestration._blocks_types.client import (
81
81
 
82
82
  import prefect
83
83
  import prefect.exceptions
84
+ from prefect.logging.loggers import get_run_logger
84
85
  import prefect.settings
85
86
  import prefect.states
86
87
  from prefect.client.constants import SERVER_API_VERSION
@@ -1182,8 +1183,17 @@ class PrefectClient(
1182
1183
  if api_version.major != client_version.major:
1183
1184
  raise RuntimeError(
1184
1185
  f"Found incompatible versions: client: {client_version}, server: {api_version}. "
1185
- f"Major versions must match."
1186
+ "Major versions must match."
1186
1187
  )
1188
+ if api_version < client_version:
1189
+ warning_message = (
1190
+ "Your Prefect server is running an older version of Prefect than your client which may result in unexpected behavior. "
1191
+ f"Please upgrade your Prefect server from version {api_version} to version {client_version} or higher."
1192
+ )
1193
+ try:
1194
+ get_run_logger().warning(warning_message)
1195
+ except prefect.context.MissingContextError:
1196
+ self.logger.warning(warning_message)
1187
1197
 
1188
1198
  async def __aenter__(self) -> Self:
1189
1199
  """
@@ -1523,8 +1533,17 @@ class SyncPrefectClient(
1523
1533
  if api_version.major != client_version.major:
1524
1534
  raise RuntimeError(
1525
1535
  f"Found incompatible versions: client: {client_version}, server: {api_version}. "
1526
- f"Major versions must match."
1536
+ "Major versions must match."
1527
1537
  )
1538
+ if api_version < client_version:
1539
+ warning_message = (
1540
+ "Your Prefect server is running an older version of Prefect than your client which may result in unexpected behavior. "
1541
+ f"Please upgrade your Prefect server from version {api_version} to version {client_version} or higher."
1542
+ )
1543
+ try:
1544
+ get_run_logger().warning(warning_message)
1545
+ except prefect.context.MissingContextError:
1546
+ self.logger.warning(warning_message)
1528
1547
 
1529
1548
  def set_task_run_name(self, task_run_id: UUID, name: str) -> httpx.Response:
1530
1549
  task_run_data = TaskRunUpdate(name=name)
@@ -84,7 +84,7 @@ class Trigger(PrefectBaseModel, abc.ABC, extra="ignore"): # type: ignore[call-a
84
84
  getattr(self, "name", None)
85
85
  or f"Automation for deployment {self._deployment_id}"
86
86
  ),
87
- description="",
87
+ description=getattr(self, "description", ""),
88
88
  enabled=getattr(self, "enabled", True),
89
89
  trigger=trigger,
90
90
  actions=self.actions(),
@@ -2350,9 +2350,15 @@ async def load_flow_from_flow_run(
2350
2350
  f"Running {len(deployment.pull_steps)} deployment pull step(s)"
2351
2351
  )
2352
2352
 
2353
- from prefect.deployments.steps.core import run_steps
2353
+ from prefect.deployments.steps.core import StepExecutionError, run_steps
2354
+
2355
+ try:
2356
+ output = await run_steps(deployment.pull_steps)
2357
+ except StepExecutionError as e:
2358
+ e = e.__cause__ or e
2359
+ run_logger.error(str(e))
2360
+ raise
2354
2361
 
2355
- output = await run_steps(deployment.pull_steps)
2356
2362
  if output.get("directory"):
2357
2363
  run_logger.debug(f"Changing working directory to {output['directory']!r}")
2358
2364
  os.chdir(output["directory"])
@@ -38,7 +38,9 @@ def load_logging_config(path: Path) -> dict[str, Any]:
38
38
  warnings.filterwarnings("ignore", category=DeprecationWarning)
39
39
  config = yaml.safe_load(
40
40
  # Substitute settings into the template in format $SETTING / ${SETTING}
41
- template.substitute(current_settings.to_environment_variables())
41
+ template.substitute(
42
+ current_settings.to_environment_variables(include_aliases=True)
43
+ )
42
44
  )
43
45
 
44
46
  # Load overrides from the environment
@@ -55,6 +55,7 @@ from prefect.settings import (
55
55
  PREFECT_DEBUG_MODE,
56
56
  PREFECT_MEMO_STORE_PATH,
57
57
  PREFECT_MEMOIZE_BLOCK_AUTO_REGISTRATION,
58
+ PREFECT_SERVER_API_BASE_PATH,
58
59
  PREFECT_SERVER_EPHEMERAL_STARTUP_TIMEOUT_SECONDS,
59
60
  PREFECT_UI_SERVE_BASE,
60
61
  get_current_settings,
@@ -356,7 +357,10 @@ def create_api_app(
356
357
  header_token = request.headers.get("Authorization")
357
358
 
358
359
  # used for probes in k8s and such
359
- if request.url.path in ["/api/health", "/api/ready"]:
360
+ if (
361
+ request.url.path.endswith(("health", "ready"))
362
+ and request.method.upper() == "GET"
363
+ ):
360
364
  return await call_next(request)
361
365
  try:
362
366
  if header_token is None:
@@ -691,7 +695,10 @@ def create_app(
691
695
  name="static",
692
696
  )
693
697
  app.api_app = api_app
694
- app.mount("/api", app=api_app, name="api")
698
+ if PREFECT_SERVER_API_BASE_PATH:
699
+ app.mount(PREFECT_SERVER_API_BASE_PATH.value(), app=api_app, name="api")
700
+ else:
701
+ app.mount("/api", app=api_app, name="api")
695
702
  app.mount("/", app=ui_app, name="ui")
696
703
 
697
704
  def openapi():
@@ -92,6 +92,7 @@ class PrefectBaseSettings(BaseSettings):
92
92
  self,
93
93
  exclude_unset: bool = False,
94
94
  include_secrets: bool = True,
95
+ include_aliases: bool = False,
95
96
  ) -> Dict[str, str]:
96
97
  """Convert the settings object to a dictionary of environment variables."""
97
98
  env: Dict[str, Any] = self.model_dump(
@@ -105,12 +106,26 @@ class PrefectBaseSettings(BaseSettings):
105
106
  child_env = child_settings.to_environment_variables(
106
107
  exclude_unset=exclude_unset,
107
108
  include_secrets=include_secrets,
109
+ include_aliases=include_aliases,
108
110
  )
109
111
  env_variables.update(child_env)
110
112
  elif (value := env.get(key)) is not None:
111
- env_variables[f"{self.model_config.get('env_prefix')}{key.upper()}"] = (
112
- _to_environment_variable_value(value)
113
- )
113
+ validation_alias = self.model_fields[key].validation_alias
114
+ if include_aliases and validation_alias is not None:
115
+ if isinstance(validation_alias, AliasChoices):
116
+ for alias in validation_alias.choices:
117
+ if isinstance(alias, str):
118
+ env_variables[alias.upper()] = (
119
+ _to_environment_variable_value(value)
120
+ )
121
+ elif isinstance(validation_alias, str):
122
+ env_variables[validation_alias.upper()] = (
123
+ _to_environment_variable_value(value)
124
+ )
125
+ else:
126
+ env_variables[
127
+ f"{self.model_config.get('env_prefix')}{key.upper()}"
128
+ ] = _to_environment_variable_value(value)
114
129
  return env_variables
115
130
 
116
131
  @model_serializer(
@@ -381,7 +381,11 @@ def _warn_on_misconfigured_api_url(settings: "Settings"):
381
381
  warnings_list.append(warning)
382
382
 
383
383
  parsed_url = urlparse(api_url)
384
- if parsed_url.path and not parsed_url.path.startswith("/api"):
384
+ if (
385
+ parsed_url.path
386
+ and "api.prefect.cloud" in api_url
387
+ and not parsed_url.path.startswith("/api")
388
+ ):
385
389
  warnings_list.append(
386
390
  "`PREFECT_API_URL` should have `/api` after the base URL."
387
391
  )
@@ -18,7 +18,7 @@ class ServerAPISettings(PrefectBaseSettings):
18
18
 
19
19
  auth_string: Optional[SecretStr] = Field(
20
20
  default=None,
21
- description="A string to use for basic authentication with the API; typically in the form 'user:password' but can be any string.",
21
+ description="A string to use for basic authentication with the API in the form 'user:password'.",
22
22
  )
23
23
 
24
24
  host: str = Field(
@@ -31,6 +31,12 @@ class ServerAPISettings(PrefectBaseSettings):
31
31
  description="The API's port address (defaults to `4200`).",
32
32
  )
33
33
 
34
+ base_path: Optional[str] = Field(
35
+ default=None,
36
+ description="The base URL path to serve the API under.",
37
+ examples=["/v2/api"],
38
+ )
39
+
34
40
  default_limit: int = Field(
35
41
  default=200,
36
42
  description="The default limit applied to queries that can return multiple objects, such as `POST /flow_runs/filter`.",
@@ -30,6 +30,20 @@ class SQLAlchemyConnectArgsSettings(PrefectBaseSettings):
30
30
  description="Controls the application_name field for connections opened from the connection pool when using a PostgreSQL database with the Prefect backend.",
31
31
  )
32
32
 
33
+ statement_cache_size: Optional[int] = Field(
34
+ default=None,
35
+ description="Controls statement cache size for PostgreSQL connections. Setting this to 0 is required when using PgBouncer in transaction mode. Defaults to None.",
36
+ )
37
+
38
+ prepared_statement_cache_size: Optional[int] = Field(
39
+ default=None,
40
+ description=(
41
+ "Controls the size of the statement cache for PostgreSQL connections. "
42
+ "When set to 0, statement caching is disabled. Defaults to None to use "
43
+ "SQLAlchemy's default behavior."
44
+ ),
45
+ )
46
+
33
47
 
34
48
  class SQLAlchemySettings(PrefectBaseSettings):
35
49
  """
@@ -1,5 +0,0 @@
1
- # Generated by versioningit
2
- __version__ = "3.2.6"
3
- __build_date__ = "2025-02-19 21:22:47.670607+00:00"
4
- __git_commit__ = "5ceb3ada542c5a752bab431af83fe790252d4dc8"
5
- __dirty__ = False
File without changes
File without changes