You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The QUICK RUN button will take default Parameter which is given when registered, but it still takes this default Parameter no matter how I modify it on UI later (settings->Parameters->Default Parameters).
Expected Behavior
"QUICK RUN" should take the parameter after user update it on UI. Like the code below, when I register and run this flow, it will return 3 (2+1), but when I modify the parameter from 2 to 50, it still return 3.
Reproduction
from prefect import task, Flow, Parameter
import prefect
logger = prefect.utilities.logging.get_logger()
@task
def print_plus_one(x):
print(x + 1)
logger.warning(x+1)
with Flow('Parameterized Flow') as flow:
x = Parameter('x', default = 2)
print_plus_one(x=x)
flow.register(project_name="Test Project")
Environment
Prefect version: 0.13.2
The text was updated successfully, but these errors were encountered:
Description
The QUICK RUN button will take default Parameter which is given when registered, but it still takes this default Parameter no matter how I modify it on UI later (settings->Parameters->Default Parameters).
Expected Behavior
"QUICK RUN" should take the parameter after user update it on UI. Like the code below, when I register and run this flow, it will return 3 (2+1), but when I modify the parameter from 2 to 50, it still return 3.
Reproduction
Environment
Prefect version: 0.13.2
The text was updated successfully, but these errors were encountered: