git://git.onelab.eu
/
sfa.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove request_hash argument
[sfa.git]
/
sfa
/
methods
/
get_gids.py
diff --git
a/sfa/methods/get_gids.py
b/sfa/methods/get_gids.py
index
119b783
..
b4912f8
100644
(file)
--- a/
sfa/methods/get_gids.py
+++ b/
sfa/methods/get_gids.py
@@
-29,15
+29,13
@@
class get_gids(Method):
accepts = [
Parameter(str, "Certificate string"),
Mixed(Parameter(str, "Human readable name (hrn)"),
accepts = [
Parameter(str, "Certificate string"),
Mixed(Parameter(str, "Human readable name (hrn)"),
- Parameter(type([str]), "List of Human readable names (hrn)")),
- Mixed(Parameter(str, "Request hash"),
- Parameter(None, "Request hash not specified"))
+ Parameter(type([str]), "List of Human readable names (hrn)"))
]
returns = [Parameter(dict, "Dictionary of gids keyed on hrn")]
]
returns = [Parameter(dict, "Dictionary of gids keyed on hrn")]
- def call(self, cred, hrns
, request_hash=None
):
- self.api.auth.authenticateCred(cred, [cred, hrns], request_hash)
+ def call(self, cred, hrns):
+ # validate the credential
self.api.auth.check(cred, 'getgids')
table = GeniTable()
if not isinstance(hrns, list):
self.api.auth.check(cred, 'getgids')
table = GeniTable()
if not isinstance(hrns, list):