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
I don't think it makes sense to invest time in fixing the parser, we should move to type hints. But to have this documented somewhere:
Referencing another class only works in some circumstances. e.g:
classOtherClass(StorageObj):
''' @ClassField myvar int '''# This will crashclassA(StorageObj):
''' @ClassField OtherClass '''# This will workclassB(StorageObj):
''' @ClassField __main__.OtherClass '''classB(StorageObj):
''' @ClassField /custom/path/file.py:OtherClass '''
Also, this is the reason why we need to place class definitions in separate files in PyCOMPSs.
The text was updated successfully, but these errors were encountered:
I don't think it makes sense to invest time in fixing the parser, we should move to type hints. But to have this documented somewhere:
Referencing another class only works in some circumstances. e.g:
Also, this is the reason why we need to place class definitions in separate files in PyCOMPSs.
The text was updated successfully, but these errors were encountered: