feat: Add personal reference values management in settings and API
- Introduced new routes and API endpoints for managing personal reference values. - Updated the SettingsPage to include a section for reference values with navigation to manage them. - Enhanced the backend to support reference values in the data layer and versioning. - Added necessary imports and UI components for a seamless user experience.
This commit is contained in:
1 parent
e7dedd527f
commit
f0e6fd04fb
23 files changed
+1719
-2
No files matched your search
@@ -0,0 +1,23 @@
|
||||
"""
|
||||
Algorithm protocol: fixed implementations selected by id from declarative templates.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
|
||||
from typing import Any, Dict, Mapping, Protocol
|
||||
|
||||
from data_layer.training_profile.models import AlgorithmRunResult
|
||||
|
||||
|
||||
class TrainingAlgorithm(Protocol):
|
||||
"""Built-in algorithm callable shape."""
|
||||
|
||||
id: str
|
||||
|
||||
def __call__(
|
||||
self,
|
||||
*,
|
||||
inputs: Mapping[str, Any],
|
||||
params: Mapping[str, Any],
|
||||
) -> AlgorithmRunResult:
|
||||
...
|
||||
Reference in new issue
Block a user