Method
is_disconnect
(
self,
e: DBAPIModule.Error,
connection: Union[
pool.PoolProxiedConnection, interfaces.DBAPIConnection, None
],
cursor: Optional[interfaces.DBAPICursor],
)
Source from the content-addressed store, hash-verified
| 1085 | cursor.execute(statement) |
| 1086 | |
| 1087 | def is_disconnect( |
| 1088 | self, |
| 1089 | e: DBAPIModule.Error, |
| 1090 | connection: Union[ |
| 1091 | pool.PoolProxiedConnection, interfaces.DBAPIConnection, None |
| 1092 | ], |
| 1093 | cursor: Optional[interfaces.DBAPICursor], |
| 1094 | ) -> bool: |
| 1095 | return False |
| 1096 | |
| 1097 | @util.memoized_instancemethod |
| 1098 | def _gen_allowed_isolation_levels(self, dbapi_conn): |
Tested by
no test coverage detected