Fix Python Docstring to include all Args.

This commit is contained in:
John Bampton 2019-10-03 06:37:59 +10:00
parent a689c11907
commit 8acd58927a

View file

@ -244,7 +244,7 @@ class PortSeed:
# Must be initialized with a unique integer for each process # Must be initialized with a unique integer for each process
n = None n = None
def get_rpc_proxy(url, node_number, timeout=None, coveragedir=None): def get_rpc_proxy(url, node_number, *, timeout=None, coveragedir=None):
""" """
Args: Args:
url (str): URL of the RPC server to call url (str): URL of the RPC server to call
@ -252,6 +252,7 @@ def get_rpc_proxy(url, node_number, timeout=None, coveragedir=None):
Kwargs: Kwargs:
timeout (int): HTTP timeout in seconds timeout (int): HTTP timeout in seconds
coveragedir (str): Directory
Returns: Returns:
AuthServiceProxy. convenience object for making RPC calls. AuthServiceProxy. convenience object for making RPC calls.