Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Description
An opinionated implementation of exclusively using airflow
DockerOperators for all Operators.

In the following examples, the `Task Code` section is the actual code contained in the image used in the `Dag Code` section.

Default Operator
----------------

Expand Down Expand Up @@ -66,6 +68,8 @@ from airflow_docker_helper import client
client.branch_to_tasks(['task1', 'task2'])
```

where 'task1' and 'task2' reference the `task_id` of tasks in the Dag itself.

Short Circuit Operator
----------------------

Expand All @@ -88,6 +92,8 @@ from airflow_docker_helper import client
client.short_circuit() # This task will short circuit if this function gets called
```

This will skip all downstream tasks

Context Usage
-------------

Expand Down