plestylib.device.device_utils
=============================

.. py:module:: plestylib.device.device_utils


Classes
-------

.. autoapisummary::

   plestylib.device.device_utils.ResponseParser


Functions
---------

.. autoapisummary::

   plestylib.device.device_utils.operatable
   plestylib.device.device_utils.error_check
   plestylib.device.device_utils.get_local_ip


Module Contents
---------------

.. py:class:: ResponseParser

   Parser to be used in the base device class. Once registered along with a config parameter,
   the parser will be called to parse the raw response from `_query_()` function of the device.
   The parsed result will be used to update the corresponding configuration parameter in the
   `query()` function.


   .. py:method:: __call__(response, param, **kwargs) -> Any

      Parse the raw response from the device and return a structured result.



   .. py:method:: parse(response, param, **kwargs) -> Any
      :abstractmethod:


      Alias for __call__, allowing explicit parsing calls.



.. py:function:: operatable(func)

.. py:function:: error_check(func)

.. py:function:: get_local_ip()

