Skip to content

Commit

Permalink
Fixed typo in ratelimit documentation (#989)
Browse files Browse the repository at this point in the history
  • Loading branch information
slyapustin committed Nov 10, 2021
1 parent f868e6d commit 0de7d31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/rate_limited_operations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ Here is an example using `rate-limit` in while scaning the `User` model
.. code-block:: python
# Using only 5 RCU per second
for user in User.scan(rate_limit = 5):
for user in User.scan(rate_limit=5):
print("User id: {}, name: {}".format(user.id, user.name))
Expand All @@ -61,6 +61,6 @@ You can use `rate-limit` when counting items in your table:
.. code-block:: python
# Using only 15 RCU per second
count = User.count(rate_limit = 15):
count = User.count(rate_limit=15)
print("Count : {}".format(count))

0 comments on commit 0de7d31

Please sign in to comment.