laforge submitted this change.

View Change

Approvals: fixeria: Looks good to me, but someone else must approve laforge: Looks good to me, approved Jenkins Builder: Verified
esim/http_json_api: add missing apidoc

Change-Id: Ibf9cf06197c9e3203c7a3ea5d77004f0ca41cd3f
---
M pySim/esim/http_json_api.py
1 file changed, 7 insertions(+), 0 deletions(-)

diff --git a/pySim/esim/http_json_api.py b/pySim/esim/http_json_api.py
index 36caac9..28022ff 100644
--- a/pySim/esim/http_json_api.py
+++ b/pySim/esim/http_json_api.py
@@ -293,6 +293,13 @@
class JsonHttpApiClient():
def __init__(self, api_func: JsonHttpApiFunction, url_prefix: str, func_req_id: Optional[str],
session: requests.Session):
+ """
+ Args:
+ api_func : API function definition (JsonHttpApiFunction)
+ url_prefix : prefix to be put in front of the API function path (see JsonHttpApiFunction)
+ func_req_id : function requestor id to use for requests
+ session : session object (requests)
+ """
self.api_func = api_func
self.url_prefix = url_prefix
self.func_req_id = func_req_id

To view, visit change 42042. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: merged
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ibf9cf06197c9e3203c7a3ea5d77004f0ca41cd3f
Gerrit-Change-Number: 42042
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <pmaier@sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy@sysmocom.de>
Gerrit-Reviewer: laforge <laforge@osmocom.org>