call schema processor with **kw to provide view/request
This commit is contained in:
parent
d742b87c9c
commit
1cd5f59738
1 changed files with 1 additions and 1 deletions
|
@ -86,7 +86,7 @@ class SchemaFactory(object):
|
||||||
info = fieldMapping.get(field.__class__)
|
info = fieldMapping.get(field.__class__)
|
||||||
f = createField(field, info)
|
f = createField(field, info)
|
||||||
if self.schemaProcessor is not None:
|
if self.schemaProcessor is not None:
|
||||||
f = self.schemaProcessor.process(f)
|
f = self.schemaProcessor.process(f, **kw)
|
||||||
if f is not None:
|
if f is not None:
|
||||||
fields.append(f)
|
fields.append(f)
|
||||||
return Schema(name=interface.__name__, *fields, **kw)
|
return Schema(name=interface.__name__, *fields, **kw)
|
||||||
|
|
Loading…
Add table
Reference in a new issue