Skip to content
This repository has been archived by the owner on Aug 4, 2023. It is now read-only.

Add reingestion DAG for Phylopic #830

Merged
merged 2 commits into from
Oct 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions DAGs.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,7 @@ The following are DAGs grouped by their primary tag:
| `europeana_reingestion_workflow` | `@weekly` |
| `flickr_reingestion_workflow` | `@weekly` |
| `metropolitan_museum_reingestion_workflow` | `@weekly` |
| `phylopic_reingestion_workflow` | `@weekly` |
| `wikimedia_reingestion_workflow` | `@weekly` |


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

from providers.provider_api_scripts.flickr import FlickrDataIngester
from providers.provider_api_scripts.metropolitan_museum import MetMuseumDataIngester
from providers.provider_api_scripts.phylopic import PhylopicDataIngester
from providers.provider_api_scripts.wikimedia_commons import (
WikimediaCommonsDataIngester,
)
Expand Down Expand Up @@ -82,6 +83,17 @@ def __post_init__(self):
three_month_list_length=18,
six_month_list_length=30,
),
ProviderReingestionWorkflow(
# 64 total reingestion days
provider_script="phylopic",
ingestion_callable=PhylopicDataIngester,
max_active_tasks=2,
pull_timeout=timedelta(hours=12),
daily_list_length=6,
one_month_list_length=9,
three_month_list_length=18,
six_month_list_length=30,
),
ProviderReingestionWorkflow(
# 64 total reingestion days
dag_id="wikimedia_reingestion_workflow",
Expand Down