-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
targets: Implement temporary_path decorator
As has been detailed in #1519, there are many ways to do temporary files in luigi. The use case for temporary files are always about achieving atomic writes. This PR finally describes the problem in the luigi documentation and tries to interlink essential parts. Also it implements a decorator that is meant to be able to unify many of the existing implementations, and as a new, clean and recommended way to do temporary files and atomic moves using luigi.
- Loading branch information
Showing
3 changed files
with
172 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters