Skip to content

Commit

Permalink
Aiter lines instead of aiter raw (#16)
Browse files Browse the repository at this point in the history
* aiter lines
  • Loading branch information
namoray authored Sep 23, 2024
1 parent 4f795e0 commit ddef7e6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion fiber/validator/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ async def make_streamed_post(
) as response:
try:
response.raise_for_status()
async for line in response.aiter_raw():
async for line in response.aiter_lines():
yield line
except httpx.HTTPStatusError as e:
await response.aread()
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "hatchling.build"

[project]
name = "fiber"
version = "0.0.2"
version = "0.0.3"
description = "The ultra lightweight network for miner-validator communication"
readme = "README.md"
requires-python = ">=3.10"
Expand Down

0 comments on commit ddef7e6

Please sign in to comment.