Arch changes and feature flags
This commit is contained in:
15
backend/app/schemas/feature_flags.py
Normal file
15
backend/app/schemas/feature_flags.py
Normal file
@@ -0,0 +1,15 @@
|
||||
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
|
||||
Reference in New Issue
Block a user