You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
def__init__(self, url, block_size=-1, session_factory=None, **kwargs):
""" :param url: The URL of the file to open :param block_size: The cache block size, or `-1` to disable caching. :param kwargs: Additional arguments to pass to `session.get` """super(AsyncHTTPIOFile, self).__init__()
self.url=urlself.block_size=block_sizeifsession_factoryisNonefrom . importaiohttp_strategysession_factory=aiohttp_strategy.AIOHttpFactoryself._session_factory=session_factory
...
I'd like be able to use httpio with httpx on trio, I'd be able to do this if all of this with a pluggable session strategy: