apache / apache/dolphinscheduler-sdk-python
Http yaml error
- Vorherrschende Sprache
- Python
- Sterne
- 71
- Forks
- 26
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
# 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', )
Beitragsleitfaden
Rechercherichtung
Reproduce the failure using the YAML workflow shown in the issue and trace how its HTTP parameters are passed to the SDK. Confirm the expected parameter shape and identify what must change so this workflow no longer raises PyDSParamException.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- python
- Bereich
- api
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100