From 1ffd92970c6808533b5f8465a76d337fedec203d Mon Sep 17 00:00:00 2001 From: Chris Dzombak Date: Tue, 10 Apr 2018 15:35:18 -0400 Subject: [PATCH] Indicate when an ES field is a list in doc output --- zschema/compounds.py | 1 + 1 file changed, 1 insertion(+) diff --git a/zschema/compounds.py b/zschema/compounds.py index 7a03d83..cf3a245 100644 --- a/zschema/compounds.py +++ b/zschema/compounds.py @@ -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