Skip to content

Commit

Permalink
use MOTHERDUCK_SCHEME
Browse files Browse the repository at this point in the history
  • Loading branch information
guenp committed Nov 19, 2024
1 parent 0279f63 commit 21e8610
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bytewax/duckdb/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def __init__(
config = dict(parse_qsl(parsed_db_path.query))

if parsed_db_path.scheme == MOTHERDUCK_SCHEME:
path = f"md:{parsed_db_path.path}"
path = f"{MOTHERDUCK_SCHEME}:{parsed_db_path.path}"
if "custom_user_agent" not in config:
config["custom_user_agent"] = "bytewax"

Expand Down

0 comments on commit 21e8610

Please sign in to comment.