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
When typing the arguments inside the parenthesis 'self' appears as first variable, but it is not on the documentation. 'self' been a python keyword it seams strange to be a required argument. Is it a bug? I could not work it out, can you advise?
I am using Python 3.10.9 via Spyder.
The text was updated successfully, but these errors were encountered:
After adding some controls to a model I am trying to save a new INP file by writing the flowing line:
wntr.epanet.InpFile.write(filename='d.inp',wn=wn1)
However I am getting the following error message:
TypeError: InpFile.write() missing 1 required positional argument: 'self'
When typing the arguments inside the parenthesis 'self' appears as first variable, but it is not on the documentation. 'self' been a python keyword it seams strange to be a required argument. Is it a bug? I could not work it out, can you advise?
I am using Python 3.10.9 via Spyder.
The text was updated successfully, but these errors were encountered: