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

Commit

Permalink
Merge pull request #117 from haokanga/master
Browse files Browse the repository at this point in the history
Fix the misplaced feed_options
  • Loading branch information
Srinath Narayanan committed Apr 25, 2018
2 parents 280343f + a5b9988 commit 07caab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/DocumentManagement/Program.py
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))

0 comments on commit 07caab6

Please sign in to comment.