entropy-lab / entropy

BSD 3-Clause "New" or "Revised" License
30 stars 13 forks source link

List ParamStore keys in auto-complete #244

Closed urig closed 2 years ago

urig commented 2 years ago

Is your feature request related to a problem? Please describe. When using the InProcessParamStore users can treat keys like attributes:

ps = InprocessParamStore()
ps["f1"] =8
print(ps.f1) # prints 8

But if they type ps. and try to auto-complete, they will not see f1 in the list.

Describe the solution you'd like I would like to have ParamStore list all keys as attributes when auto-completing. (On top of regular class instance members)