Skip to content

Commit

Permalink
Update docs to more explicitly describe the use of DataStore in pract…
Browse files Browse the repository at this point in the history
…ice (#316)

* Update docs to more explicitly describe the use of DataStore in practice

idk if this language is perfect, but it's the best I could come up with.

* Improve hyperlinking/referencing in docstring
  • Loading branch information
inputTTS authored Oct 3, 2023
1 parent 5e1a6f7 commit 7e695cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lightbulb/utils/data_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ class DataStore(t.Dict[str, t.Any]):
'bar'
>>> d
DataStore()
A DataStore instance is attached to :obj:`~.app.BotApp` instances as :attr:`bot.d <.app.BotApp.d>` for your convenience.
"""

def __repr__(self) -> str:
Expand Down

0 comments on commit 7e695cf

Please sign in to comment.