committed 08:34PM - 13 Sep 26 UTC
Every dlt_source in the filesystem family used to read filesystem_incremental
an…d column_types out of **kwargs, relying on omniload's own run-option
vocabulary being subtracted from the call before it arrived (or, on 13 of the
17 implementations, not being subtracted at all, since the subtraction lived
per-connector and most connectors never wired it in). A package meant to
stand alone as dlt-filesystem cannot depend on knowing omniload's full run
parameter list, so the direction inverts: FilesystemSource now declares
consumed_run_options() (filesystem_incremental, column_types), every
dlt_source signature takes them as named keyword-only parameters instead of
reading **kwargs, and omniload.api filters its own run options down to a
source's declared subset before the call. A source that does not declare the
hook (Delta Lake, mq-bridge, everything else) keeps receiving every run
option unfiltered, unchanged from today.
The row-level --incremental-key guard moves with it: centralized once in
omniload.api, keyed on the same declared-vocabulary check, replacing 14
files' worth of per-connector guards (13 of which could never fire from the
CLI, since they read the wrong name).
Behaviour change, named rather than shipped quietly: a run option this
package does not declare (page_size, say) is no longer this package's
concern to strip on either carrier. Most backends ignore an unknown keyword;
WebDAV's client does not and now raises. ADR-002 records the boundary this
supersedes and the follow-up thread on the maintainer's own issue this
prompted about how far format support reaches beyond the local filesystem.