Files
headquarter/apps/api/src/models/config/.pi-map.md
T
Developer 070cd4d5a5 chore: track all project map and index files
Add generated .pi-map.md and .pi-map.index.md files across the repository
so the project navigation maps are shared and versioned. These artifacts
are maintained by project_map_init/patch/validate and must be kept in
sync with source edits.

Note: .cache/ remains ignored (added in previous commit).
2026-06-12 13:46:23 +00:00

1.2 KiB

apps/api/src/models/config

dir: apps/api/src/models/config

index: apps/api/src/models/config/.pi-map.index.md

role

Provides SQLAlchemy ORM models for managing configuration profiles and their hierarchical includes in the API application.

files

  • __init__.py | Exports config model classes from a subpackage for simplified importing | dep: src.models.config.config_profile
  • config_profile.py | Defines SQLAlchemy ORM models for configuration profiles and their includes, storing environment variables, runtime hints, mounts, files, and git mounts with user/project/tool associations and self-referential inclusion relationships. | exp: class:ConfigProfile, class:ConfigProfileInclude | dep: uuid, typing, sqlalchemy, sqlalchemy.orm, src.models.base, src.models.project, src.models, src.models.user, src.models (ToolType)

arch

Uses SQLAlchemy declarative ORM pattern with self-referential many-to-many relationships for profile inclusion, and associations to users, projects, and tools.

tags

config, src, models, profile, sqlalchemy, init, orm, mounts

symbols

  • ConfigProfile
  • ConfigProfileInclude

workflows

  • change config behavior read: __init__.py, config_profile.py
  • change config config read: config_profile.py

dirty