kiran
12/11/2023, 5:41 PMfrom prefect.blocks.system import Secret
pwd = Secret.load("db-password")
print(pwd.get())
Nate
12/11/2023, 5:49 PMprint
from within a flow or task where log_prints=True
note that this setting is inherited, that is, if a parent flow has log_prints=True
then all child subflows or tasks will inherit that setting unless they explicitly opt out with log_prints=False
kiran
12/11/2023, 5:51 PM