-
Notifications
You must be signed in to change notification settings - Fork 69
Open
Description
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).
Metadata
Metadata
Assignees
Labels
No labels