lablup / lablup/backend.ai

Apply Field Metadata to API Layer

Open
#7,813 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
670
Forks
183
Avg merge
17h 7m
Merged PRs (30d)
358

Description

## Overview

Apply `BackendAIAPIMeta` field metadata annotations to API layer components for consistent documentation and version tracking.

## Scope

Apply metadata to:

- REST API DTOs (`src/ai/backend/manager/dto/*.py`)
- Strawberry GraphQL schema (`src/ai/backend/manager/api/gql/*.py`, `models/gql_models/*.py`)

## References

- [BEP-1022: Pydantic Field Metadata Annotation](https://github.com/lablup/backend.ai/blob/main/proposals/BEP-1022-pydantic-field-annotations.md)
- Depends on: BA-3766 (metadata class implementation)

## Implementation Phases

- Phase 3: Apply to REST API Request/Response DTOs
- Phase 4: Apply to Strawberry GraphQL types and inputs

JIRA Issue: BA-3783

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.