Skip to content

Commit

Permalink
black
Browse files Browse the repository at this point in the history
  • Loading branch information
altendky committed Jan 14, 2021
1 parent cd409d0 commit 51859ae
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ssst/sunspec/server.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ class ModelSummary:
"""A model can be summarized by its ID and length. While models of fixed length
would not need the length provided, those with repeatable blocks need a length to
indicate the number of repetitions of the repeating block."""

id: int
"""The integer model ID."""
length: int
Expand All @@ -32,6 +33,7 @@ class ModelSummary:
class SunSpecModbusSlaveContext(pymodbus.interfaces.IModbusSlaveContext):
"""A :mod:`pymodbus` slave context that is backed by the ``pysunspec2`` device
object."""

sunspec_device: sunspec2.modbus.client.SunSpecModbusClientDevice
"""The ``pysunspec2`` device object use for local storage of the SunSpec data."""

Expand Down

0 comments on commit 51859ae

Please sign in to comment.