From fd31cab24cf0446156ef649ad62bf2369ff885e4 Mon Sep 17 00:00:00 2001 From: Dmitriy Ivanko Date: Fri, 18 Aug 2023 17:35:39 +0300 Subject: [PATCH] Example of Google doc-string format --- hammett/core/__init__.py | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hammett/core/__init__.py b/hammett/core/__init__.py index 243f7db9..6b47ef5c 100644 --- a/hammett/core/__init__.py +++ b/hammett/core/__init__.py @@ -38,6 +38,14 @@ class Application: - hiding low-level technical details of python-telegram-bot from developers; - registering handlers; - configuring logging. + + Args: + ---- + name: The name will pass for start conversation handler. Uses for persistence. + entry_point: Implement start handler. + native_states (NativeStates, optional): The states from python-telegram-bot library. + persistence (BasePersistence[UD, CD, BD] , optional): Any realization of persistence. + states (States, optional): dict with Stage key and list of Screens. """ def __init__(