mpa
23799929b8
style(mypy): apply linter changes
2020-04-22 10:00:59 +04:00
mpa
518e88df97
feat(proxy chain): Chained proxy support in aiohttp session
...
Add ChainProxyConnector support, !pin pydantic to "1.4", add
documentation on aiohttp connector.
2020-04-22 09:49:53 +04:00
mpa
84cf6b8d01
Merge branch 'dev-3.x' into dev-3.x-proxy
2020-04-21 03:03:35 +04:00
mpa
921f82b873
Merge remote-tracking branch 'origin/dev-3.x' into dev-3.x-proxy
...
# Conflicts:
# aiogram/api/client/session/aiohttp.py
# aiogram/api/client/session/base.py
# poetry.lock
2020-04-20 19:17:00 +04:00
Boger
23c632b37b
Fix style errors
2020-03-25 15:57:25 +03:00
mpa
400fb0022e
feat(session):
...
Implement asyncio session for requests [wip]
2020-03-22 17:39:02 +04:00
mpa
edce7c4f75
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.
2020-03-20 02:06:32 +04:00
mpa
aa289cdd93
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.
2020-03-19 05:35:22 +04:00
Boger
fac69e52b7
💩 First iteration
2020-03-18 18:15:49 +03:00
gabbhack
26708154b0
Implement stream_content in AiohttpSession and add tests
2020-01-22 22:55:34 +05:00
gabbhack
7ab0db7991
Add stream_content to BaseSession and add tests
2020-01-22 22:54:29 +05:00
Alex Root Junior
d37a7f0a0d
Cleanup
2020-01-13 21:34:50 +02:00
Alex Root Junior
b61cc04e9a
Remove kwargs copy in TelegramEventObserver.trigger and remove __deepcopy__ method from AiohttpSession
2020-01-13 21:30:06 +02:00
Alex Root Junior
690223f4e0
Try prevent to attr-defined mypy error
2020-01-11 21:33:45 +02:00
Alex Root Junior
8e5cb067df
Use AsyncMock with python 3.8 instead of asynctest
2020-01-11 21:15:46 +02:00
Alex Root Junior
c674b5547b
Add token validation util, fix deepcopy of sessions and make bot hashable and comparable
2019-11-28 23:12:44 +02:00
Alex Root Junior
0acdb24c3c
No cover if TYPE_CHECKING
2019-11-23 17:03:14 +02:00
Alex Root Junior
7d1c4dcca8
Fix tests for base session with different timezones
2019-11-17 23:47:52 +02:00
Alex Root Junior
3a43ffc570
Add tests for BaseBot
2019-11-17 23:37:24 +02:00
Alex Root Junior
a46cd6d001
Small refactoring of telegram api server
2019-11-17 22:20:29 +02:00
Alex Root Junior
0e35b6f55e
More tests for session
2019-11-17 01:12:39 +02:00
Alex Root Junior
7dc2a0ddaf
Update tests and small refactoring
2019-11-16 22:32:26 +02:00