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
Is your feature request related to a problem? Please describe.
The unit attributes for the TimeFrame class are assigned after the TimeFrame class is defined. This results in intellisense being unable to find/recognize these attributes as being a part of the class and makes writing this code more difficult.
Describe the solution you'd like.
The TimeFrame Unit definitions should be added as class attributes or as properties of the TimeFrame class. This would allow intellisense to autocomplete the code and identify the attributes as existing in code. This also helps to make the code a bit easier to read and more self-documenting
Describe an alternate solution.
A python stub file can be used instead of altering the codebase and achieve the same results
Anything else? (Additional Context)
Example of the issue in Pycharm:
The text was updated successfully, but these errors were encountered:
Is there an existing issue for this?
Is your feature request related to a problem? Please describe.
The unit attributes for the TimeFrame class are assigned after the TimeFrame class is defined. This results in intellisense being unable to find/recognize these attributes as being a part of the class and makes writing this code more difficult.
Describe the solution you'd like.
The TimeFrame Unit definitions should be added as class attributes or as properties of the TimeFrame class. This would allow intellisense to autocomplete the code and identify the attributes as existing in code. This also helps to make the code a bit easier to read and more self-documenting
Describe an alternate solution.
A python stub file can be used instead of altering the codebase and achieve the same results
Anything else? (Additional Context)
Example of the issue in Pycharm:
The text was updated successfully, but these errors were encountered: