Local Client#

Salt Client in-process implementation.

class saltfactories.client.LocalClient(*, master_config, functions_known_to_return_none=_Nothing.NOTHING)[source]#

Bases: object

Wrapper class around Salt’s local client.

run(function, *args, minion_tgt='minion', timeout=300, **kwargs)[source]#

Run a single salt function.

Additional condition the return down to match the behavior of the raw function call.