MCPcopy
hub / github.com/scrapinghub/splash / run_function

Method run_function

splash/browser_tab.py:279–284  ·  view source on GitHub ↗
(self, func_id, event_id, event)

Source from the content-addressed store, hash-verified

277
278 @pyqtSlot(str, str, 'QVariantMap', name="run")
279 def run_function(self, func_id, event_id, event):
280 if func_id not in self.storage:
281 return
282 wrapped_event = Event(self.events_storage, event_id, event)
283 self.storage[func_id].on_call_after.append(wrapped_event.remove)
284 self.storage[func_id](wrapped_event)
285
286
287class EventsStorage(QObject):

Callers

nothing calls this directly

Calls 2

EventClass · 0.85
appendMethod · 0.80

Tested by

no test coverage detected