MCPcopy Index your code
hub / github.com/prometheus/client_python / send_input

Method send_input

tests/test_asgi.py:46–49  ·  view source on GitHub ↗
(self, payload)

Source from the content-addressed store, hash-verified

44 self.communicator = ApplicationCommunicator(app, self.scope)
45
46 def send_input(self, payload):
47 asyncio.new_event_loop().run_until_complete(
48 self.communicator.send_input(payload)
49 )
50
51 def send_default_request(self):
52 self.send_input({"type": "http.request", "body": b""})

Callers 5

send_default_requestMethod · 0.95
test_gzipMethod · 0.95
test_gzip_disabledMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected