Parameter(str, "Credential string"),
Parameter(str, "Record type"),
Parameter(str, "Human readable name (hrn) of record to be removed"),
- Parameter(str, "Request hash")
+ Mixed(Parameter(str, "Request hash"),
+ Parameter(None, "Request hash not specified"))
]
returns = Parameter(int, "1 if successful")
- def call(self, cred, type, hrn, request_hash, caller_cred=None):
+ def call(self, cred, type, hrn, request_hash=None, caller_cred=None):
if caller_cred==None:
caller_cred=cred