Created
October 30, 2017 15:16
-
-
Save kazukgw/37b59ec0dc3fdafae2608a8fbf639766 to your computer and use it in GitHub Desktop.
digdag-example
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
import digdag | |
class Hoge(object): | |
def hoge(self): | |
print digdag.env.params['hoge'] |
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
_export: | |
foo: ${moment(session_date).format('YYYYMMDD')} | |
+run_python: | |
py>: hoge.Hoge.hoge | |
hoge: | |
fuga: ${foo} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment