Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
Jack-Keene committed Aug 22, 2024
1 parent 935a6f9 commit 2b2c811
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions snowplow_tracker/emitters.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,14 +466,14 @@ def __init__(
:type batch_size: int | None
:param on_success: Callback executed after every HTTP request in a flush has status code 200
Gets passed one argument:
1) If method is "post": The sent data in string form;
If method is "get": An array of dictionaries corresponding to the sent events' payloads
1a) If method is "get": The sent data in string form;
1b) If method is "post": An array of dictionaries corresponding to the sent events' payloads
:type on_success: function | None
:param on_failure: Callback executed if at least one HTTP request in a flush has status code other than 200
Gets passed two arguments:
1) The number of events which were successfully sent
2) If method is "post": The unsent data in string form;
If method is "get": An array of dictionaries corresponding to the unsent events' payloads
2a) If method is "get": The unsent data in string form;
2b) If method is "post": An array of dictionaries corresponding to the unsent events' payloads
:type on_failure: function | None
:param thread_count: Number of worker threads to use for HTTP requests
:type thread_count: int
Expand Down

0 comments on commit 2b2c811

Please sign in to comment.