MCPcopy
hub / github.com/benoitc/gunicorn / __enter__

Method __enter__

gunicorn/dirty/client.py:326–328  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

324 # -------------------------------------------------------------------------
325
326 def __enter__(self):
327 self.connect()
328 return self
329
330 def __exit__(self, exc_type, exc_val, exc_tb):
331 self.close()

Callers

nothing calls this directly

Calls 1

connectMethod · 0.95

Tested by

no test coverage detected