Hi! I’ve been using prefect for a pandas-heavy pipeline and I started to write some very redundant code. I can’t help but think there’s a nicer way than what I’m doing to achieve the desired result. I have a couple decorators I’m inserting into a function inside the task, then calling that function at the end. It works, but was wondering if I could extend the Task class or create one decorator with all the task calling stuff. My brain feels like a pretzel, is there any python superhero who’s been through this?
a
Anna Geller
10/13/2021, 4:54 PM
Hi @Greg Adams, you can definitely extend the base
Bring your towel and join one of the fastest growing data communities. Welcome to our second-generation open source orchestration platform, a completely rethought approach to dataflow automation.