https://prefect.io logo
Title
k

kiran

05/02/2023, 8:46 PM
Is there a way to update all blocks in the UI to be the latest version of itself? E.g., I have different versions of an
S3 Bucket
block. One is older and has deprecated fields, another seems like the (current) newest version, etc.
1
n

Nate

05/02/2023, 9:22 PM
hi @kiran - unfortunately there's no way to do this natively / automatically however if you know which fields have been deprecated between the version of your blocks you have save / want to update to, I could help you write a small script to migrate them
k

kiran

05/02/2023, 9:25 PM
hey @Nate — no worries. I just had a few and was cleaning some up anyway, so I redid some and deleted others as needed. Thanks!
n

Nate

05/02/2023, 9:27 PM
ok! sure thing