tests.system.http.example_http

HTTP 運算子與感測器範例

模組內容

函數

get_next_page_cursor(response)

取得原始的 request.Response 物件,並檢查是否有游標。

屬性

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

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[原始碼]

此條目是否對您有幫助?