Skip to content

Commit 0339499

Browse files
mark-walleoguzhanunlu
authored andcommitted
Fix on_failure param docstring description (close snowplow#225)
1 parent 841aaf6 commit 0339499

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

snowplow_tracker/emitters.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ def __init__(self, endpoint, protocol="http", port=None, method="get", buffer_si
8484
:param on_success: Callback executed after every HTTP request in a flush has status code 200
8585
Gets passed the number of events flushed.
8686
:type on_success: function | None
87-
:param on_failure: Callback executed if at least one HTTP request in a flush has status code 200
87+
:param on_failure: Callback executed if at least one HTTP request in a flush has status code other than 200
8888
Gets passed two arguments:
8989
1) The number of events which were successfully sent
9090
2) If method is "post": The unsent data in string form;
@@ -342,7 +342,7 @@ def __init__(
342342
:param on_success: Callback executed after every HTTP request in a flush has status code 200
343343
Gets passed the number of events flushed.
344344
:type on_success: function | None
345-
:param on_failure: Callback executed if at least one HTTP request in a flush has status code 200
345+
:param on_failure: Callback executed if at least one HTTP request in a flush has status code other than 200
346346
Gets passed two arguments:
347347
1) The number of events which were successfully sent
348348
2) If method is "post": The unsent data in string form;

0 commit comments

Comments
 (0)