mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-04-18 14:56:02 -04:00
chore: reformat with ruff
This commit is contained in:
parent
fd633c32bf
commit
ae82d6fc13
@ -117,7 +117,8 @@ class RethinkDbFrontier:
|
||||
.order_by(r.desc("claimed"), "last_disclaimed")
|
||||
.fold( # apply functions to sequence
|
||||
{},
|
||||
lambda acc, site: acc.merge( # add the following to the accumulator
|
||||
lambda acc,
|
||||
site: acc.merge( # add the following to the accumulator
|
||||
r.branch( # if has job_id
|
||||
site.has_fields("job_id"),
|
||||
r.object( # then add this: key is stringified job_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user