entropy-lab / entropy

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

_dir__() method for ParamStore adds Param keys to auto-complete #337

Closed urig closed 2 years ago

urig commented 2 years ago

This PR resolves https://github.com/entropy-lab/entropy/issues/244. Customers have requested that param keys entered into a ParamStore instance will be available for attribute auto-completion in common IDEs (specifically PyCharm). This PR adds an overriding implementation to InProcessParamStore's __dir__() method that returns both the keys in the store and the store's attribute, methods and properties.

github-actions[bot] commented 2 years ago

Unit Test Results

315 tests   309 :heavy_check_mark:  1m 3s :stopwatch:     1 suites      6 :zzz:     1 files        0 :x:

Results for commit 0e66bc65.