Skip to content

Commit

Permalink
Fix BaseOperator link (#27441)
Browse files Browse the repository at this point in the history
(cherry picked from commit 8829e99)
  • Loading branch information
ecerulm authored and ephraimbuddy committed Nov 9, 2022
1 parent 6c5e5aa commit 7990b04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/apache-airflow/executor/celery.rst
Expand Up @@ -182,7 +182,7 @@ Two databases are also available:
During this process, two 2 process are created:

- LocalTaskJobProcess - It logic is described by LocalTaskJob. It is monitoring RawTaskProcess. New processes are started using TaskRunner.
- RawTaskProcess - It is process with the user code e.g. :meth:`~airflow.models.BaseOperator.execute`.
- RawTaskProcess - It is process with the user code e.g. :meth:`~airflow.models.baseoperator.BaseOperator.execute`.

| [1] **SchedulerProcess** processes the tasks and when it finds a task that needs to be done, sends it to the **QueueBroker**.
| [2] **SchedulerProcess** also begins to periodically query **ResultBackend** for the status of the task.
Expand Down
8 changes: 4 additions & 4 deletions docs/apache-airflow/python-api-ref.rst
Expand Up @@ -31,7 +31,7 @@ The DAG is Airflow's core model that represents a recurring workflow. Check out
Operators
---------
Operators allow for generation of certain types of tasks that become nodes in
the DAG when instantiated. All operators derive from :class:`~airflow.models.BaseOperator` and
the DAG when instantiated. All operators derive from :class:`~airflow.models.baseoperator.BaseOperator` and
inherit many attributes and methods that way.

There are 3 main types of operators:
Expand All @@ -47,16 +47,16 @@ There are 3 main types of operators:

BaseOperator
''''''''''''
All operators are derived from :class:`~airflow.models.BaseOperator` and acquire much
All operators are derived from :class:`~airflow.models.baseoperator.BaseOperator` and acquire much
functionality through inheritance. Since this is the core of the engine,
it's worth taking the time to understand the parameters of :class:`~airflow.models.BaseOperator`
it's worth taking the time to understand the parameters of :class:`~airflow.models.baseoperator.BaseOperator`
to understand the primitive features that can be leveraged in your
DAGs.

BaseSensorOperator
''''''''''''''''''
All sensors are derived from :class:`~airflow.sensors.base.BaseSensorOperator`. All sensors inherit
the :attr:`~airflow.sensors.base.BaseSensorOperator.timeout` and :attr:`~airflow.sensors.base.BaseSensorOperator.poke_interval` on top of the :class:`~airflow.models.BaseOperator`
the :attr:`~airflow.sensors.base.BaseSensorOperator.timeout` and :attr:`~airflow.sensors.base.BaseSensorOperator.poke_interval` on top of the :class:`~airflow.models.baseoperator.BaseOperator`
attributes.

Operators packages
Expand Down

0 comments on commit 7990b04

Please sign in to comment.