aiogram/aiogram
Martin Winks 15bcc0ba9f
feat(proxy): proxy for aiohttp,base sessions (#284)
* feat(proxy): proxy for aiohttp,base sessions

Add support for proxies in aiohttp session with aiohttp_socks library,
edit BaseSession class to support proxies for other sessions in future.

* fix(annotation): missing underscore before "private" typevar

* chore: remove redundant of proxy_url schema for socks version

* test: add missing test

Add missing test, remove BaseSession.cfg and switch to
implementing class' "private" traits, add aiohttp_socks in dependency list as
optional and extra.

* feat(session):

Implement asyncio session for requests [wip]

* feat(proxy chain): Chained proxy support in aiohttp session

Add ChainProxyConnector support, !pin pydantic to "1.4", add
documentation on aiohttp connector.

* style(mypy): apply linter changes

* tests(mock): remove await for magic mock

* fix dangling dependency

* refactor(generic):

get rid of generic behaviour for base session
2020-05-02 16:12:53 +03:00
..
api feat(proxy): proxy for aiohttp,base sessions (#284) 2020-05-02 16:12:53 +03:00
dispatcher Fix compatibility with pydantic 1.5 (temporary) 2020-04-28 12:07:01 +03:00
utils Fix phone_number and bot_command entity types generation 2020-05-02 02:43:19 +03:00
__init__.py Add middlewares (API + Docs + Tests) 2020-04-12 20:27:32 +03:00
loggers.py Add middlewares (API + Docs + Tests) 2020-04-12 20:27:32 +03:00
py.typed Add py.typed 2020-04-11 22:01:53 +03:00