Telegram module #10
No reviewers
Labels
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
Depends on
#2 Telegram API integration
Miroslavsckaya/tg_rss_bot
#6 Persistence module (database interaction)
Miroslavsckaya/tg_rss_bot
#9 Python venv
Miroslavsckaya/tg_rss_bot
Reference
Miroslavsckaya/tg_rss_bot!10
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feature_telegram"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
telegrammodule. Closes #2 #7.Two service classes:
NotifierclassCommandProcessorclassTwo middlewares:
UserAuthMiddlewareExceptionHandlerMiddlewareOne exception for usage in the code called by the bot:
DisplayableExceptionMerge ONLY after #9 is merged.
01dda4fafetoaa75492716aa75492716eba2ab2252a3a38a856ed39e046af26c83447eb8ec6d707a56ec6d707a5674bd51723874bd517238305f1afa3c9e4488b2043032c642be3032c642be882b4df5e1WIP: Telegram packageto WIP: Telegram moduleWIP: Telegram moduleto Telegram module@Miroslavsckaya This PR is more or less ready. Check it out when you have time.
@ -11,2 +10,3 @@"""Create a database file if not exists."""self.conn = sqlite3.connect(path)# TODO: think about removing check_same_thread=Falseself.conn = sqlite3.connect(path, check_same_thread=False)check_same_thread=Falseis a bad solution which can backfire on us in the future.But I didn't see any other good solution at the time.