Spaces:
Running
Running
Update insight_and_tasks/data_models/metrics.py
Browse files
insight_and_tasks/data_models/metrics.py
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
# data_models/metrics.py
|
2 |
from dataclasses import dataclass, field
|
3 |
-
from typing import List, Dict, Any, Literal
|
4 |
|
5 |
# Define literal types for more specific type hinting
|
6 |
MetricType = Literal['time_series', 'aggregate', 'categorical']
|
|
|
1 |
# data_models/metrics.py
|
2 |
from dataclasses import dataclass, field
|
3 |
+
from typing import List, Dict, Any, Literal, Optional
|
4 |
|
5 |
# Define literal types for more specific type hinting
|
6 |
MetricType = Literal['time_series', 'aggregate', 'categorical']
|