uranusjr commented on code in PR #32292:
URL: https://github.com/apache/airflow/pull/32292#discussion_r1254034786


##########
airflow/www/forms.py:
##########
@@ -204,6 +204,12 @@ def _iter_connection_types() -> Iterator[tuple[str, str]]:
                 yield (connection_type, provider_info.hook_name)
 
     class ConnectionForm(DynamicForm):
+        def process(self, formdata=None, obj=None, **kwargs):
+            super().process(formdata=formdata, obj=obj, **kwargs)
+            for field in self._fields.values():
+                if hasattr(field, "data") and isinstance(field.data, str):

Review Comment:
   ```suggestion
                   if isinstance(getattr(field, "data", None), str):
   ```



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