python-telegram-bot/telegram/ext
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 Add default values (#1490) 2020-02-06 11:22:56 +01:00
basepersistence.py bot_data as global memory (V12 version of #1322) (#1325) 2020-02-02 22:20:31 +01:00
callbackcontext.py bot_data as global memory (V12 version of #1322) (#1325) 2020-02-02 22:20:31 +01:00
callbackqueryhandler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
choseninlineresulthandler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
commandhandler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
conversationhandler.py Handler persistence for nested ConversationHandlers (#1711) 2020-02-02 22:31:56 +01:00
defaults.py Add default values (#1490) 2020-02-06 11:22:56 +01:00
dictpersistence.py bot_data as global memory (V12 version of #1322) (#1325) 2020-02-02 22:20:31 +01:00
dispatcher.py Handler persistence for nested ConversationHandlers (#1711) 2020-02-02 22:31:56 +01:00
filters.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
handler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
inlinequeryhandler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
jobqueue.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
messagehandler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
messagequeue.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
picklepersistence.py bot_data as global memory (V12 version of #1322) (#1325) 2020-02-02 22:20:31 +01:00
precheckoutqueryhandler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
regexhandler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
shippingqueryhandler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
stringcommandhandler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
stringregexhandler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
typehandler.py Update copyright date to 2020 (#1746) 2020-02-02 23:08:54 +02:00
updater.py Add default values (#1490) 2020-02-06 11:22:56 +01:00