Skip to content

Add hw2 *and* hw4 😎 #14

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

SinaKhalili
Copy link

No description provided.

@please-wait please-wait requested a review from xinbinhuang July 27, 2019 21:07
@SinaKhalili SinaKhalili changed the title Add hw2 Add hw2 *and* hw4 😎 Jul 29, 2019
@please-wait please-wait requested a review from mezzX August 1, 2019 18:11
@please-wait
Copy link
Member

@xinbinhuang can you please check hw2 in this PR?
@mezzX can you please check hw4 in this PR?

"""
json_data = requests.get(request).json()

with open('../data/data.json', 'w') as outfile:
Copy link
Collaborator

Choose a reason for hiding this comment

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

Be careful of relative file paths.
The DAG failed because the current path is the airflow root directory rather than the DAG home.

Copy link
Author

Choose a reason for hiding this comment

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

👍 Changed it to data/raw/data.json - is this correct?


task1 = BashOperator(
task_id="blastoff",
bash_command="echo '🚀 blastoff'",
Copy link
Collaborator

Choose a reason for hiding this comment

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

The 🚀 causes an error for airflow to load the dag

Copy link
Author

Choose a reason for hiding this comment

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

Lol removed 👍

- Change relative path
- Remove rocketship emoji
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.

3 participants