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 generating the special classes, the methods dont have a self argument. this leads to errors in pycharm. to fix this by hand i used a regex in notepad++ to insert the missing selfs:
next issue: some types are derived from other classes. they have something along the lines class blabla(types.blublu):
removing "types." in the whole document fixes that.
then there are still a few little things that are more easily fixed by hand:
2 times a parameter with default value is placed before parameters without. i just added ="" to each of those
some classes have a . in the name. i replaced it with _
i know that you are probably not actively working on this, but maybe you can find the motivation to look over it
The text was updated successfully, but these errors were encountered:
when generating the special classes, the methods dont have a self argument. this leads to errors in pycharm. to fix this by hand i used a regex in notepad++ to insert the missing selfs:
find: def (?[^(]+)((?!self|cls)(?[^)]*)):
replace: def $1(self, $2):
this adds the selfs in the missing positions.
next issue: some types are derived from other classes. they have something along the lines class blabla(types.blublu):
removing "types." in the whole document fixes that.
then there are still a few little things that are more easily fixed by hand:
2 times a parameter with default value is placed before parameters without. i just added ="" to each of those
some classes have a . in the name. i replaced it with _
i know that you are probably not actively working on this, but maybe you can find the motivation to look over it
The text was updated successfully, but these errors were encountered: