tests.system.http.example_http

示例 HTTP 運算子和感測器

屬性

ENV_ID

DAG_ID

dag

task_post_op

task_post_op_formenc

task_get_op

task_get_op_response_filter

task_put_op

task_del_op

task_http_sensor_check

task_http_sensor_check_async

task_get_paginated

test_run

函式

get_next_page_cursor(response)

獲取原始的 request.Response 物件,並檢查是否存在遊標。

模組內容

tests.system.http.example_http.ENV_ID[源]
tests.system.http.example_http.DAG_ID = 'example_http_operator'[源]
tests.system.http.example_http.dag[源]
tests.system.http.example_http.task_post_op[源]
tests.system.http.example_http.task_post_op_formenc[源]
tests.system.http.example_http.task_get_op[源]
tests.system.http.example_http.task_get_op_response_filter[源]
tests.system.http.example_http.task_put_op[源]
tests.system.http.example_http.task_del_op[源]
tests.system.http.example_http.task_http_sensor_check[源]
tests.system.http.example_http.task_http_sensor_check_async[源]
tests.system.http.example_http.get_next_page_cursor(response)[源]

獲取原始的 request.Response 物件,並檢查是否存在遊標。如果存在遊標,此函式將建立並返回用於呼叫下一頁結果的引數。

tests.system.http.example_http.task_get_paginated[源]
tests.system.http.example_http.test_run[源]

這篇條目有幫助嗎?