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 46
46
OidcResourceOwnerPasswordAuthenticator ,
47
47
)
48
48
from openeo .rest .datacube import DataCube , InputDate
49
+ from openeo .rest .http import requests_with_retry
49
50
from openeo .rest .job import BatchJob , RESTJob
50
51
from openeo .rest .mlmodel import MlModel
51
52
from openeo .rest .rest_capabilities import RESTCapabilities
@@ -85,7 +86,8 @@ def __init__(
85
86
):
86
87
self ._root_url = root_url
87
88
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 ()
89
91
self .default_timeout = default_timeout or DEFAULT_TIMEOUT
90
92
self .default_headers = {
91
93
"User-Agent" : "openeo-python-client/{cv} {py}/{pv} {pl}" .format (
You can’t perform that action at this time.
0 commit comments