Skip to content

Commit 2127a52

Browse files
committed
Add default page size for getLogRecords()
1 parent 4fca8f1 commit 2127a52

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib_common/src/d1_common/const.py

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,14 @@
3939
# Version of the DataONE Python stack
4040
VERSION = '2.3.4'
4141

42-
# Maximum number of entries per list objects request.
42+
# Maximum number of entries per list objects request
4343
MAX_LISTOBJECTS = 1000
4444

45-
# Default number of objects to retrieve in a list objects request.
46-
DEFAULT_LISTOBJECTS = 100
45+
# Default number of objects to retrieve in a list objects request
46+
DEFAULT_LISTOBJECTS_PAGE_SIZE = 100
47+
48+
# Default number of records to retrieve in a log records request
49+
DEFAULT_GETLOGRECORDS_PAGE_SIZE = 100
4750

4851
# HTTP Response timeout in seconds, float.
4952
RESPONSE_TIMEOUT = 30.0

0 commit comments

Comments
 (0)