from sfa.util.faults import *
from sfa.util.method import Method
from sfa.util.parameter import Parameter, Mixed
-from sfa.util.debug import log
from sfa.trust.credential import Credential
class Update(Method):
interfaces = ['registry']
accepts = [
- Parameter(str, "Credential string"),
Parameter(dict, "Record dictionary to be updated"),
- Mixed(Parameter(str, "Human readable name of the original caller"),
- Parameter(None, "Origin hrn not specified"))
+ Parameter(str, "Credential string"),
]
returns = Parameter(int, "1 if successful")