I think that these docstrings:
|
:param on_failure: Callback executed if at least one HTTP request in a flush has status code 200 |
|
:param on_failure: Callback executed if at least one HTTP request in a flush has status code 200 |
should read something closer to:
Callback executed if at least one HTTP request in a flush has status code other than 200
Noting that this ignores the range suggested in is_good_status_code(status_code) since the docstring for on_success also ignored it.
I think that these docstrings:
snowplow-python-tracker/snowplow_tracker/emitters.py
Line 88 in 91da00a
snowplow-python-tracker/snowplow_tracker/emitters.py
Line 347 in 91da00a
should read something closer to:
Callback executed if at least one HTTP request in a flush has status code other than 200Noting that this ignores the range suggested in
is_good_status_code(status_code)since the docstring foron_successalso ignored it.