-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
Repository Check
- I have verified this is the correct repository for this feature
- This is NOT about HTTP signatures (should be in
apsigrepo) - This is NOT about ActivityStreams models (should be in
apmodelrepo)
Feature Description
src/apkit/client/asyncio/client.py:46
/home/cocoa/vega/git-repos/fedi-libs/apkit/src/apkit/client/asyncio/client.py:46: DeprecationWarning: Inheritance class ActivityPubClient from ClientSession is discouraged
class ActivityPubClient(aiohttp.ClientSession):
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
Motivation
Discontinue non-recommended usage methods, improve maintainability
Proposed Solution
Replace it with libraries like httpcore (the current synchronous client approach) or use aiohttp internally without inheritance.
Alternatives Considered
No response
Additional Context
No response