Skip to content

Commit

Permalink
[dagster-airlift] Scheduling migration guide from Airflow to Dagster
Browse files Browse the repository at this point in the history
  • Loading branch information
dpeng817 committed Dec 5, 2024
1 parent 0033e99 commit dcfdce9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions docs/content/_navigation.json
Original file line number Diff line number Diff line change
Expand Up @@ -934,6 +934,10 @@
"title": "Airlift",
"path": "/integrations/airlift",
"children": [
{
"title": "Mapping Airflow Concepts to Dagster",
"path": "/integrations/airlift/airflow-dagster-equivalents"
},
{
"title": "Airflow Migration Tutorial",
"path": "/integrations/airlift/tutorial/overview",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ export AIRFLOW_CONN_AWS_DEFAULT='aws://YOUR_AWS_ACCESS_KEY_ID:YOUR_AWS_SECRET_AC

Here's an example of using an Airflow Hook with a set-up Airflow connection to interact with S3:

```python file=/integrations/airlift/equivalents/airflow_hook.py
```python file=/integrations/airlift/equivalents/airflow_hook.py startafter=start_ex endbefore=end_ex
from datetime import datetime, timedelta

from airflow import DAG
Expand Down
Empty file.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# type: ignore
# start_ex
from datetime import datetime, timedelta

from airflow import DAG
Expand All @@ -18,3 +20,4 @@ def upload_customers_data() -> None:
task_id="s3_operations",
python_callable=upload_customers_data,
)
# end_ex

0 comments on commit dcfdce9

Please sign in to comment.