Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Flagsmith/flagsmith
/ WarehouseEventStats
Class
WarehouseEventStats
api/experimentation/dataclasses.py:22–24 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
20
21
@dataclass(frozen=True)
22
class
WarehouseEventStats:
23
total_events_received: int
24
unique_events_count: int
25
26
27
@dataclass(frozen=True)
Callers
8
get_warehouse_event_stats
Function · 0.90
test_warehouse_serializer__event_stats_attached__serializes_counts
Function · 0.90
test_get__warehouse_type__returns_expected_event_stats
Function · 0.90
test_get__pending_connection_with_events__shows_stats_but_does_not_flip
Function · 0.90
test_test_warehouse_connection__pending_with_events__flips_to_connected
Function · 0.90
test_refresh_warehouse_connection_status__events_exist__transitions_to_connected
Function · 0.90
test_refresh_warehouse_connection_status__no_events__stays_pending
Function · 0.90
test_refresh_warehouse_connection_status__already_connected__is_noop
Function · 0.90
Calls
no outgoing calls
Tested by
7
test_warehouse_serializer__event_stats_attached__serializes_counts
Function · 0.72
test_get__warehouse_type__returns_expected_event_stats
Function · 0.72
test_get__pending_connection_with_events__shows_stats_but_does_not_flip
Function · 0.72
test_test_warehouse_connection__pending_with_events__flips_to_connected
Function · 0.72
test_refresh_warehouse_connection_status__events_exist__transitions_to_connected
Function · 0.72
test_refresh_warehouse_connection_status__no_events__stays_pending
Function · 0.72
test_refresh_warehouse_connection_status__already_connected__is_noop
Function · 0.72
Used in the wild
real call sites across dependent graphs
searching dependent graphs…