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