hi guys, thanks for the awesome tool! missing some...
# ask-community
h
hi guys, thanks for the awesome tool! missing something really simple πŸ˜… is there a way to access run parameters in the target template? i.e., how do i access the
company_name
run parameter when setting the target below (note, this doesn't work because of
dict object has no attribute company_name
):
Copy code
@task(target="{parameters.company_name}/{today}-{task_name}", ...)
i tried
parameters.get("company_name")
instead but still no luck. must be a really simple thing i'm missing (sorry for the spam)
k
Hey @Horatiu Bota, did you see this example?
And no worries about posting. All questions are welcome πŸ™‚
h
ah, thanks a lot! i tried that and it does work, but i thought that maybe there's a direct way to specify it in the template string (without a custom function)
k
Ah I don’t think there is another syntax for that
h
ok, thanks a lot! (side note: i'm loving prefect πŸ™‚ )
k
Glad to hear πŸ‘