#7 Adding docstrings to classes.

This commit is contained in:
Alexey Skobkin 2022-05-02 17:53:53 +03:00
parent 1bdaa75668
commit aaaed01f9d
2 changed files with 8 additions and 0 deletions

View file

@ -3,6 +3,10 @@ from telebot.types import Message
class CommandProcessor: class CommandProcessor:
"""
Processes user input and dispatches the data to other services.
"""
bot: telebot.TeleBot bot: telebot.TeleBot
def __init__(self, token: str): def __init__(self, token: str):

View file

@ -2,6 +2,10 @@ import telebot
class Notifier: class Notifier:
"""
Sends notifications to users about new RSS feed items.
"""
bot: telebot.TeleBot bot: telebot.TeleBot
def __init__(self, token: str): def __init__(self, token: str):