Skip to content

Commit

Permalink
AIP-69: Add leftover glue of all pieces to Edge Provider (apache#42051)
Browse files Browse the repository at this point in the history
  • Loading branch information
jscheffl authored Oct 18, 2024
1 parent 360a6c4 commit 76c8470
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 1 deletion.
24 changes: 24 additions & 0 deletions docs/apache-airflow-providers-edge/cli-ref.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
.. Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
.. http://www.apache.org/licenses/LICENSE-2.0
.. Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
Edge Executor Commands
----------------------

.. argparse::
:module: airflow.providers.edge.executors.edge_executor
:func: _get_parser
:prog: airflow
1 change: 1 addition & 0 deletions docs/apache-airflow-providers-edge/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
:caption: References

Configuration <configurations-ref>
CLI <cli-ref>
Python API <_api/airflow/providers/edge/index>
PyPI Repository <https://pypi.org/project/apache-airflow-providers-edge/>
Installing from sources <installing-providers-from-sources>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from airflow.executors.base_executor import BaseExecutor
from airflow.models.abstractoperator import DEFAULT_QUEUE
from airflow.models.taskinstance import TaskInstanceState
from airflow.providers.edge.cli.edge_command import EDGE_COMMANDS
from airflow.providers.edge.models.edge_job import EdgeJobModel
from airflow.providers.edge.models.edge_logs import EdgeLogsModel
from airflow.providers.edge.models.edge_worker import EdgeWorkerModel
Expand Down Expand Up @@ -171,7 +172,7 @@ def get_cli_commands() -> list[GroupCommand]:
"Start and manage Edge Worker. Works only when using EdgeExecutor. For more information, "
"see https://airflow.apache.org/docs/apache-airflow-providers-edge/stable/edge_executor.html"
),
subcommands=[],
subcommands=EDGE_COMMANDS,
),
]

Expand Down

0 comments on commit 76c8470

Please sign in to comment.