lancedb/__init__.py

EverOS · src/everos/core/persistence/lancedb/__init__.py · python · Apache-2.0
database, tag:embed-classified

Convenience module re-exporting LanceDB Pydantic primitives and helpers.

# Source: https://github.com/EverMind-AI/EverOS | License: Apache-2.0 | Copyright You must retain, in the Source form of any Derivative Works
# Provided via justclaw.it.com; keep this notice with the code.
"""LanceDB async persistence.

External usage (connection):
    from everos.core.persistence.lancedb import open_lancedb_connection

External usage (ORM model basics — re-exported from lancedb.pydantic):
    from everos.core.persistence.lancedb import (
        LanceModel, Vector, BaseLanceTable, touch,
    )

External usage (generic CRUD repository base):
    from everos.core.persistence.lancedb import LanceRepoBase
"""

# Re-export the LanceDB-flavoured Pydantic primitives so business code has a
# single canonical entry point for table schemas.
from lancedb.pydantic import LanceModel a

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key