git://git.onelab.eu
/
sfa.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
setting sfa-0.9-16 tag
[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