fdd96bc4f07210243454d589e4f09ff2da4a7172
[sfa.git] / wsdl / apistub.py
1 import geni.methods
2
3
4 methods = geni.methods.all
5
6 def callable(method):
7     classname = method.split(".")[-1]
8     module = __import__("geni.methods." + method, globals(), locals(), [classname])
9     callablemethod = getattr(module, classname)(None)
10     return getattr(module, classname)(None)
11
12