Skip to content

Commit

Permalink
Merge pull request #52 from oslokommune/sdk-fix
Browse files Browse the repository at this point in the history
Fix `get_dataset` call
  • Loading branch information
simenheg authored Nov 22, 2024
2 parents 546c7cb + 2dfeeef commit fb08c37
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions probe/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ def _get_dataset_request(probe, request_task):

try:
logger.debug(f"{request_task}: Fetching dataset {dataset_id}")
probe.sdk.get_dataset(
datasetid=dataset_id,
retries=3,
)
probe.sdk.get_dataset(dataset_id, retries=3)
except Exception as e:
probe.on_request_task_fail(request_task, e)
else:
Expand Down

0 comments on commit fb08c37

Please # to comment.