Commit 3d988827 authored by Pierre-Elliott Bécue's avatar Pierre-Elliott Bécue
Browse files

[trigger/host] Méthode pour retourner le contenu de factory

parent 83e268b9
......@@ -25,6 +25,10 @@ class TriggerFactory(object):
def get(cls, key):
return cls._meths.get(key, None)
@classmethod
def get_services(cls):
return cls._meths.values()
def record(function):
TriggerFactory.register(function.func_name, function)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment