pgjones / quart-rate-limiter

Quart-Rate-Limiter is an extension for Quart to allow for rate limits to be defined and enforced on a per route basis.
MIT License
22 stars 6 forks source link

Fix typo in the docs #6

Closed iceniveth closed 1 year ago

iceniveth commented 1 year ago

I think it's a typo because it doesn't work when try it. The propose change is similar in the test case: https://github.com/pgjones/quart-rate-limiter/blob/88aa0471a74cba50266551fed4476f4216c18b69/tests/test_basic.py#L45

pgjones commented 1 year ago

It should work without this as the default argument for app is None, https://github.com/pgjones/quart-rate-limiter/blob/main/src/quart_rate_limiter/__init__.py#L219. Could you share the error as an issue?