https://prefect.io logo
Title
f

Florian Guily

07/25/2022, 10:26 AM
Hello, i was wondering if we can apply prefect 2 in Object oriented programmation with python . Like having class functions being tasks and flow using objects and those class functions
👀 1
✅ 1
j

Jeff Hale

07/25/2022, 5:44 PM
Interesting thought. Maybe you would hack something together, but I don’t believe there’s an easy way to do that now. I just tested a quick example and it didn’t work. I don’t believe support for this is on the roadmap. If you have interest in such functionality feel free to open an issue. 🙂
f

Florian Guily

07/26/2022, 8:49 AM
Yes, the notion of objects context seems to disappear