Created
September 7, 2016 18:51
-
-
Save savoiema/36adfb2339df203fd70b6eb1d88807b2 to your computer and use it in GitHub Desktop.
backfill where clause suggestion
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
backfill_filter = dict(backfill_id=backfill_id) | |
if completed_filter is not None: | |
backfill_filter["completed"] = completed_filter | |
if error_filter is not None: | |
backfill_filter["error"] = error_filter | |
backfill_articles = await BackfillArticle.get_all( | |
backfill_filter, | |
page=page, | |
page_size=page_size | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment