apache / apache/dolphinscheduler-sdk-python
Http yaml error
- Lingua principale
- Python
- Stelle
- 71
- Fork
- 26
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
# 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', )
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Riprodurre il fallimento utilizzando il workflow YAML mostrato nell’issue e tracciare il modo in cui i suoi parametri HTTP vengono passati all’SDK. Confermare la forma prevista dei parametri e identificare cosa deve cambiare affinché questo workflow non generi più PyDSParamException.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- api
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100