-
Notifications
You must be signed in to change notification settings - Fork 15
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
base: master
Are you sure you want to change the base?
Conversation
@xinbinhuang can you please check hw2 in this PR? |
""" | ||
json_data = requests.get(request).json() | ||
|
||
with open('../data/data.json', 'w') as outfile: |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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'", |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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
No description provided.