Some workflows require preserving seemingly unused or duplicate resources. Many transforms currently remove those resources as a side effect of cleaning up temporary resources created during normal operations. This PR provides an opt-out, cleanup: false, for these functions. Users opting out of cleanup will likely want to run prune() and dedup() manually, with options set for their needs, later in their pipelines.
Eventually I'd like to change the implementations of these functions so that they can clean up temporary resources without these side effects, but that will be a larger task for a future PR.
Some workflows require preserving seemingly unused or duplicate resources. Many transforms currently remove those resources as a side effect of cleaning up temporary resources created during normal operations. This PR provides an opt-out,
cleanup: false
, for these functions. Users opting out of cleanup will likely want to runprune()
anddedup()
manually, with options set for their needs, later in their pipelines.Eventually I'd like to change the implementations of these functions so that they can clean up temporary resources without these side effects, but that will be a larger task for a future PR.
Related:
Remaining: