Skip to content

Commit

Permalink
py: docs
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Nov 28, 2024
1 parent b537307 commit a0e65e2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions py/miniconf-mqtt/miniconf/__main__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
"""
Command line interface for Miniconf-over-MQTT (asynchronous)
"""

import asyncio
from .async_ import _main

Expand Down
3 changes: 1 addition & 2 deletions py/miniconf-mqtt/miniconf/async_.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,7 @@


class MiniconfException(Exception):
"""Generic exceptions generated by Miniconf."""

"""Miniconf Error"""
def __init__(self, code, message):
self.code = code
self.message = message
Expand Down
2 changes: 1 addition & 1 deletion py/miniconf-mqtt/miniconf/sync.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@


class Miniconf:
"""An synchronous API for controlling Miniconf devices using MQTT."""
"""Miniconf over MQTT (synchronous)"""

def __init__(self, client: Client, prefix: str):
self.client = client
Expand Down

0 comments on commit a0e65e2

Please sign in to comment.