MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / _get_table_key

Function _get_table_key

lib/sqlalchemy/sql/schema.py:187–191  ·  view source on GitHub ↗
(name: str, schema: Optional[str])

Source from the content-addressed store, hash-verified

185
186
187def _get_table_key(name: str, schema: Optional[str]) -> str:
188 if schema is None:
189 return name
190 else:
191 return schema + "." + name
192
193
194# this should really be in sql/util.py but we'd have to

Callers 12

_newMethod · 0.85
keyMethod · 0.85
__str__Method · 0.85
to_metadataMethod · 0.85
_resolve_col_tokensMethod · 0.85
__init__Method · 0.85
_add_tableMethod · 0.85
_remove_tableMethod · 0.85
__getattr__Method · 0.85
_resolve_table_keyMethod · 0.85
_raise_for_nameMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected