zhyyyq commented on issue #168:
URL: 
https://github.com/apache/dolphinscheduler-sdk-python/issues/168#issuecomment-3106783098

   https://github.com/zhyyyq/dolphin-scheduler-s1mple 
   
   hello i am working on a ui for low code editing the yaml for 
pydolphinscheduler. So when my frontend loading the yaml file 
   which is from the demo http 
   
   # Define the workflow
   workflow:
     name: "Http"
   
   # Define the tasks within the workflow
   tasks:
     - name: task
       task_type: Http
       url: "https://httpbin.org/get";
       http_method: "GET"
       http_params:
         - { "prop": "a", "httpParametersType": "PARAMETER", "value": "1" }
         - { "prop": "b", "httpParametersType": "PARAMETER", "value": "2" }
         - {
             "prop": "Content-Type",
             "httpParametersType": "header",
             "value": "test",
           }
       http_check_condition: "STATUS_CODE_CUSTOM"
       condition: "404"
   
   and reparse it into standard yaml format.
   
    http_params:
         - prop: a
           httpParametersType: PARAMETER
           value: "1"
         - prop: b
           httpParametersType: PARAMETER
           value: "2"
         - prop: Content-Type
           httpParametersType: header
           value: test
   
   
    pydolphinscheduler will raise a exception when calling the cli


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