Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Fix the misplaced feed_options #117

Merged
merged 1 commit into from
Apr 25, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions samples/DocumentManagement/Program.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def ReadDocuments(client):
# NOTE: Use MaxItemCount on Options to control how many documents come back per trip to the server
# Important to handle throttles whenever you are doing operations such as this that might
# result in a 429 (throttled request)
documentlist = list(client.ReadDocuments(collection_link), {'maxItemCount':10})
documentlist = list(client.ReadDocuments(collection_link, {'maxItemCount':10}))

print('Found {0} documents'.format(documentlist.__len__()))

Expand Down Expand Up @@ -181,4 +181,4 @@ def run_sample():
run_sample()

except Exception as e:
print("Top level Error: args:{0}, message:N/A".format(e.args))
print("Top level Error: args:{0}, message:N/A".format(e.args))