We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can we get all fns that are defined in the local module and insert them into a driver?
Two workarounds for now:
create_temporary_module
__main__
def foo() -> int: return 1 from hamilton import driver if __name__ == '__main__': import __main__ dr = driver.Builder().with_modules(__main__).build() print(dr.execute(["foo"]))
Thinking:
driver.Builder().with_local_modules().build()
driver.Builder().with_modules(hamilton.find_local()).build()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Can we get all fns that are defined in the local module and insert them into a driver?
Two workarounds for now:
create_temporary_module
__main__
hackThinking:
The text was updated successfully, but these errors were encountered: