Skip to content

Commit

Permalink
Merge pull request #929 from Mause/fix-domains
Browse files Browse the repository at this point in the history
fix: _loads_domains in SQLA2
  • Loading branch information
Mause committed Apr 7, 2024
2 parents e2055f9 + 4c67e26 commit 272a300
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions duckdb_engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -561,12 +561,16 @@ def get_multi_columns(

# dictionary with (name, ) if default search path or (schema, name)
# as keys
domains: Dict[tuple, dict] = {}
"""
TODO: fix these pg_collation errors in SQLA2
domains = {
((d["schema"], d["name"]) if not d["visible"] else (d["name"],)): d
for d in self._load_domains( # type: ignore[attr-defined]
connection, schema="*", info_cache=kw.get("info_cache")
)
}
"""

# dictionary with (name, ) if default search path or (schema, name)
# as keys
Expand Down

0 comments on commit 272a300

Please sign in to comment.