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
We want to add annotations for everything method on the models. The problem is some annotations point to others files, and those files have annotations that point to the other file. Basically, we create a circular import, which python does not like. A theoretical solution is to use strings for annotation ion accordance to PEP 484. PyCharm will read the string annotation, but doesn't know what class we're referencing too, because the file isn't imported. (Sorry if this is confusing, theirs no good way to explain this). If anyone has an idea on how to solve this issue, it would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
We want to add annotations for everything method on the models. The problem is some annotations point to others files, and those files have annotations that point to the other file. Basically, we create a circular import, which python does not like. A theoretical solution is to use strings for annotation ion accordance to PEP 484. PyCharm will read the string annotation, but doesn't know what class we're referencing too, because the file isn't imported. (Sorry if this is confusing, theirs no good way to explain this). If anyone has an idea on how to solve this issue, it would be greatly appreciated.
The text was updated successfully, but these errors were encountered: