Skip to content

0.6.2

Compare
Choose a tag to compare
@bagowix bagowix released this 18 Jan 17:50
· 4 commits to main since this release

Features

  • Asynchronous Context Manager Support:
    • Added __aenter__ and __aexit__ methods to RatelimitIO for use as an asynchronous context manager.
    • Ensures Lua scripts are automatically loaded into Redis when entering the context.
    • Simplifies resource management and integration in async frameworks like FastAPI and aiohttp.