Return an :class:`_reflection.Inspector` from this one that will run all operations on a single connection.
(self)
| 340 | |
| 341 | @contextlib.contextmanager |
| 342 | def _inspection_context(self) -> Generator[Inspector, None, None]: |
| 343 | """Return an :class:`_reflection.Inspector` |
| 344 | from this one that will run all |
| 345 | operations on a single connection. |
| 346 | |
| 347 | """ |
| 348 | |
| 349 | with self._operation_context() as conn: |
| 350 | sub_insp = self._construct(self.__class__._init_connection, conn) |
| 351 | sub_insp.info_cache = self.info_cache |
| 352 | yield sub_insp |
| 353 | |
| 354 | @property |
| 355 | def default_schema_name(self) -> Optional[str]: |
no test coverage detected