Skip to content

Test Connections

connectx.test_connections

test_connections

Tests connectivity for all objects in the ConnectX ETL environment that implement a ping method.

This function scans Python modules in the connectx and custom directories, imports all classes and functions, and checks for a ping method. For each environment configuration in etl.env, it attempts to create instances of the found objects and calls their ping method to verify connectivity.

Parameters:

Name Type Description Default
etl Etl

An instance of the ConnectX ETL class containing environment configurations.

required

Returns:

Type Description

None. Prints the results of the connectivity tests to the console.