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
API clarification
load_from_string method expects a "file name" as first parameter, which is surprising for the user, since it does not read the network from a file ...
load_from_string
Behind the scene, the filename is mainly used for selecting the right file format.
It would make more sense to specify the format instead of providing a filename. For example:
pp.network.load_from_string(format='XIIDM', content=...)
At least, the docstring should be clear about the use of that parameter. It's not the case today.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
API clarification
load_from_string
method expects a "file name" as first parameter, which is surprising for the user, since it does not read the network from a file ...Behind the scene, the filename is mainly used for selecting the right file format.
It would make more sense to specify the format instead of providing a filename. For example:
At least, the docstring should be clear about the use of that parameter. It's not the case today.
The text was updated successfully, but these errors were encountered: