Skip to content

Commit

Permalink
Indicate when an ES field is a list in doc output
Browse files Browse the repository at this point in the history
  • Loading branch information
cdzombak committed Apr 10, 2018
1 parent 69be485 commit 1b0cfb7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zschema/compounds.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ def docs_es(self, parent_category=None):
retv = self.object_.docs_es()
category = self.category or parent_category
retv["category"] = category
retv["repeated"] = True
if self.doc:
retv["doc"] = self.doc
return retv
Expand Down

0 comments on commit 1b0cfb7

Please sign in to comment.