is there a standard pattern to binding @dynamic or...
# flyte-support
a
is there a standard pattern to binding @dynamic or @task to an instance? i want to do such that i have :
Copy code
class Foo:
   path: str
      
@task
def foo(self):
   load(self.path)
If i define my own TaskResolver, such that i override load_task by making sure i initialize it first and call it with the received args, would this work?
f
Yes you want to make a class task of sorts right? You can write a custom resolver
👍 1