-
Notifications
You must be signed in to change notification settings - Fork 145
Consider having autocomplete of backend names #205
Comments
I think this would be quite helpful as some of our backends have long names that are easily misspelled. One way of doing this is to have a custom class ( I don't think we need to worry too much about the backend names being valid Python identifiers, since it's highly unlikely we will have backend names with symbols other than an underscore. We can always validate them prior to the |
This is what I have right now:
I'd appreciate some feedback on:
|
there are a number of other issues, such as should not contain space or should not start with a number. But all current backends currently adhere to this and there is no reason to expect that in the future they will not. |
Per @diego-plan9's request, here's the initial proposal for this new feature. Requirements High level overview Considerations
|
What is the expected behavior?
As per suggestion by @ajavadia , it might be nice for usability purposes to allow the names of the backends to be auto-completed in IDEs and interpreters.
For example, we could end up with
provider.backends.poughkeepsie
, etc. There are a number of subtleties involved (forcing the backend names to be valid Python member identifiers, conventions, etc) that need to be looked into and balance - hence labelling asdiscussion
!The text was updated successfully, but these errors were encountered: