Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method should have 'self' as first argument #7

Open
tgross35 opened this issue Oct 12, 2021 · 0 comments
Open

Method should have 'self' as first argument #7

tgross35 opened this issue Oct 12, 2021 · 0 comments

Comments

@tgross35
Copy link

This comes from SQLA's declared_attr decorator

@declared_attr
def time_updated(cls):
    return Column(DateTime(255), onupdate=func.now())

Results in:

{
	"owner": "python",
	"code": "no-self-argument",
	"severity": 8,
	"message": "Method should have \"self\" as first argument",
	"source": "pylint"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant