LocalFileSrcConn
class LocalFileSrcConn(
base_path: LocalAbsolutePathSpec = '/',
conn_cfg: CfgSpec | None = None,
)
Bases: Conn
Categories: source
LocalFile connection used by LocalFileSrc.
Registered on a collection; the runtime resolves it and hands it to the plugin at run time. Has no credentials.
Parameters
parameter
base_pathLocalAbsolutePathSpec (str | Secret)Absolute local-filesystem path — POSIX (/a/b) or
Windows drive-absolute (C:/a/b or C:\a\b). No trailing
separator (other than a bare root) and no empty segments.
Defaults to /. Accepts a plain string or a Secret.