Skip to main content

prefect.settings.models.cloud

Functions

default_cloud_ui_url

Classes

CloudSettings

Settings for interacting with Prefect Cloud Methods:

post_hoc_settings

refactor on resolution of https://github.com/pydantic/pydantic/issues/9789 we should not be modifying pydantic_fields_set directly, but until we can define dependencies between defaults in a first-class way, we need clean up post-hoc default assignments to keep set/unset fields correct after instantiation.

settings_customise_sources

Define an order for Prefect settings sources. The order of the returned callables decides the priority of inputs; first item is the highest priority. See https://docs.pydantic.dev/latest/concepts/pydantic_settings/#customise-settings-sources

to_environment_variables

Convert the settings object to a dictionary of environment variables.