Files
sasa-membership/backend/app/schemas/feature_flags.py
2025-11-23 15:46:51 +00:00

15 lines
342 B
Python

from pydantic import BaseModel
from typing import Dict, Any, List
class FeatureFlagsResponse(BaseModel):
"""Response model for feature flags"""
flags: Dict[str, Any]
enabled_flags: List[str]
class FeatureFlagResponse(BaseModel):
"""Response model for a single feature flag"""
name: str
enabled: bool
value: Any