Sign in
apache
/
hamilton
/
refs/heads/build-from-function-changes
/
.
/
examples
/
module_overrides
/
run.py
blob: 20a8bf545ce54e9d1f69c7bf93d1a52ddc044009 [
file
] [
log
] [
blame
]
import
module_a
import
module_b
from
hamilton
import
driver
if
__name__
==
"__main__"
:
dr
=
(
driver
.
Builder
()
.
with_modules
(
module_a
,
module_b
,
)
.
allow_module_overrides
()
.
build
()
)
print
(
"builder: "
,
dr
.
execute
(
inputs
={},
final_vars
=[
"foo"
]))