Skip to content

Commit

Permalink
fmt/docstring fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hatomist committed Jan 18, 2025
1 parent 2fbe58d commit ffc8e62
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions kos-py/pykos/services/led_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,21 @@ class MatrixInfo(TypedDict):


class ImageData(TypedDict):
"""Information about image data.
"""Image data to be written to the LED matrix.
Args:
data: Raw image data bytes
buffer: Raw image data bytes
width: Image width in pixels
height: Image height in pixels
format: Pixel format specification (e.g. 'RGB888', 'BGR888', 'RGB565')
format: Pixel format specification (e.g. 'RGB888', 'BGR888', 'RGB565', 'MONO8')
brightness: Global brightness level (0-255)
"""

data: bytes
buffer: bytes
width: int
height: int
format: str
brightness: int


class LEDMatrixServiceClient:
Expand Down

0 comments on commit ffc8e62

Please sign in to comment.