🚨(linter) add missing docstrings
Title says all there is to say…
This commit is contained in:
committed by
Laurent Bossavit
parent
3934a0bc28
commit
1d1f5cfbb6
@@ -34,6 +34,8 @@ class DynamicFieldsModelSerializer(serializers.ModelSerializer):
|
||||
"""
|
||||
|
||||
def __init__(self, *args, **kwargs):
|
||||
"""Pass arguments to superclass except 'fields', then drop fields not listed therein."""
|
||||
|
||||
# Don't pass the 'fields' arg up to the superclass
|
||||
fields = kwargs.pop("fields", None)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user