Skip to content
New issue

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

lmql.run_file *args problem #19

Closed
LachlanGray opened this issue Apr 14, 2023 · 1 comment
Closed

lmql.run_file *args problem #19

LachlanGray opened this issue Apr 14, 2023 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@LachlanGray
Copy link
Contributor

In the __init__.py::run_file definition, *args needs to come before the keyword arguments, otherwise python tries to use them as an output_writer.

I was also thinking it would make sense to allow passing query variables to run_file as *kwargs instead

@lbeurerkellner lbeurerkellner added bug Something isn't working enhancement New feature or request labels Apr 26, 2023
@lbeurerkellner
Copy link
Collaborator

Thanks for working on this. This was fixed in #20, which we merged yesterday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants