Source code for dae.duckdb_storage.duckdb_connection_factory

import abc

import duckdb


[docs] class DuckDbConnectionFactory(abc.ABC): """Abstract factory for DuckDb connection."""
[docs] @abc.abstractmethod def connect(self) -> duckdb.DuckDBPyConnection: """Create a new DuckDb connection."""