otsoha / pyIVLS

Pluggy-based modular test enviroment for devices.
0 stars 0 forks source link

Hookchanges #45

Closed otsoha closed 2 months ago

otsoha commented 2 months ago

TASK:

Rework all hooks to be uniform, meaning that:

  1. They have a hook to get the setup interface
  2. They have a hook to get the available functions of the plugin This hook should accept **kwargs, that specify if a return is needed. For example, calling pm.hook.get_functions(type = device, function = camera) should only return functions from the camera
otsoha commented 2 months ago

The plugins should maybe contain info on their type read from the .ini file? Just so they could check the get_functions **kwargs

otsoha commented 2 months ago

Keywords based on function or device type? also, an open keyword to specify wheter to open the connection or nah