https://prefect.io logo
Title
j

Joshua Grant

11/28/2022, 6:36 PM
What is the purpose in Prefect v2 of the
context
key for the payload in https://orion-docs.prefect.io/api-ref/rest-api/#/Deployments/create_flow_run_from_deployment_deployments__id__create_flow_run_post? Specifically interested in use cases for configuring this.
1
z

Zanie

11/28/2022, 6:54 PM
It’s unused right now — I would not recommend using it.
🙌 1
j

Joshua Grant

11/28/2022, 6:56 PM
@Zanie is there a plan to implement this to define custom values in context via the API?
z

Zanie

11/28/2022, 6:58 PM
I believe that was the intent (similar to v1) but we do not have plans to do so right now. I believe this has been around since we started the v2 project and hasn’t been used. We may remove it or find a purpose for it 🤷
🌮 1