This is an automated email from the ASF dual-hosted git repository.

potiuk pushed a commit to branch v2-2-test
in repository https://gitbox.apache.org/repos/asf/airflow.git

commit 111e8c167c76c7a55e02b7290a9b8114e680b8e2
Author: Marcin Molak <[email protected]>
AuthorDate: Thu Jan 6 16:36:09 2022 +0100

    Update operators.rst (#20640)
    
    (cherry picked from commit fa802ede6c4763c8f432100ca78a313f147a77a0)
---
 docs/apache-airflow/concepts/operators.rst | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/docs/apache-airflow/concepts/operators.rst 
b/docs/apache-airflow/concepts/operators.rst
index c66c2eb..13020f1 100644
--- a/docs/apache-airflow/concepts/operators.rst
+++ b/docs/apache-airflow/concepts/operators.rst
@@ -208,3 +208,17 @@ In this case, ``order_data`` argument is passed: 
``{"1001": 301.27, "1002": 433.
 Airflow uses Jinja's `NativeEnvironment 
<https://jinja.palletsprojects.com/en/2.11.x/nativetypes/>`_
 when ``render_template_as_native_obj`` is set to ``True``.
 With ``NativeEnvironment``, rendering a template produces a native Python type.
+
+.. _concepts:reserved-keywords:
+
+Reserved params keyword
+-----------------------
+
+In Apache Airflow 2.2.0 ``params`` variable is used during DAG serialization. 
Please do not use that name in third party operators.
+If you upgrade your environment and get the following error:
+
+.. code-block::
+
+    AttributeError: 'str' object has no attribute '__module__'
+
+change name from ``params`` in your operators.

Reply via email to