Db2SrcConn
class Db2SrcConn(
uri: UriSpec,
credentials: CredentialsSpec,
entity_whitelist: EntityWhitelistSpec | None = None,
conn_cfg: CfgSpec | None = None,
)
Bases: Conn
Categories: source
Db2 connection used by Db2Src.
Registered on a collection; the runtime resolves it and hands it to the plugin at run time.
Parameters
parameter
SQLAlchemy-style Db2 URI (db2+ibm_db://host:port/db).
Accepts a plain string or a Secret.
parameter
credentialsCredentialsSpec (UserPassword)UserPassword -- user + password spliced into
the URI by the engine factory.
parameter
entity_whitelistEntityWhitelistSpec | None (list[str] | None)Optional list of regex patterns narrowing
which tables this connection contributes to discovery.
None (the default) means no filtering.