Organization ORM Model (orm/organization.py)

MIRIX · database, Database / ORM, orm, sqlalchemy, organization, model

SQLAlchemy model representing an organization, the top-level entity linking all other ORM objects within MIRIX.

# Source: https://github.com/mperkins0155/MIRIX | 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.
from typing import TYPE_CHECKING, List

from sqlalchemy.orm import Mapped, mapped_column, relationship

from mirix.orm.sqlalchemy_base import SqlalchemyBase
from mirix.schemas.organization import Organization as PydanticOrganization

if TYPE_CHECKING:
    from mirix.orm.agent import Agent
    from mirix.orm.block import Block
    from mirix.orm.client import Client
    from mirix.orm.cloud_file_mapping import CloudFileMapping
    from mirix.orm.episodic_memory import EpisodicEvent
    from mirix.orm.file import FileMetadata
    from mirix.orm.knowledge_vault import Knowledg

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

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

Get a free API key