Skip to content

Commit

Permalink
Documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
eerimoq committed May 8, 2019
1 parent fbca514 commit 57a6bb5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions mqttools/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,12 @@ async def start(self, resume_session=False):
>>> await client.start()
>>> try:
... await client.start()
... print('Session resumed.')
... except SessionResumeError:
... print('Session not resumed. Subscribe to topics.')
"""

self._topic_aliases = {}
Expand Down

0 comments on commit 57a6bb5

Please sign in to comment.