Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Flagsmith/flagsmith
/ MetricSpec
Class
MetricSpec
api/experimentation/dataclasses.py:54–58 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
52
53
@dataclass(frozen=True)
54
class
MetricSpec:
55
metric_id: int
56
event: str
57
aggregation: str
58
lower_is_better: bool
59
60
61
@dataclass(frozen=True)
Callers
3
_experiment_metric_specs
Function · 0.90
_spec
Function · 0.90
test_experiment_metric_specs__attached_metrics__maps_definition_and_direction
Function · 0.90
Calls
no outgoing calls
Tested by
2
_spec
Function · 0.72
test_experiment_metric_specs__attached_metrics__maps_definition_and_direction
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…