You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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).
The text was updated successfully, but these errors were encountered:
In version 1.1.0b13, the method
daast_from_file
requires a positional argumentargs
.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 methoddaast_from_file
, it is simply passed on to the methoddaast_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)
.The text was updated successfully, but these errors were encountered: