Commit f4e24265 authored by Ilias Tsitsimpis's avatar Ilias Tsitsimpis

astakosclient: Rephrase some comments

Most astakos-quotas calls use services' tokens
parent 843e5488
...@@ -343,7 +343,7 @@ class AstakosClient(): ...@@ -343,7 +343,7 @@ class AstakosClient():
"""Issue a commission """Issue a commission
Keyword arguments: Keyword arguments:
token -- user's token (string) token -- service's token (string)
request -- commision request (dict) request -- commision request (dict)
In case of success return commission's id (int). In case of success return commission's id (int).
...@@ -375,7 +375,7 @@ class AstakosClient(): ...@@ -375,7 +375,7 @@ class AstakosClient():
"""Get Pending Commissions """Get Pending Commissions
Keyword arguments: Keyword arguments:
token -- user's token (string) token -- service's token (string)
In case of success return a list of pending commissions' ids In case of success return a list of pending commissions' ids
(list of integers) (list of integers)
...@@ -389,7 +389,7 @@ class AstakosClient(): ...@@ -389,7 +389,7 @@ class AstakosClient():
"""Get Description of a Commission """Get Description of a Commission
Keyword arguments: Keyword arguments:
token -- user's token (string) token -- service's token (string)
serial -- commission's id (int) serial -- commission's id (int)
In case of success return a dict of dicts containing In case of success return a dict of dicts containing
...@@ -410,7 +410,7 @@ class AstakosClient(): ...@@ -410,7 +410,7 @@ class AstakosClient():
"""Perform a commission action """Perform a commission action
Keyword arguments: Keyword arguments:
token -- user's token (string) token -- service's token (string)
serial -- commission's id (int) serial -- commission's id (int)
action -- action to perform, currently accept/reject (string) action -- action to perform, currently accept/reject (string)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment