@@ -83,13 +83,12 @@ def __init__(
83
83
:param batch_size: The maximum number of queued events before the buffer is flushed. Default is 10.
84
84
:type batch_size: int | None
85
85
:param on_success: Callback executed after every HTTP request in a flush has status code 200
86
- Gets passed the number of events flushed.
86
+ Gets passed one argument, an array of dictionaries corresponding to the sent events' payloads
87
87
:type on_success: function | None
88
88
:param on_failure: Callback executed if at least one HTTP request in a flush has status code other than 200
89
89
Gets passed two arguments:
90
90
1) The number of events which were successfully sent
91
- 2) If method is "post": The unsent data in string form;
92
- If method is "get": An array of dictionaries corresponding to the unsent events' payloads
91
+ 2) An array of dictionaries corresponding to the unsent events' payloads
93
92
:type on_failure: function | None
94
93
:param byte_limit: The size event list after reaching which queued events will be flushed
95
94
:type byte_limit: int | None
@@ -463,13 +462,12 @@ def __init__(
463
462
:param batch_size: The maximum number of queued events before the buffer is flushed. Default is 10.
464
463
:type batch_size: int | None
465
464
:param on_success: Callback executed after every HTTP request in a flush has status code 200
466
- Gets passed the number of events flushed.
465
+ Gets passed one argument, an array of dictionaries corresponding to the sent events' payloads
467
466
:type on_success: function | None
468
467
:param on_failure: Callback executed if at least one HTTP request in a flush has status code other than 200
469
468
Gets passed two arguments:
470
469
1) The number of events which were successfully sent
471
- 2) If method is "post": The unsent data in string form;
472
- If method is "get": An array of dictionaries corresponding to the unsent events' payloads
470
+ 2) An array of dictionaries corresponding to the unsent events' payloads
473
471
:type on_failure: function | None
474
472
:param thread_count: Number of worker threads to use for HTTP requests
475
473
:type thread_count: int
0 commit comments