We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3983780 commit 667b799Copy full SHA for 667b799
elasticgit/utils.py
@@ -12,9 +12,10 @@ def introspect_properties(model_class):
12
...
13
>>> from elasticgit.utils import introspect_properties
14
>>>
15
- >>> introspect_properties(TestModel) # doctest: +ELLIPSIS
16
- {'field': {'type': 'string'}, '_version': {'type': 'nested', ...}
+ >>> sorted(introspect_properties(TestModel).keys()) # doctest: +ELLIPSIS
+ ['_version', 'field', 'uuid']
17
18
+
19
"""
20
return dict([
21
(field_name, field_object.mapping)
0 commit comments