We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents c50bc82 + 001efd0 commit fe31bf6Copy full SHA for fe31bf6
duckdb_engine/config.py
@@ -11,13 +11,16 @@
11
12
@lru_cache()
13
def get_core_config() -> Set[str]:
14
+ # List of connection string parameters that are supported by MotherDuck
15
+ # See: https://motherduck.com/docs/key-tasks/authenticating-and-connecting-to-motherduck/authenticating-to-motherduck/
16
+ motherduck_config_keys = {"motherduck_token", "attach_mode", "saas_mode"}
17
+
18
rows = (
19
duckdb.connect(":memory:")
20
.execute("SELECT name FROM duckdb_settings()")
21
.fetchall()
22
)
- # special case for motherduck here - they accept this config at extension load time
- return {name for (name,) in rows} | {"motherduck_token"}
23
+ return {name for (name,) in rows} | motherduck_config_keys
24
25
26
def apply_config(
0 commit comments