Skip to content

Commit 74624bc

Browse files
authored
Merge branch 'master' into dev
2 parents ca33fa8 + 9350478 commit 74624bc

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88

99
* Fixed max retries for write conflicts
1010
* Added parameter ``pool_maxsize`` on class ``Connection`` to allow user configure the http pool size.
11+
=======
1112

1213
2.0
1314
=====
@@ -16,7 +17,6 @@
1617
* added to_default function to reset a document to its default values
1718
* fixed bug in default documents where default values could be overwritten
1819
* default value for fields is now None
19-
* default value for fields can now be a callable
2020

2121
1.3.5
2222
=====

pyArango/collection.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ def getDefaultDocument(self, fields=None, dct=None):
274274
dct[k] = self.getDefaultDocument(fields[k], None)
275275
elif isinstance(v, list) or isinstance(v, tuple):
276276
dct[k] = []
277+
277278
elif isinstance(v, Field):
278279
if callable(v.default):
279280
dct[k] = v.default()
@@ -934,3 +935,4 @@ def __enter__(self):
934935
return self.coll
935936
def __exit__(self, type, value, traceback):
936937
self.coll._finalizeBatch();
938+

pyArango/doc/source/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ Contents:
7474
users
7575
query
7676
graph
77-
users
7877
exceptions
7978
validation
8079
admin

0 commit comments

Comments
 (0)