This is an automated email from the ASF dual-hosted git repository.
eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/main by this push:
new 3b3930cc57 Update provider structure diagram in source code (#43220)
3b3930cc57 is described below
commit 3b3930cc570f59b27244a1bff88f9644e56db858
Author: Elad Kalif <[email protected]>
AuthorDate: Mon Oct 21 20:12:53 2024 +0300
Update provider structure diagram in source code (#43220)
---
.../providers/MANAGING_PROVIDERS_LIFECYCLE.rst | 90 ++++++++++++----------
1 file changed, 50 insertions(+), 40 deletions(-)
diff --git a/providers/src/airflow/providers/MANAGING_PROVIDERS_LIFECYCLE.rst
b/providers/src/airflow/providers/MANAGING_PROVIDERS_LIFECYCLE.rst
index c5e6ec1287..9b9c25c35d 100644
--- a/providers/src/airflow/providers/MANAGING_PROVIDERS_LIFECYCLE.rst
+++ b/providers/src/airflow/providers/MANAGING_PROVIDERS_LIFECYCLE.rst
@@ -60,47 +60,57 @@ triggers (and the list changes continuously).
.. code-block:: bash
- airflow/
- ├── providers/<NEW_PROVIDER>/
- │ ├── __init__.py
- │ ├── executors/
- │ │ ├── __init__.py
- │ │ └── *.py
- │ ├── hooks/
- │ │ ├── __init__.py
- │ │ └── *.py
- │ ├── operators/
- │ │ ├── __init__.py
- │ │ └── *.py
- │ ├── transfers/
- │ │ ├── __init__.py
- │ │ └── *.py
- │ └── triggers/
- │ ├── __init__.py
- │ └── *.py
- └── tests
- ├── providers/<NEW_PROVIDER>/
- │ ├── __init__.py
- │ ├── executors/
- │ │ ├── __init__.py
- │ │ └── test_*.py
- │ ├── hooks/
- │ │ ├── __init__.py
- │ │ └── test_*>.py
- │ ├── operators/
- │ │ ├── __init__.py
- │ │ ├── test_*.py
- │ ...
- │ ├── transfers/
- │ │ ├── __init__.py
- │ │ └── test_*.py
- │ └── triggers/
- │ ├── __init__.py
- │ └── test_*.py
- └── system/providers/<NEW_PROVIDER>/
- ├── __init__.py
- └── example_*.py
+ └── airflow/
+ ├── providers/
+ │ ├── src/
+ │ │ └── airflow/
+ │ │ └── providers/<NEW_PROVIDER>/
+ │ │ ├── __init__.py
+ │ │ ├── executors/
+ │ │ │ ├── __init__.py
+ │ │ │ └── *.py
+ │ │ ├── hooks/
+ │ │ │ ├── __init__.py
+ │ │ │ └── *.py
+ │ │ ├── notifications/
+ │ │ │ ├── __init__.py
+ │ │ │ └── *.py
+ │ │ ├── operators/
+ │ │ │ ├── __init__.py
+ │ │ │ └── *.py
+ │ │ ├── transfers/
+ │ │ │ ├── __init__.py
+ │ │ │ └── *.py
+ │ │ └── triggers/
+ │ │ ├── __init__.py
+ │ │ └── *.py
+ │ └── tests/
+ │ └── providers/<NEW_PROVIDER>/
+ │ ├── __init__.py
+ │ ├── executors/
+ │ │ ├── __init__.py
+ │ │ └── test_*.py
+ │ ├── hooks/
+ │ │ ├── __init__.py
+ │ │ └── test_*.py
+ │ ├── notifications/
+ │ │ ├── __init__.py
+ │ │ └── test_*.py
+ │ ├── operators/
+ │ │ ├── __init__.py
+ │ │ └── test_*.py
+ │ ├── transfers/
+ │ │ ├── __init__.py
+ │ │ └── test_*.py
+ │ └── triggers/
+ │ ├── __init__.py
+ │ └── test_*.py
+ └── tests/system/providers/<NEW_PROVIDER>/
+ ├── __init__.py
+ └── example_*.py
+.. note::
+ The above structure is work in progress and subject to change till Task
SDK feature is complete.
Considering that you have already transferred your provider's code to the
above structure, it will now be necessary
to create unit tests for each component you created. The example below I have
already set up an environment using