mirror of
https://github.com/internetarchive/brozzler.git
synced 2025-07-12 17:49:25 -04:00
chore: reformat with ruff
This commit is contained in:
parent
fd633c32bf
commit
ae82d6fc13
1 changed files with 2 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue