MSSQLSrcConn
class MSSQLSrcConn(
uri: UriSpec,
credentials: CredentialsSpec,
entity_whitelist: EntityWhitelistSpec | None = None,
conn_cfg: CfgSpec | None = None,
)
Bases: Conn
Categories: source
MSSQL connection used by MSSQLSrc.
Registered on a collection; the runtime resolves it and hands it to
the plugin at run time. The uri accepts a plain string or a
Secret.
Parameters
parameter
An MSSQL connection URI -- either a SQLAlchemy URI
(mssql[+driver]://host[:port][/db]; the driver defaults
to pyodbc) or a raw ODBC connection string
(DRIVER=...;SERVER=...;DATABASE=...).
parameter
entity_whitelistEntityWhitelistSpec | None (list[str] | None)Optional list of regex patterns narrowing
which tables the source considers; None (the default)
filters nothing.