pcdsdevices.interface.TabCompletionHelperInstance

class pcdsdevices.interface.TabCompletionHelperInstance(instance, class_helper)

Tab completion helper for one instance of a class.

Parameters:

Methods

add(attr: str)

Add an attribute to the include list.

build_regex() Pattern

Update the regular expression based on the current includes.

get_dir() list[str]

Get the dir list based on the engineering mode settings.

get_filtered_dir_list() list[str]

Get the dir list, filtered based on the whitelist.

remove(attr: str)

Remove an attribute from the include list.

reset()

Reset the attribute includes to that defined by the class.

Attributes

class_helper: TabCompletionHelperClass
instance: BaseInterface
super_dir: Callable[[], list[str]]