parameters: (self)
docstring: Activates the stubber on the client
docstring_summary: Activates the stubber on the client
docstring_tokens: Activates the stubber on the client
function: def activate(self):
          """
          Activates the stubber on the client
          """
          self.client.meta.events.register_first(
              'before-parameter-build.*.*',
              self._assert_expected_params,
              unique_id=self._expected_params_event_id)
          self.client.meta.events.register(
              'before-call.*.*',
              self._get_response_handler,
              unique_id=self._event_id)
function_tokens: def activate ( self ) : self . client . meta . events . register_first ( 'before-parameter-build.*.*' , self . _assert_expected_params , unique_id = self . _expected_params_event_id ) self . client . meta . events . register ( 'before-call.*.*' , self . _get_response_handler , unique_id = self . _event_id )