MCPcopy Create free account
hub / github.com/NetSys/bess / _callback_factory

Function _callback_factory

pybess/module.py:35–37  ·  view source on GitHub ↗
(self, cmd, arg_type)

Source from the content-addressed store, hash-verified

33
34
35def _callback_factory(self, cmd, arg_type):
36 return lambda mod, **kwargs: \
37 self.bess.run_module_command(self.name, cmd, arg_type, kwargs)
38
39
40class Module(object):

Callers 1

__init__Method · 0.85

Calls 1

run_module_commandMethod · 0.80

Tested by

no test coverage detected