taipy
taipy copied to clipboard
Linters auto-complete Config and Gui to lowercase
This feedback comes from a one-hour beta testing session of scenario management
taipy (the library) has both a Gui and a gui object. When typing from taipy import Gui
and pressing Enter to go to the next line, linters will auto-complete by replacing Gui
with gui
This forces me to press Escape or to fix the case error after it happens which is frustrating. It can also lead to errors for new users
The same error is triggered with Config
Hi, I find this topic quite fascinating and would be most grateful if you could share more insights about the fundamental principles behind it within the context of a GitHub discussion.
Hello @AlexandreSajus and @ooooo-create,
The gui
and Gui
are 2 different objects in Taipy package.
-
Gui
is the object that can be used to start the GUI service -
gui
is a module, that from it you can import other Gui object, likebuilder
,page
, ...
The same argument can be pointed out for Core
- core
, Config
- config
.
I don't think there is anything we can do about it since we want taipy-gui
, taipy-core
, and taipy-config
can be functional as independent packages.
Yeah I'm also not sure how we could fix this outside of doing a lot of renaming. You can close as non-planned