Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added unit tests and updated documentation #94

Merged
merged 2 commits into from
Mar 3, 2024
Merged

Conversation

aaronfultonnz
Copy link

I've added unit tests for:

  • SQLite as the backend
  • Updated the test for custom buckets to use SQLite (so the test does what it is supposed to) (test has moved down the file)
  • Added unit test for the caching mixin Only limit if requested is not cached #76

Update readme

  • To use SQLite as the caching backend example as this is what is in the test
  • Added a prominent note about rate limits being linked to sessions and when to use a custom backend

I've updated the pyproject.toml file but as I don't use poetry the poetry.lock file will be out of date now.

@JWCook JWCook merged commit 148c460 into JWCook:main Mar 3, 2024
0 of 7 checks passed
@JWCook
Copy link
Owner

JWCook commented Mar 3, 2024

Thanks for the updates!

@JWCook JWCook mentioned this pull request Mar 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants