Fix typo
This commit is contained in:
parent
097311f360
commit
606b08906c
1 changed files with 1 additions and 1 deletions
|
@ -134,7 +134,7 @@ class CompletedKeys(object):
|
||||||
def yield_random_entries(batch_query, primary_key_field, batch_size, max_id, min_id=0):
|
def yield_random_entries(batch_query, primary_key_field, batch_size, max_id, min_id=0):
|
||||||
""" This method will yield items from random blocks in the database. We will track metadata
|
""" This method will yield items from random blocks in the database. We will track metadata
|
||||||
about which keys are available for work, and we will complete the backfill when there is no
|
about which keys are available for work, and we will complete the backfill when there is no
|
||||||
more work to be done. The method yields tupes of (candidate, Event), and if the work was
|
more work to be done. The method yields tuples of (candidate, Event), and if the work was
|
||||||
already done by another worker, the caller should set the event. Batch candidates must have
|
already done by another worker, the caller should set the event. Batch candidates must have
|
||||||
an "id" field which can be inspected.
|
an "id" field which can be inspected.
|
||||||
"""
|
"""
|
||||||
|
|
Reference in a new issue