ashb commented on code in PR #57718:
URL: https://github.com/apache/airflow/pull/57718#discussion_r2487418770


##########
airflow-ctl/src/airflowctl/api/client.py:
##########
@@ -214,6 +231,79 @@ def __init__(
             **kwargs,
         )
 
+    def _clean_empty_values(self, data: dict[str, Any]) -> dict[str, Any]:
+        """
+        Recursively remove keys with None or empty values from a dictionary if 
they are not required in the datamodels.

Review Comment:
   I'll look at the impl, but it is possible some places need to distinguish 
between "not provided" and "explicitly provided with `None` as the value"...



-- 
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]

Reply via email to