prefect.runtime
__init__
Module for easily accessing dynamic attributes for a given run, especially those generated from deployments. Example usage:
Was this page helpful?
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
prefect.runtimefrom prefect.runtime import deployment
print(f"This script is running from deployment {deployment.id} with parameters {deployment.parameters}")
Was this page helpful?