"""DuckDB-specific data dictionary for metadata queries."""
from typing import TYPE_CHECKING, Any, ClassVar, cast
from mypy_extensions import mypyc_attr
from sqlspec.data_dictionary import (
ColumnMetadata,
DependencyMetadata,
ForeignKeyMetadata,
IndexMetadata,
MetadataResult,
MetadataSource,
ObjectIdentity,
TableMetadata,
VersionInfo,
get_data_dictionary_loader,
)
from sqlspec.driver import SyncDataDictionaryBase
if TYPE_CHECKING:
from sqlspec.adapters.duckdb.driver import DuckDBDriver
__all__ = ("DuckDBDataDictionary",)
@mypyc_attr(allow_interpreted_subclasses=True, native_class=False)
class DuckDBDataDictionary(SyncDataDictionaryBase):
"""DuckDB-specific sync data dictionary."""
dialect: ClassVar[str] = "duckdb"
def __init__(self) -> None:
super().__init__()