def __init__(self, unit, address, count): """Constructor Args: unit (int): Unit ID address (int): Starting address. count (int): Count of the registers. """ # Address, Count, key word args. ReadCoilsRequest.__init__(self, address, count, unit=unit)
def __init__(self, address, **kwargs): """ Initializes a new instance :param address: The address to start reading from """ ReadCoilsRequest.__init__(self, address, 16, **kwargs)
def __init__(self, address): ''' Initializes a new instance :param address: The address to start reading from ''' ReadCoilsRequest.__init__(self, address, 16)