File tree Expand file tree Collapse file tree 3 files changed +8
-1
lines changed
Expand file tree Collapse file tree 3 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 1+ ## 3.13.0 - 2025-02-12
2+
3+ 1 . Automatically retry connection errors
4+
15## 3.12.1 - 2025-02-11
26
371 . Fix mypy support for 3.12.0
Original file line number Diff line number Diff line change 66from typing import Any , Optional , Union
77
88import requests
9+ from requests .adapters import HTTPAdapter
910from dateutil .tz import tzutc
1011
1112from posthog .utils import remove_trailing_slash
1213from posthog .version import VERSION
1314
15+ adapter = HTTPAdapter (max_retries = 2 )
1416_session = requests .sessions .Session ()
17+ _session .mount ('https://' , adapter )
1518
1619US_INGESTION_ENDPOINT = "https://us.i.posthog.com"
1720EU_INGESTION_ENDPOINT = "https://eu.i.posthog.com"
Original file line number Diff line number Diff line change 1- VERSION = "3.12.1 "
1+ VERSION = "3.13.0 "
22
33if __name__ == "__main__" :
44 print (VERSION , end = "" ) # noqa: T201
You can’t perform that action at this time.
0 commit comments