Akiva Wolberg
10/07/2021, 2:54 PMconn = psycopg2.connect()
from a task back to the flow, and then use it as an argument in another task?
• if so, should I consider separating out the SSH and database connections into separate tasks?
• using PrefectSecret appropriately --- I currently have a .env
file and a task to get the environment variables and then use the results as a parameter in my other functions, but I suspect this isn't quite right.Kevin Kho
Kevin Kho
context
is created from the environment variables and secrets are loaded inn .context
is not really mutable after this.Akiva Wolberg
10/07/2021, 3:11 PMKevin Kho
Kevin Kho
Akiva Wolberg
10/07/2021, 3:20 PMKevin Kho