MCPcopy Index your code
hub / github.com/sqlalchemy/sqlalchemy / domains

Method domains

lib/sqlalchemy/dialects/postgresql/base.py:5699–5710  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

5697
5698 @util.memoized_property
5699 def domains(self) -> Dict[Tuple[str] | Tuple[str, str], ReflectedDomain]:
5700 # dictionary with (name, ) if default search path or (schema, name)
5701 # as keys
5702 domains = {
5703 ((d["schema"], d["name"]) if not d["visible"] else (d["name"],)): d
5704 for d in self.dialect._load_domains(
5705 self.connection,
5706 schema="*",
5707 info_cache=self.kw.get("info_cache"),
5708 )
5709 }
5710 return domains

Callers

nothing calls this directly

Calls 2

_load_domainsMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected