ConnectionTestRequestBody

Request body for enqueueing a connection test on a worker. Inherits connection_id pattern, extra JSON validation, and team_name handling from ConnectionBody so tested connections share the same input contract as persisted ones.

Properties

NameTypeDescriptionNotes
commit_on_successboolIf True, save or update the connection in the connection table when the test succeeds.[optional] [default to False]
conn_typestr
connection_idstr
descriptionstr[optional]
executorstr[optional]
extrastr[optional]
hoststr[optional]
loginstr[optional]
passwordstr[optional]
portint[optional]
queuestr[optional]
var_schemastr[optional]
team_namestr[optional]

Example

from airflow_client.client.models.connection_test_request_body import ConnectionTestRequestBody

# TODO update the JSON string below
json = "{}"
# create an instance of ConnectionTestRequestBody from a JSON string
connection_test_request_body_instance = ConnectionTestRequestBody.from_json(json)
# print the JSON string representation of the object
print(ConnectionTestRequestBody.to_json())

# convert the object into a dict
connection_test_request_body_dict = connection_test_request_body_instance.to_dict()
# create an instance of ConnectionTestRequestBody from a dict
connection_test_request_body_from_dict = ConnectionTestRequestBody.from_dict(connection_test_request_body_dict)

[Back to Model list] [Back to API list] [Back to README]