Pylint raises E1120 on all many of our migrations because the insert
call is missing the dml parameter:
cinder/db/sqlalchemy/migrate_repo/versions/123_cinder_init.py:870:9:
E1120: No value for argument 'dml' in method call
(no-value-for-parameter)
The dml parameter is automatically added by sqlalchemy using a
decorator, like this:
@util.dependencies("sqlalchemy.sql.dml")
def insert(self, dml, values=None, inline=False, **kwargs):
This patch adds the decorator to the pyling configured
signature-mutators to remove these errors from incorrectly showing.
Change-Id: Icbc72b3655f379c9b97134e68a425dc1d623dc7b
6.5 KiB
6.5 KiB