Skip to content

Commit

Permalink
fixup! Issue #332 introduce support for job listing pagination
Browse files Browse the repository at this point in the history
  • Loading branch information
soxofaan committed Dec 5, 2024
1 parent 346b04b commit 10d50a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openeo_driver/dummy/dummy_backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -703,7 +703,7 @@ def order_key(m: BatchJobMetadata) -> Tuple[str, str]:

url_safe_codec = UrlSafeStructCodec(signature_field="_usc")

threshold = request_parameters.get("search_after")
threshold = (request_parameters or {}).get("search_after")
if threshold:
threshold = url_safe_codec.decode(threshold)
jobs = [m for m in jobs if order_key(m) < threshold]
Expand Down

0 comments on commit 10d50a0

Please sign in to comment.