Hi Community, How do I get the actual value of a ...
# prefect-community
b
Hi Community, How do I get the actual value of a parameter?
Copy code
data_update = Parameter("data_update", required=True)

    put_dateformatted_data_to_s3.map(
        df=data,
        bucket_name=unmapped(get_key_value("bucket")),
        key_name=unmapped("key"),
        suffix=unmapped(f"_{data_update}"),
    )
This writes a file with a name of
19_<Parameter: data_update>.parquet
I want it to be the actual param provided in the flow
k
Where have you been lol? The f-string gets evaluated during build time so you need a task to defer it
b
omg haha it has been too long
that is a task though
f strings get me every time