airflow.providers.edge3.example_dags.win_notepad
In this DAG is a demonstrator how to interact with a Windows Worker via Notepad.
The DAG is created in conjunction with the documentation in
https://github.com/apache/airflow/blob/main/providers/edge3/docs/install_on_windows.rst
and serves as a PoC test for the Windows worker.
Classes
NotepadOperator
|
Example Operator Implementation which starts a Notepad.exe on Windows. |
Module Contents
-
class airflow.providers.edge3.example_dags.win_notepad.NotepadOperator(text, **kwargs)[source]
Bases: airflow.models.BaseOperator
Example Operator Implementation which starts a Notepad.exe
on Windows.
-
template_fields: collections.abc.Sequence[str] = 'text'[source]
-
text[source]
-
execute(context)[source]
Derive when creating an operator.
Context is the same dictionary used as when rendering jinja templates.
Refer to get_template_context for more context.
-
airflow.providers.edge3.example_dags.win_notepad.npo[source]