1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-12 07:20:02 +03:00

6 Commits

Author SHA1 Message Date
David Sangrey
b41dfaa594
[2051] Don't Overwrite Every Session
Whoops. Only fetch a new session if it's None.

Co-Authored-By: Phoebe <40956085+C1701D@users.noreply.github.com>
2023-11-17 11:51:41 -05:00
David Sangrey
b2d5e13465
[2051] Update Supporting Files
Not touching any of the big ones, but some clarification updates to many of the supporting files.
2023-11-17 11:33:26 -05:00
Athanasius
f52ffce79f
timeout_session: Minor typing fix 2022-12-23 14:47:13 +00:00
Athanasius
4ab6d62926
user_agent: Set this once in config.py and use it everywhere
* Also flake8/mypy pass on timeout_session.py
2021-11-29 18:04:56 +00:00
A_D
faac29fe84
Made sure to return super().send() 2020-07-31 15:53:20 +02:00
A_D
81dfbdfb8e
Added timeout_session, made inara use it
timeout_session provides two things, TimeoutAdapter, a HTTP adapter
subclass that automatically adds timeouts to all requests, and
new_session, which automatically creates a request.Session with the
adapter in the correct place.
2020-07-31 15:53:20 +02:00