def add_request_handlers_dict(self, rh_dict):
        """Add fake request handler functions from a dict keyed by request name

        Note the keys must be the KATCP message name (i.e. "the-request", not
        "the_request")

        The request-handler interface is more or less compatible with request handler API
        in :class:`katcp.server.DeviceServerBase`. The fake ClientRequestConnection req
        object does not support mass_inform() or reply_with_message.

        """
        # Check that all the callables have docstrings as strings
        for req_func in rh_dict.values():
            assert req_func.__doc__, "Even fake request handlers must have docstrings"
        self._fkc.request_handlers.update(rh_dict)
        self._fic._interface_changed.set()
def add_request_handlers_dict ( self , rh_dict ) : for req_func in rh_dict . values ( ) : assert req_func . __doc__ , "Even fake request handlers must have docstrings" self . _fkc . request_handlers . update ( rh_dict ) self . _fic . _interface_changed . set ( )
Add fake request handler functions from a dict keyed by request name

        Note the keys must be the KATCP message name (i.e. "the-request", not
        "the_request")

        The request-handler interface is more or less compatible with request handler API
        in :class:`katcp.server.DeviceServerBase`. The fake ClientRequestConnection req
        object does not support mass_inform() or reply_with_message.