prefect.utilities.urls
validate_restricted_url
url
: The URL to validate.ValueError
: If the URL is a restricted URL.convert_class_to_name
url_for
obj
:
A Prefect object to get the URL for, or its URL name and ID.obj_id
:
The UUID of the object.url_type
:
Whether to return the URL for the UI (default) or API.default_base_url
:
The default base URL to use if no URL is configured.additional_format_kwargs
:
Additional keyword arguments to pass to the URL format.