(self, bind: Union[Engine, Connection])
| 248 | return self |
| 249 | |
| 250 | def _init_legacy(self, bind: Union[Engine, Connection]) -> None: |
| 251 | if hasattr(bind, "exec_driver_sql"): |
| 252 | self._init_connection(bind) # type: ignore[arg-type] |
| 253 | else: |
| 254 | self._init_engine(bind) |
| 255 | |
| 256 | def _init_engine(self, engine: Engine) -> None: |
| 257 | self.bind = self.engine = engine |
no test coverage detected