@staticmethod<EOL><INDENT>def create_from_request_pdu(pdu):<DEDENT>
_, address, value = struct.unpack('<STR_LIT>', pdu)<EOL>value = <NUM_LIT:1> if value == <NUM_LIT> else value<EOL>instance = WriteSingleCoil()<EOL>instance.address = address<EOL>instance.value = value<EOL>return instance<EOL>
Create instance from request PDU.

        :param pdu: A response PDU.