MCPcopy Index your code
hub / github.com/zappa/Zappa / send

Method send

zappa/asynchronous.py:168–180  ·  view source on GitHub ↗

Create the message object and pass it to the actual sender.

(self, task_path, args, kwargs)

Source from the content-addressed store, hash-verified

166 self.capture_response = capture_response
167
168 def send(self, task_path, args, kwargs):
169 """
170 Create the message object and pass it to the actual sender.
171 """
172 message = {
173 "task_path": task_path,
174 "capture_response": self.capture_response,
175 "response_id": self.response_id,
176 "args": args,
177 "kwargs": kwargs,
178 }
179 self._send(message)
180 return self
181
182 def _send(self, message):
183 """

Callers 2

runFunction · 0.45
_run_asyncFunction · 0.45

Calls 1

_sendMethod · 0.95

Tested by

no test coverage detected