prefect.runtime
from prefect.runtime import deployment print(f"This script is running from deployment {deployment.id} with parameters {deployment.parameters}")
Was this page helpful?