Can anyone help me out on the below one in prefec...
# ask-community
b
Can anyone help me out on the below one in prefect 1.0 used this style used in the custom utilities
Copy code
from prefect.utilities.tasks import defaults_from_attrs
@defaults_from_attrs("params", "upstream_result")
def run(self, params={}, poll_interval: str = None):
    -----
I got stuck with this in prefect 2.0 to use the alternate one to use in my custom library