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

3.x sqlite seems broken? #132

Closed
indigoviolet opened this issue Sep 10, 2023 · 3 comments
Closed

3.x sqlite seems broken? #132

indigoviolet opened this issue Sep 10, 2023 · 3 comments

Comments

@indigoviolet
Copy link

The docs for how to get a SQLite bucket are inadequate (it seems like you have to set up the bucket table.. ) also there is a bug:

    if isawaitable(clock.now()) or isawaitable(bucket.leak(0)):
.venv/lib/python3.11/site-packages/pyrate_limiter/buckets/sqlite_bucket.py:122: in leak
    self.conn.execute(query)
E   sqlite3.OperationalError: near "ORDER": syntax error

You might want to warn users that 3.x is not ready for use (based on how much stuff is missing in #118)

@vutran1710
Copy link
Owner

tks, ill investigate this erro

@netanelrevah
Copy link
Contributor

#141

@vutran1710
Copy link
Owner

Fixed by @netanelrevah

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

No branches or pull requests

3 participants