Skip to main content

prefect.server.utilities.user_templates

Utilities to support safely rendering user-supplied templates

Functions

register_user_template_filters

Register additional filters that will be available to user templates

validate_user_template

matching_types_in_templates

maybe_template

render_user_template

render_user_template_sync

Classes

UserTemplateEnvironment

TemplateSecurityError

Raised when extended validation of a template fails.

TemplateRenderError

Raised when a user-supplied template fails to render.