OracleConn
class OracleConn(
uri: str,
credentials: UserPasswordCredentials | None = None,
enforce_connection_params: bool = True,
cx_src_configs_oracle: dict | None = None,
cx_dst_configs_oracle: dict | None = None,
)
Bases: Conn
Categories: connections
Represents a connection configuration to Oracle.
Initialize an OracleConn instance.
Parameters
uriThe URI of the Oracle database.
credentialsCredentials for authenticating with the database.
enforce_connection_paramsWhether to enforce connection parameters for the Oracle connection. Defaults to True.
cx_src_configs_oracleSource-specific configuration parameters for the Oracle connection. Defaults to None.
cx_dst_configs_oracleDestination-specific configuration parameters for the Oracle connection. Defaults to None.
Raises
ConnectionConfigurationError: If any connection configurations are invalid.
Properties
credentialsUserPasswordCredentials | NoneThe credentials required to access the Oracle database. If no credentials were provided, it will return None.
cx_dst_configs_oracledictDestination-specific configuration parameters for the Oracle connection.
cx_src_configs_oracledictSource-specific configuration parameters for the Oracle connection.
enforce_connection_paramsboolWhether to enforce connection parameters for the Oracle connection.
uristrThe URI of the database where the data is located.