def initialize(self): self.message_data = data.MessageData() self.message_data.open_connection() self.param_extractor = ParamExtractor(self) self.path_extractor = PathExtractor(self) self.body_extractor = BodyExtractor(self)
def initialize(self): self._param_extractor = ParamExtractor(self) self._path_extractor = PathExtractor(self) self._body_extractor = BodyExtractor(self) self.context_data = data.ContextData() self.context_data.open_connection() self.feedback_data = data.FeedbackData() self.feedback_data.open_connection()
def initialize(self, contextualizer: Contextualizer): self._param_extractor = ParamExtractor(self) self._path_extractor = PathExtractor(self) self._body_extractor = BodyExtractor(self) self.context_data = data.ContextData() self.context_data.open_connection() self.contextualizer = contextualizer self.message_data = data.MessageData() self.message_data.open_connection()