Skip to content

Http yaml error #168

Description

@zhyyyq

yaml file demo for http

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"
      type: Http
      task_params: {}

raise PyDSParamException(
"Parameter params must be a dict, but get %s", type(params)
)
pydolphinscheduler.exceptions.PyDSParamException: ('Parameter params must be a dict, but get %s', <class 'ruamel.yaml.comments.CommentedSeq'>)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions