MCPcopy Index your code
hub / github.com/googleapis/google-api-python-client / close

Method close

googleapiclient/discovery.py:1489–1494  ·  view source on GitHub ↗

Close httplib2 connections.

(self)

Source from the content-addressed store, hash-verified

1487 self.close()
1488
1489 def close(self):
1490 """Close httplib2 connections."""
1491 # httplib2 leaves sockets open by default.
1492 # Cleanup using the `close` method.
1493 # https://github.com/httplib2/httplib2/issues/148
1494 self._http.close()
1495
1496 def _set_service_methods(self):
1497 self._add_basic_methods(self._resourceDesc, self._rootDesc, self._schema)

Callers 2

__exit__Method · 0.95
buildFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected