Telbapbop

Latest version: v0.10.0

Safety actively analyzes 630566 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 4

0.4.0

Changelog
---

* Remove SLEEP_TIME from AbstractBot docstrings (76c360b324c17cc2ec10fb014d4d74ef7e98d285).

* Make handle_incoming_update a non-public method (37).

* Avoid calling the mesage handler or edited_message handler when the user sent a command to be handled (38).

* Add use_async to let the user disable the async support (39).

* Catch some errors in `handle_commands` (40).

* Pass `sent_command` instead of a list of commands to the callback (0570feb66c596ecac32a7af0bcb7edee4bb90a0b).

You can upgrade your current installation via the --upgrade flag.

0.3.0

Changelog
---

* Add `buildable_objects`: a class attribute containing a list with all the possible buildable objects (33).

* Add support to create buildable objects using keyword arguments (34).

* Remove an unused import in `telegrammethod.py` (https://github.com/Franccisco/telbapbop/commit/e8268658add4747d9e09ad5d1d96146f442d7af5)

* Remove `SLEEP_TIME` constant (35).

* Incoming updates are now handled asynchronously (36).

You can upgrade your current installation via the --upgrade flag.

0.2.0

Changelog:
---

* Remove `build_object` (29).

* Remove the logging decorator where not needed (30).

* Convert all the wrappers of `tg_method` to `staticmethods` (31)

* Change `LogThis` to `log_this` (32)

You can upgrade your current installation via the --upgrade flag.

0.1.2

Changelog
---

* Handle reserved keywords in TelegramObjects attributes (26)

* Set attributes when they are not None to extend dot notation (27)

* Update BuildObject:
* Catch some errors and raise them with an explanatory message.
* Update docstrings.
* Non-buildable objects were removed.
* This also includes a modification in `TelegramObject` to avoid building an already created object (28)

You can upgrade your current installation via the --upgrade flag.

0.1.1

Changelog:
---

* Building InputFile with `build_object` is now possible (24).

* Some methods were not working because of the use of `self.isinstance` and `self.is_inputfile` instead of `isinstance` (24).

* InputFile is removed from the POST request as it is not required (24).

* Dicts objects are now directly added as attributes (25).

You can upgrade your current installation via the `--upgrade` flag.

0.1.0

Changelog:
---

* `allowed_updates` of `get_updates` and `set_webhook` are now handled internally, according to the set handlers (20 and 21).

* Replace GET requests to POST requests (22).

* `link` is now `_link`, as this is only used internally (23).

* The `TelegramObject` is now returned directly in wrappers through `instance.object`. This way it is not needed to redirect the magic dunders from the method to the object (23).

* Update docstrings in `TelegramMethod` to specify the idea behind using `self.object` (23).


You can upgrade your current installation via the `--upgrade` flag.

Page 3 of 4

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.