https://prefect.io logo
Title
j

Jacob Blanco

06/22/2020, 11:06 AM
Hey folks I keep getting:
No value for argument 'fn' in function callpylint(no-value-for-parameter)
It happens on lines:
@task(name="Something")
As an error in VScode when working with my flow, any ideas on how to get it to stop showing me that?
j

josh

06/22/2020, 1:37 PM
I believe for your current scope you could add
# pylint: disable=no-value-for-parameter
It’s due to pylint not knowing about the decorator being able to edit kwargs for the function. Something like this should work:
@task(log_stdout=True)  # pylint: disable=no-value-for-parameter
j

Jacob Blanco

06/30/2020, 5:54 AM
Oh awesome thanks @josh