https://prefect.io logo
Title
a

Andrew Miller

07/28/2022, 8:38 PM
How do we do
prefect.config
in Prefect 2.0? I tried using Settings but I cant put custom key value pairs in it.
a

Anna Geller

07/28/2022, 8:48 PM
That's what blocks are for - they allow you to securely store configuration to external systems. All blocks are encrypted. You can use JSON, String or even Secret blocks for it
a

Andrew Miller

07/28/2022, 8:54 PM
i originally thought it would be easy to migrate to prefect 2.0 but there are too many changes that are very complex. i am going to revert back and retry another time. i think typical use cases got more complicated..
basically, with v2. it seems that i am fighting the framework..
a

Anna Geller

07/28/2022, 10:15 PM
Oh I'm sorry to hear, could you elaborate? I'm very surprised to hear that since you are so far the first person that didn't immediately fall in love with 2.0 after having worked with 1.0 I would appreciate if you could elaborate more on those pain points - are those related to migration or to 2.0 as a product?
if it's just the missing documentation and recipes, we are definitely working on that and it will improve momentarily #
a

Andrew Miller

07/28/2022, 10:21 PM
i think migration guide does not cover many topics.
a

Anna Geller

07/28/2022, 10:34 PM
that's very true, I can point you to some resources which already exist, but those are definitely just starting points: • https://www.prefect.io/guide/blog/upgrade-to-prefect-2/https://upgrade.prefect.io/
this playlist will be really nice too

https://www.youtube.com/watch?v=YyAQ61eRGhI&list=PLZfWmQS5hVzF3u9FY4-43U4UoTblFgC2l

m

Matthias

07/29/2022, 7:15 AM
Are there any specific topics we can help you with?
a

Anna Geller

07/29/2022, 12:33 PM
oh wow, you are a rockstar @Matthias, thanks so much for asking! I compiled a list of topics of content we need to cover for 2.0 here (not only for migration) https://discourse.prefect.io/t/main-topic-flow-deployment-patterns-recipes-for-prefect-2-0/1053 - if you want to have a look and add a comment on this topic saying what you'd like to contribute, that would be super super helpful! 💙