Basically, do what was suggested here:
@loewenheim I also had the idea that we could similarly add a with_filter function to add a filter callback on the SourceBundleWriter to be used with write_object, which would allow us to deprecate and eventually remove write_object_with_filter.
Originally posted by @szokeasaurusrex in #864 (comment)
Basically, do what was suggested here:
Originally posted by @szokeasaurusrex in #864 (comment)