Hi, I decided to check my project via pylint, but this check failed with error "Unexpected keyword argument 'field1' in constructor call (unexpected-keyword-arg)". What should I do to do to fix this error? ?
In t he test project two files: __init __. py and test.p y . test.p y # coding: utf-8 from pony.orm import sql_debug, db_session, Database, Required db = Database() class MyClass(db.Entity): field1=Required(unicode) db.bind('sqlite', '/tmp/dns11.sqlite', create_db=True) db.generate_mapping(create_tables=True) with db_session: MyClass(field1='aaa') Regards, Anna.
_______________________________________________ code-quality mailing list code-quality@python.org https://mail.python.org/mailman/listinfo/code-quality