kosiew commented on code in PR #68017: URL: https://github.com/apache/airflow/pull/68017#discussion_r3519263691
########## providers/databricks/docs/operators/run_now.rst: ########## @@ -80,3 +80,41 @@ DatabricksRunNowDeferrableOperator Deferrable version of the :class:`~airflow.providers.databricks.operators.DatabricksRunNowOperator` operator. It allows to utilize Airflow workers more effectively using `new functionality introduced in Airflow 2.2.0 <https://airflow.apache.org/docs/apache-airflow/2.2.0/concepts/deferring.html#triggering-deferral>`_ + +.. _howto/operator:DatabricksRunNowDeferrableOperator:retry-args: + +Retry args in deferrable mode +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +When ``deferrable=True``, the ``databricks_retry_args`` dictionary is serialized across the +trigger boundary and must contain only Airflow-serializable values (plain Python primitives +such as ``int``, ``float``, ``str``, ``bool``, ``None``, ``dict``, and ``list``). + +**Supported** (serialization-safe and runtime-valid): + +.. code-block:: python + + # Only plain-primitive Retrying kwarg: reraise + databricks_retry_args = {"reraise": True} Review Comment: Implemented in `run_now.rst`; also mirrored in `submit_run.rst`. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
