MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / get_schema_names

Method get_schema_names

lib/sqlalchemy/engine/reflection.py:365–376  ·  view source on GitHub ↗

r"""Return all schema names. :param \**kw: Additional keyword argument to pass to the dialect specific implementation. See the documentation of the dialect in use for more information.

(self, **kw: Any)

Source from the content-addressed store, hash-verified

363 return self.dialect.default_schema_name
364
365 def get_schema_names(self, **kw: Any) -> List[str]:
366 r"""Return all schema names.
367
368 :param \**kw: Additional keyword argument to pass to the dialect
369 specific implementation. See the documentation of the dialect
370 in use for more information.
371 """
372
373 with self._operation_context() as conn:
374 return self.dialect.get_schema_names(
375 conn, info_cache=self.info_cache, **kw
376 )
377
378 def get_table_names(
379 self, schema: Optional[str] = None, **kw: Any

Callers

nothing calls this directly

Calls 1

_operation_contextMethod · 0.95

Tested by

no test coverage detected