Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import google spreadsheet into bigquery #5

Merged
merged 17 commits into from
Jan 29, 2020
Merged

Conversation

tayowonibi
Copy link
Contributor

This is implemented as part of the solution for the issue - elifesciences/issues#5256

@tayowonibi tayowonibi requested a review from de-code January 17, 2020 00:19
@de-code
Copy link
Collaborator

de-code commented Jan 17, 2020

This PR also has code changes relating to Crossref in it. Is that intentional?

# Conflicts:
#	dags/crossref_event_data_import_pipeline.py
#	data_pipeline/crossref_event_data/etl_crossref_event_data_util.py
#	docker-compose.yml
#	requirements.txt
@tayowonibi
Copy link
Contributor Author

This PR also has code changes relating to Crossref in it. Is that intentional?

@de-code
crossref event etl branch has been merged to develop and the branch for this pr has been properly rebased, so, you should be able to see the changes relating to the google spreadsheet data pipeline.

.pylintrc Outdated Show resolved Hide resolved
@de-code
Copy link
Collaborator

de-code commented Jan 23, 2020

Hopefully my comments are okay. They are just things I spotted by scanning through the code. It's definitely good overall.

Maybe we could discuss ideas to potentially break up PRs in the future. Which may be more difficult for new DAGs but there should be a way.

@tayowonibi
Copy link
Contributor Author

@de-code - pr based changes made. I am not sure if you want to take another quick look at it before approving it or you are just OK with approving it as it is.

def trigger_dag(**kwargs):
conf_file_path = get_env_var_or_use_default(
SPREADSHEET_CONFIG_FILE_PATH_ENV_NAME, ""
def trigger_spreadsheet_data_pipeline_dag(**kwargs):
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

BTW using _ (underscore) will automatically not be flagged as not used

Copy link
Collaborator

@de-code de-code left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! (I will soon have another Google Sheet to import)

@tayowonibi tayowonibi merged commit 33fa9bc into develop Jan 29, 2020
@de-code de-code mentioned this pull request Jan 30, 2020
@tayowonibi tayowonibi deleted the n_google_sheet branch January 30, 2020 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants