aiogram is a modern and fully asynchronous framework for Telegram Bot API written in Python using asyncio
Find a file
Dima Boger 023245c76b Add sentinel value for parse_mode which can be None itself
Resolves #302. We decided to use sentinel pattern (https://python-patterns.guide/python/sentinel-object/) as a solution, but got a few problems with plain `object()`, so instead we use unittest.mock.sentinel and we hope it won't cause side effects.

Most of work done via tg-codegen (https://github.com/aiogram/tg-codegen/pull/1), so it's good to review only implementation of sentinel, processing sentinel in `prepare_parse_mode`, changes in base method model and little test fixes.
2020-04-12 19:37:01 +03:00
.github Turn off mypy on tests folder 2020-03-25 16:19:48 +03:00
aiogram Add sentinel value for parse_mode which can be None itself 2020-04-12 19:37:01 +03:00
docs Add support of Bot API 4.7. Bump version 2020-04-11 20:15:03 +03:00
examples/data Clean obsolete code and change configs 2019-11-15 12:44:24 +02:00
tests Add sentinel value for parse_mode which can be None itself 2020-04-12 19:37:01 +03:00
.coveragerc Clean obsolete code and change configs 2019-11-15 12:44:24 +02:00
.flake8 Clean project 2019-11-15 12:17:57 +02:00
.gitignore Exclude dir with development experiments 2020-01-25 19:05:58 +02:00
codecov.yaml Change codecov.yaml 2020-01-22 13:29:46 +02:00
LICENSE Update license years 2019-11-15 12:18:21 +02:00
Makefile Turn off mypy on tests folder 2020-03-25 16:19:48 +03:00
mkdocs.yml Add support of Bot API 4.7. Bump version 2020-04-11 20:15:03 +03:00
mypy.ini Turn off mypy on tests folder 2020-03-25 16:19:48 +03:00
poetry.lock Add support of Bot API 4.7. Bump version 2020-04-11 20:15:03 +03:00
pyproject.toml Add support of Bot API 4.7. Bump version 2020-04-11 20:15:03 +03:00
README.md Bump versions 2020-01-25 18:32:47 +02:00

aiogram 3.0 [WIP]

MIT License Supported python versions Telegram Bot API PyPi Package Version PyPi status Downloads [Telegram] aiogram live

aiogram modern and fully asynchronous framework for Telegram Bot API written in Python 3.7 with asyncio and aiohttp. It helps you to make your bots faster and simpler.