-
-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Included: - Add deps task option for declaring dependencies on other tasks - Add uses task option for declaring a task dependency where the output of the upstream task should be captured and made available as an environment variable. - Add TaskExecutionGraph for planning execution of tasks with dependencies - modify PoeExecutor to support stdout capture - Add capture_stdout task option to redirect task output to a file. Still to do: - Feature tests for new features
- Loading branch information
Showing
12 changed files
with
419 additions
and
67 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import re | ||
|
||
|
||
def is_valid_env_var(var_name: str) -> bool: | ||
return bool(re.match("[a-zA-Z_][a-zA-Z0-9_]*", var_name)) |
Oops, something went wrong.