Can 'Secret' block types still be accessed in 3.6.2? I can see the secrets on the website ux, but 'p...
n
Can 'Secret' block types still be accessed in 3.6.2? I can see the secrets on the website ux, but 'prefect block ls' and python code using Secret.load('[Secret_name]') can't seem to find secrets.
n
it should be, can you explain what exactly you're seeing?
Copy code
» uvx --with prefect==3.6.2 ipython

#[1]
from prefect.blocks.system import Secret

#[2]
Secret.load('turbopuffer-api-key')
Out[2]: Secret(value=Secret('**********'))
n
Yeah, another weird one, 30 mins later I could recreate the secret and use it fine. Before that I couldn’t create one as it said it already existed. Probably not a big deal.
n
sounds like there might be some weird python path stuff going on perhaps