Skip to content

Commit e563e9f

Browse files
committed
0.6.5
1 parent 1e79e2d commit e563e9f

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ We follow [Semantic Versions](https://semver.org/).
44

55
## WIP
66

7+
## Version 0.6.5
8+
9+
### Misc
10+
11+
- Updated README with examples for:
12+
- Using outgoing request handling.
13+
714
## Version 0.6.4
815

916
### Misc

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ A Python library for rate limiting, designed to handle both incoming and outgoin
44

55
#### Project Information
66
[![Tests & Lint](https://github.com/bagowix/ratelimit-io/actions/workflows/actions.yml/badge.svg)](https://github.com/bagowix/ratelimit-io/actions/workflows/actions.yml)
7-
[![image](https://img.shields.io/pypi/v/ratelimit-io/0.6.4.svg)](https://pypi.python.org/pypi/ratelimit-io)
7+
[![image](https://img.shields.io/pypi/v/ratelimit-io/0.6.5.svg)](https://pypi.python.org/pypi/ratelimit-io)
88
[![Test Coverage](https://img.shields.io/badge/dynamic/json?color=blueviolet&label=coverage&query=%24.totals.percent_covered_display&suffix=%25&url=https%3A%2F%2Fraw.githubusercontent.com%2Fbagowix%2Fratelimit-io%2Fmain%2Fcoverage.json)](https://github.com/bagowix/ratelimit-io/blob/main/coverage.json)
99
[![PyPI - Python Version](https://img.shields.io/pypi/pyversions/ratelimit-io)](https://pypi.org/project/ratelimit-io/)
1010
[![License](https://img.shields.io/pypi/l/ratelimit-io)](LICENSE)
@@ -137,7 +137,7 @@ outgoing_limiter = RatelimitIO(
137137
)
138138

139139

140-
def fetch_data_outgoing():
140+
async def fetch_data_outgoing():
141141
async with httpx.AsyncClient() as client:
142142
await outgoing_limiter.a_wait("outgoing_request")
143143
response = await client.get("https://api.example.com")

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "ratelimit-io"
3-
version = "0.6.4"
3+
version = "0.6.5"
44
description = "Flexible bidirectional rate-limiting library with redis backend"
55
authors = ["Galushko Bogdan <[email protected]>"]
66
license = "MIT"

0 commit comments

Comments
 (0)