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

Error in calling daast_from_file(filename). #21

Open
shalakhansidmul opened this issue Sep 28, 2018 · 0 comments
Open

Error in calling daast_from_file(filename). #21

shalakhansidmul opened this issue Sep 28, 2018 · 0 comments

Comments

@shalakhansidmul
Copy link

shalakhansidmul commented Sep 28, 2018

In version 1.1.0b13, the method daast_from_file requires a positional argument args.
The comment in the method says: 'filename' is the filename of source file. Optional argument 'args' is a
Namespace object containing the command line parameters for the compiler.
Returns the generated DistAlgo AST.

However, args is not an optional argument here. Thus, method call such as: daast_from_file(filename) throws an error.
The argument args is not used in the method daast_from_file, it is simply passed on to the method daast_from_str where it is indeed optional.

I am using version 1.1.0b10 and it had the args argument as optional.
It should be made optional in the current version to support method call such as: daast_from_file(filename).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant