Skip to content
This repository was archived by the owner on Aug 13, 2021. It is now read-only.

Commit ac88d8f

Browse files
author
Joel Klinger
committed
added endpoint field to sql2estasks
1 parent dae44aa commit ac88d8f

File tree

4 files changed

+5
-1
lines changed

4 files changed

+5
-1
lines changed

nesta/core/routines/arxiv/arxiv_lolvelty.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def requires(self):
4242
process_batch_size=10000,
4343
drop_and_recreate=self.drop_and_recreate,
4444
dataset='arxiv',
45+
endpoint='arxlive',
4546
id_field=Article.id,
4647
filter=Article.article_source == 'arxiv',
4748
entity_type='article',

nesta/core/routines/arxiv/arxiv_root_task.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ def requires(self):
129129
process_batch_size=10000,
130130
drop_and_recreate=self.drop_and_recreate,
131131
dataset='arxiv',
132+
endpoint='arxlive',
132133
id_field=Article.id,
133134
entity_type='article',
134135
db_config_env='MYSQLDB',

nesta/core/routines/eurito_es/es_root.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ def kwarg_maker(dataset, routine_id):
2525
f3p('schema_transformations/eurito/'),
2626
f3p('nesta')]
2727
batchable=f3p(f'batchables/eurito/{dataset}_eu')
28-
return dict(dataset=f'{dataset}-eu',
28+
return dict(dataset=dataset,
29+
endpoint='eurito',
2930
routine_id=f'{dataset}-eu_{routine_id}',
3031
env_files=env_files,
3132
batchable=batchable)

nesta/core/routines/meetup/health_tagging/health_meetup_es_task.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ def requires(self):
7373
process_batch_size=100,
7474
drop_and_recreate=self.drop_and_recreate,
7575
dataset='meetup',
76+
endpoint='health-scanner',
7677
id_field=Group.id,
7778
entity_type='meetup',
7879
core_categories=self.core_categories,

0 commit comments

Comments
 (0)