Skip to content

Commit 4e50645

Browse files
committed
Fixed pylint complaint
... by ignoring the unnecessary lambda that needs to be there
1 parent d11e3e7 commit 4e50645

File tree

1 file changed

+1
-1
lines changed
  • mrmat_python_api_flask/apis/resource/v1

1 file changed

+1
-1
lines changed

mrmat_python_api_flask/apis/resource/v1/model.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class Meta:
6363

6464
id = fields.Int()
6565
owner_id = fields.Int(load_only=True)
66-
owner = fields.Nested(lambda: OwnerSchema(), dump_only=True)
66+
owner = fields.Nested(lambda: OwnerSchema(), dump_only=True) # pylint: disable=W0108
6767
name = fields.Str()
6868

6969

0 commit comments

Comments
 (0)