Skip to content

Commit 55df6eb

Browse files
committed
feat: added-docstring-for-PipelineAnalyticsProcessor
1 parent b91349f commit 55df6eb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

flagsmith/analytics.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,14 @@ class PipelineAnalyticsConfig:
7878

7979

8080
class PipelineAnalyticsProcessor:
81+
"""
82+
Buffered analytics processor that sends per-evaluation and custom events
83+
to the Flagsmith pipeline analytics endpoint in batches.
84+
85+
Evaluation events are deduplicated within each flush window. Events are
86+
flushed periodically via a background timer or when the buffer is full.
87+
"""
88+
8189
def __init__(
8290
self,
8391
config: PipelineAnalyticsConfig,

0 commit comments

Comments
 (0)