So I’m using prefect 2.7.11. I have a flow that se...
# ask-community
d
So I’m using prefect 2.7.11. I have a flow that sets default values for 2 parameters (see below). When i run this flow locally, the prefect context shows all parameters as expected. But when I try running this flow via Prefect Cloud, the context object does not show parameters that have any sort of defined default value. How can i access these parameters within the flow_run context
Copy code
def my_flow(
    name: str,
    query: str,
    profile_name: str = None,
    region_name: str = "us-east-1",
):

    context = get_run_context()
    flow_params = context.flow_run.parameters