File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 4646 OidcResourceOwnerPasswordAuthenticator ,
4747)
4848from openeo .rest .datacube import DataCube , InputDate
49+ from openeo .rest .http import requests_with_retry
4950from openeo .rest .job import BatchJob , RESTJob
5051from openeo .rest .mlmodel import MlModel
5152from openeo .rest .rest_capabilities import RESTCapabilities
@@ -85,7 +86,8 @@ def __init__(
8586 ):
8687 self ._root_url = root_url
8788 self .auth = auth or NullAuth ()
88- self .session = session or requests .Session ()
89+ # TODO: #441 [WIP] Add requests_with_retry here to the session?
90+ self .session = session or requests_with_retry ()
8991 self .default_timeout = default_timeout or DEFAULT_TIMEOUT
9092 self .default_headers = {
9193 "User-Agent" : "openeo-python-client/{cv} {py}/{pv} {pl}" .format (
You can’t perform that action at this time.
0 commit comments