MCPcopy Create free account
hub / github.com/PyMySQL/PyMySQL / open

Method open

pymysql/connections.py:449–451  ·  view source on GitHub ↗

Return True if the connection is open.

(self)

Source from the content-addressed store, hash-verified

447
448 @property
449 def open(self):
450 """Return True if the connection is open."""
451 return self._sock is not None
452
453 def _force_close(self):
454 """Close connection without QUIT message."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected