Skip to content

Async frameworks (aiohttp) incompatible due to blocking HTTP calls #5

Description

@francescobianco

Async frameworks (aiohttp) incompatible due to blocking HTTP calls

Description
The SDK uses blocking I/O, making it unsuitable for async frameworks like aiohttp.

Code snippet

import aiohttp
from openapi_sdk import Client

async def fetch():
    client = Client("token")
    return client.request("GET", base_url, "/advance")

Observed behavior
Blocks event loop.

Expected behavior
Async-compatible client or aiohttp support.

Activity

Deadpool2000 commented on Mar 25, 2026

@Deadpool2000
Contributor

Hey @francescobianco

i recently made PR #14

Please check this out and let me know.

added a commit that references this issue on Apr 2, 2026

francescobianco commented on Apr 2, 2026

@francescobianco
MemberAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions