python-telegram-bot/telegram/utils
Bibo-Joshi 960c7a0c70
Add default values (#1490)
* added parse_mode parameter in Updater and in Bot class to set a default parse mode for bot

* DefaultValue

* Add default parse_mode everywhere

* Renome to default_parse_mode

* Test def parse_mode for send_*, edit_message_*

* Remove duplicate code in Input* classes

* Improve handling of def_p_m for Bot methods

* Remove unneeded deletion of kwargs

* Make @log preserve signature, add bots with defaults to tests

* Fix Codacy

* Fix Travis Error

* Add default_disable_notification

* Add default_disable_web_page_preview

* Add default_disable_timeout

* add default_disable_web_page_preview for InputTextMessageContent

* add default_quote

* Try fixing test_pin_and_unpin

* Just run 3.5 tests for paranoia

* add tests for Defaults

* Revert "Just run 3.5 tests for paranoia"

This reverts commit 1baa91a3a1.

* Tidy up parameters, move Defaults to ext

* Stage new files, because im an idiot

* remove debug prints

* change equality checks for DEFAULT_NONE

* Some last changes

* fix S&R error so that tests actually run

Co-authored-by: Ak4zh <agwl.akash@gmail.com>
Co-authored-by: Eldinnie <Eldinnie@users.noreply.github.com>
2020-02-06 11:22:56 +01:00
..
__init__.py Merging testing 2015-09-04 23:21:31 -03:00
deprecate.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
helpers.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
promise.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
request.py Fix Server response could not be decoded using UTF-8 (#1623) 2020-02-03 00:12:27 +02:00
webhookhandler.py Add default values (#1490) 2020-02-06 11:22:56 +01:00