Lee-W commented on code in PR #57547:
URL: https://github.com/apache/airflow/pull/57547#discussion_r2503862906


##########
airflow-core/src/airflow/ui/src/utils/hitl.ts:
##########
@@ -108,11 +108,11 @@ export const getHITLParamsDict = (
     const sourceParams = hitlDetail.response_received ? 
hitlDetail.params_input : hitlDetail.params;
 
     Object.entries(sourceParams ?? {}).forEach(([key, value]) => {
-      const valueType = typeof value === "number" ? "number" : "string";
+      const paramData = hitlDetail.params?.[key] ?? {};
 
       paramsDict[key] = {
-        description: "",
-        schema: {
+        description: paramData?.description ?? "",
+        schema: paramData?.schema ?? {

Review Comment:
   Then I'll hold and not merge for the time being 👀 Would love to hear 
@pierrejeambrun 's thought on this one. Thanks!



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