We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a9a465a commit d596368Copy full SHA for d596368
arango/formatter.py
@@ -12,10 +12,12 @@ def format_index(body): # pragma: no cover
12
"""
13
result = {
14
'id': body['id'].split('/', 1)[-1],
15
- 'name': body['name'],
16
- 'type': body['type'],
17
'fields': body['fields']
18
}
+ if 'type' in body:
+ result['type'] = body['type']
19
+ if 'name' in body:
20
+ result['name'] = body['name']
21
if 'deduplicate' in body:
22
result['deduplicate'] = body['deduplicate']
23
if 'sparse' in body:
arango/version.py
@@ -1 +1 @@
1
-__version__ = '5.2.0'
+__version__ = '5.2.1'
setup.cfg
@@ -1,5 +1,2 @@
[bdist_wheel]
2
universal = 1
3
-
4
-[coverage:run]
5
-omit = arango/collection.py
0 commit comments