Skip to content

Commit dc1783b

Browse files
committed
mask on the Wildcard field is unnecessary, you should use mask on the 'container' instead
1 parent 424649d commit dc1783b

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

flask_restplus/fields.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -798,9 +798,7 @@ def schema(self):
798798
schema['additionalProperties'] = self.container.__schema__
799799
return schema
800800

801-
def clone(self, mask=None):
801+
def clone(self):
802802
kwargs = self.__dict__.copy()
803803
model = kwargs.pop('container')
804-
if mask:
805-
model = mask.apply(model)
806804
return self.__class__(model, **kwargs)

0 commit comments

Comments
 (0)