Skip to content

Commit 5dadb01

Browse files
authored
Merge pull request #347 from splitio/dw-update-adapters
update feature in engine.impressions.adapters
2 parents 5014015 + f27cd92 commit 5dadb01

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

splitio/engine/impressions/adapters.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def record_unique_keys(self, uniques):
3838
post the unique keys to split back end.
3939
4040
:param uniques: unique keys disctionary
41-
:type uniques: Dictionary {'feature1': set(), 'feature2': set(), .. }
41+
:type uniques: Dictionary {'feature_flag1': set(), 'feature_flag2': set(), .. }
4242
"""
4343
self._telemtry_http_client.record_unique_keys({'keys': self._uniques_formatter(uniques)})
4444

@@ -47,7 +47,7 @@ def _uniques_formatter(self, uniques):
4747
Format the unique keys dictionary array to a JSON body
4848
4949
:param uniques: unique keys disctionary
50-
:type uniques: Dictionary {'feature1': set(), 'feature2': set(), .. }
50+
:type uniques: Dictionary {'feature1_flag': set(), 'feature2_flag': set(), .. }
5151
5252
:return: unique keys JSON array
5353
:rtype: json
@@ -71,7 +71,7 @@ def record_unique_keys(self, uniques):
7171
post the unique keys to redis.
7272
7373
:param uniques: unique keys disctionary
74-
:type uniques: Dictionary {'feature1': set(), 'feature2': set(), .. }
74+
:type uniques: Dictionary {'feature_flag1': set(), 'feature_flag2': set(), .. }
7575
"""
7676
bulk_mtks = _uniques_formatter(uniques)
7777
try:
@@ -88,7 +88,7 @@ def flush_counters(self, to_send):
8888
post the impression counters to redis.
8989
9090
:param to_send: unique keys disctionary
91-
:type to_send: Dictionary {'feature1': set(), 'feature2': set(), .. }
91+
:type to_send: Dictionary {'feature_flag1': set(), 'feature_flag2': set(), .. }
9292
"""
9393
try:
9494
resulted = 0
@@ -138,7 +138,7 @@ def record_unique_keys(self, uniques):
138138
post the unique keys to storage.
139139
140140
:param uniques: unique keys disctionary
141-
:type uniques: Dictionary {'feature1': set(), 'feature2': set(), .. }
141+
:type uniques: Dictionary {'feature_flag1': set(), 'feature_flag2': set(), .. }
142142
"""
143143
bulk_mtks = _uniques_formatter(uniques)
144144
try:
@@ -157,7 +157,7 @@ def flush_counters(self, to_send):
157157
post the impression counters to storage.
158158
159159
:param to_send: unique keys disctionary
160-
:type to_send: Dictionary {'feature1': set(), 'feature2': set(), .. }
160+
:type to_send: Dictionary {'feature_flag1': set(), 'feature_flag2': set(), .. }
161161
"""
162162
try:
163163
resulted = 0
@@ -188,7 +188,7 @@ def _uniques_formatter(uniques):
188188
Format the unique keys dictionary array to a JSON body
189189
190190
:param uniques: unique keys disctionary
191-
:type uniques: Dictionary {'feature1': set(), 'feature2': set(), .. }
191+
:type uniques: Dictionary {'feature_flag1': set(), 'feature_flag2': set(), .. }
192192
193193
:return: unique keys JSON array
194194
:rtype: json

0 commit comments

Comments
 (0)