https://prefect.io logo
Title
j

James Ashby

03/20/2023, 9:52 PM
Hey everyone! Does anyone know a way to use Python to get a list of all JSON blocks from my Prefect Cloud workspace? I want a list of all the names, assuming I don't know any.
1
r

redsquare

03/20/2023, 10:03 PM
use prefect client and read_block_documents()
:thank-you: 1
j

James Ashby

03/20/2023, 10:06 PM
Great, thanks! Dunno why this wasn't coming up in my searches...
r

redsquare

03/20/2023, 10:09 PM
helps if you google prefect 2.0+bla
👍 1