transitio.FeedBuilder.save#
- FeedBuilder.save(path, *, check=True, change_log=True, **budgets)#
Write the feed zip atomically and validate it.
- Parameters:
path (str or pathlib.Path) – Output feed zip.
check (bool, default True) – Raise
InvalidFeedErrorwhen the validator reports ERROR-severity notices (the report is on the exception’sreportattribute and the file is still written);Falseskips the gate but still returns the report.change_log (bool, default True) – Write the change log to
<path stem>.changes.txtbeside the feed when it is non-empty (seechanges); the sidecar records only changes made through the helpers and primitives — edits through thetablesescape hatch are outside the log.Falseskips it. Either way a stale sidecar from an earlier save at this path is removed.**budgets –
validate_feedkeyword arguments.
- Returns:
The
validate_feedreport of the written feed.- Return type:
dict