Last active
October 9, 2019 03:32
-
-
Save schrockn/a8ad9dfa97fd97022384d8a37b1363ed 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
from dagster import solid, pipeline, RepositoryDefinition | |
@solid | |
def hello_world_solid(context): | |
context.log.info('Hello, World!') | |
@pipeline | |
def hello_world_pipeline(): | |
hello_world_solid() # DSL for building dependency graph | |
def define_hello_world_repo(): | |
return RepositoryDefinition( | |
name='hello_world_repo', | |
pipeline_defs=[hello_world_pipeline] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment