Felipe Saldana
01/27/2021, 5:31 PMemre
01/27/2021, 6:11 PM'query_and_dump'
if that is what you wanna do.
Use this decision as key to a switch
, this way you can have a seperate task for each single responsibility your monolithic module had, and pick whatever one you want to be run at runtime.
https://docs.prefect.io/api/0.12.6/tasks/control_flow.html#functionsSecret
class to access your secret store. Only difference between a Secret
and a Task
is that Secret
tasks are configured to not cache their results at all.Felipe Saldana
01/27/2021, 6:29 PMemre
01/27/2021, 6:47 PMFelipe Saldana
01/27/2021, 6:50 PMemre
01/27/2021, 6:53 PMFelipe Saldana
01/27/2021, 6:54 PMemre
01/27/2021, 6:59 PMFelipe Saldana
01/27/2021, 7:03 PMemre
01/27/2021, 7:03 PMswitch
statement. So only the secrets required by the actual operation you want are extractedFelipe Saldana
01/27/2021, 7:10 PMemre
01/27/2021, 7:17 PMFelipe Saldana
01/27/2021, 8:11 PM