Skip to content

Commit 6949f68

Browse files
authored
Merge pull request #71 from RIPE-NCC/add_lookback_days
Add support for lookback_days in AtlasLatestRequest
2 parents 6d51e0c + b21dda3 commit 6949f68

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

ripe/atlas/cousteau/request.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -279,6 +279,11 @@ def __init__(self, msm_id, probe_ids=(), **kwargs):
279279
if probe_ids:
280280
self.add_probe_parameters(probe_ids)
281281

282+
if 'lookback_days' in kwargs:
283+
self.http_method_args["params"].update({
284+
'lookback_days': kwargs.get('lookback_days')
285+
})
286+
282287
def add_probe_parameters(self, probe_ids):
283288
"""
284289
Creates string format if needed and add probe ids to HTTP

0 commit comments

Comments
 (0)