kevin
08/16/2021, 6:29 PMprefect.context.get('<SECRET NAME>')
or should I use the Secret()
class?Kevin Kho
08/16/2021, 6:35 PMSecret().get()
because the first one means it’s in context already (and cloud secrets might not be there).kevin
08/16/2021, 6:36 PMSecret().get()
will throw a KeyError if the secret doesn't exist right? So i can manage it like a normal python exception?Kevin Kho
08/16/2021, 6:37 PMkevin
08/16/2021, 6:37 PM