Praveen Shilavantar
class API:
@flow
def start(self):
pass
Zanie
from prefect import flow class Foo: @flow def hi(self, name): print("hi", name) foo = Foo() Foo.hi(foo, name="test")
class Foo: @task def greetings(self, name): print("Hello", name) @flow def hi(self, name): print("hi", name) self.greetings(name) foo = Foo() Foo.hi(foo, name="test")
self.some_attribute
from prefect import flow, task class Foo: @flow def hi(self, name): print("hi", name) Foo.bye(self) @task def bye(self): print("bye") foo = Foo() Foo.hi(foo, name="test")
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.