Last active
June 2, 2021 18:11
-
-
Save aherbst-broad/1c08a76d61055bb5dab9491aec3f75ea to your computer and use it in GitHub Desktop.
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
@solid | |
def upstream_returning_nothing() -> Nothing: | |
pass | |
@solid | |
def upstream_returning_string() -> str: | |
return "something else" | |
@solid( | |
input_defs=[InputDefinition("start", Nothing), | |
InputDefinition("bar", String)] | |
) | |
def downstream_consuming_string(bar: str): | |
pass | |
@pipeline | |
def nothing_dependency_pipeline(): | |
real_string = upstream_returning_string() | |
downstream_consuming_string(upstream_returning_nothing(), real_string) | |
execute_pipeline(nothing_dependency_pipeline) |
alangenfeld
commented
Jun 2, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment