def __init__(self, my_args=None):
        """
        NATS driver constructor
        :param my_args: dict like {user, password, host[, port, client_properties]}. Default = None
        :return: self
        """
        LOGGER.debug("natsd.Driver.__init__")
        self.type = my_args['type']
        self.configuration_OK = False
        try:
            Driver.validate_driver_conf(my_args)
            self.configuration_OK = True
        except Exception as e:
            raise e

        self.connection_args = my_args
        self.services_registry = []
        self.requester_registry = []
def __init__ ( self , my_args = None ) : LOGGER . debug ( "natsd.Driver.__init__" ) self . type = my_args [ 'type' ] self . configuration_OK = False try : Driver . validate_driver_conf ( my_args ) self . configuration_OK = True except Exception as e : raise e self . connection_args = my_args self . services_registry = [ ] self . requester_registry = [ ]
NATS driver constructor
        :param my_args: dict like {user, password, host[, port, client_properties]}. Default = None
        :return: self