From 0ef833e64b16a617b08d6b98f5d22186981caab6 Mon Sep 17 00:00:00 2001 From: Nicolas Kruse Date: Thu, 29 May 2025 01:25:16 +0200 Subject: [PATCH] Docstrings in __init__.py fixed --- src/pyhoff/__init__.py | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/src/pyhoff/__init__.py b/src/pyhoff/__init__.py index 0d8e90b..44f22b5 100644 --- a/src/pyhoff/__init__.py +++ b/src/pyhoff/__init__.py @@ -225,15 +225,6 @@ class BusCoupler(): """ Base class for ModBus TCP bus coupler - Args: - host: ip or hostname of the bus coupler - port: port of the modbus host - debug: outputs modbus debug information - timeout: timeout for waiting for the device response - watchdog: time in seconds after the device sets all outputs to - default state. A value of 0 deactivates the watchdog. - debug: If True, debug information is printed. - Attributes: bus_terminals: A list of bus terminal classes according to the connected terminals. @@ -248,6 +239,8 @@ class BusCoupler(): Args: host: ip or hostname of the bus coupler port: port of the modbus host + bus_terminals: list of bus terminal classes for the + connected terminals debug: outputs modbus debug information timeout: timeout for waiting for the device response watchdog: time in seconds after the device sets all outputs to