laforge has submitted this change. (
https://gerrit.osmocom.org/c/pysim/+/42042?usp=email )
Change subject: esim/http_json_api: add missing apidoc
......................................................................
esim/http_json_api: add missing apidoc
Change-Id: Ibf9cf06197c9e3203c7a3ea5d77004f0ca41cd3f
---
M pySim/esim/http_json_api.py
1 file changed, 7 insertions(+), 0 deletions(-)
Approvals:
fixeria: Looks good to me, but someone else must approve
laforge: Looks good to me, approved
Jenkins Builder: Verified
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 https://gerrit.osmocom.org/c/pysim/+/42042?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: merged
Gerrit-Project: pysim
Gerrit-Branch: master
Gerrit-Change-Id: Ibf9cf06197c9e3203c7a3ea5d77004f0ca41cd3f
Gerrit-Change-Number: 42042
Gerrit-PatchSet: 1
Gerrit-Owner: dexter <[email protected]>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <[email protected]>
Gerrit-Reviewer: laforge <[email protected]>