Repository navigation
Conversation
|
I'd consider this a new feature adding support for hishel v2, rather than a githubkit installation fix. |
|
@yanyongyu sure, the fix is here #339. All that to say, currently installation from pypi is broken. |
|
Reviewing this as a migration checklist, since I checked the new signature directly: CacheTransport(next_transport, storage: BaseStorage | None = None, rfc: bool | CacheOptions = False)
AsyncCacheTransport(next_transport, storage: AsyncBaseStorage | None = None, rfc: bool | CacheOptions = False)The One thing I would change before this lands: The default flipped from Two smaller notes:
If it is useful, I can test the caching path against a real conditional request, since the default question is the only part I cannot settle from the diff alone. |
#339 added a version lock to hishel<2.0 because hishel 2.0 was released today and this breaks githubkit installation. This PR attempts to update the source to reflect hishel's 2.0 API changes.