X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=sfa%2Fmethods%2FGetSelfCredential.py;fp=sfa%2Fmethods%2FGetSelfCredential.py;h=a5c7d40000b94637b90dfcf90b8f6c0a32fd13fc;hb=d37a67a92c0aa83793efbdd09cdd2f330cde8cd8;hp=fcee97ccb0e832ebbf17e35bdf9d38bf8b905bcf;hpb=1cc10fee55cf95760ade2f6e4dd570d7dd60d969;p=sfa.git diff --git a/sfa/methods/GetSelfCredential.py b/sfa/methods/GetSelfCredential.py index fcee97cc..a5c7d400 100644 --- a/sfa/methods/GetSelfCredential.py +++ b/sfa/methods/GetSelfCredential.py @@ -26,7 +26,8 @@ class GetSelfCredential(Method): accepts = [ Parameter(str, "certificate"), Parameter(str, "Human readable name (hrn or urn)"), - Parameter(str, "Object type"), + Mixed(Parameter(str, "Record type"), + Parameter(None, "Type not specified")), ] returns = Parameter(str, "String representation of a credential object")