Skip to content

Commit

Permalink
Example of Google doc-string format
Browse files Browse the repository at this point in the history
  • Loading branch information
Themanwhosmellslikesugar authored and eugulixes committed Oct 5, 2023
1 parent bab266c commit fd31cab
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions hammett/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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__(
Expand Down

0 comments on commit fd31cab

Please sign in to comment.