MCPcopy Create free account
hub / github.com/apache/arrow / _shutdown

Method _shutdown

python/examples/flight/server.py:113–117  ·  view source on GitHub ↗

Shut down after a delay.

(self)

Source from the content-addressed store, hash-verified

111 raise KeyError(f"Unknown action {action.type!r}")
112
113 def _shutdown(self):
114 """Shut down after a delay."""
115 print("Server is shutting down...")
116 time.sleep(2)
117 self.shutdown()
118
119
120def main():

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected