Skip to content

Commit

Permalink
fix: duckdb test connection
Browse files Browse the repository at this point in the history
  • Loading branch information
nextchamp-saqib committed Dec 9, 2024
1 parent abb4a84 commit c289c7c
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,13 @@

import os

import frappe
import ibis
from frappe.utils import get_files_path


def get_duckdb_connection(data_source, read_only=True):
name = data_source.name or data_source.title
name = data_source.name or frappe.scrub(data_source.title)
db_name = data_source.database_name

if db_name.startswith("http"):
Expand Down

0 comments on commit c289c7c

Please sign in to comment.