mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-01 11:18:03 +00:00
lfcli_base.py: updates pydoc
This commit is contained in:
@@ -38,11 +38,12 @@ class LFCliBase:
|
|||||||
def json_post(self, _req_url, _data, debug_=False, suppress_related_commands_=None, response_json_list_=None):
|
def json_post(self, _req_url, _data, debug_=False, suppress_related_commands_=None, response_json_list_=None):
|
||||||
"""
|
"""
|
||||||
send json to the LANforge client
|
send json to the LANforge client
|
||||||
:param _req_url:
|
:param _req_url: requested url
|
||||||
:param _data:
|
:param _data: json data to send
|
||||||
:param debug_:
|
:param debug_: turn on debugging output
|
||||||
:param suppress_related_commands_: when False, override self.preexec; when True use
|
:param suppress_related_commands_: when False, override self.preexec; when True use
|
||||||
:return:
|
:param response_json_list_: array for json results in the response object, (alternative return method)
|
||||||
|
:return: http response object
|
||||||
"""
|
"""
|
||||||
json_response = None
|
json_response = None
|
||||||
try:
|
try:
|
||||||
|
|||||||
Reference in New Issue
Block a user