update documentation to sphinx style

This commit is contained in:
Suhas 2021-01-31 20:31:13 -05:00
parent 6e658c31df
commit e26fd0721b

View file

@ -18,13 +18,14 @@ from .plugins import util
def deserialize_config_args(input: list) -> dict: def deserialize_config_args(input: list) -> dict:
"""Convert a two-element list of configuration key-value pair into a flat dict """
Args: Convert a two-element list of configuration key-value pair into a flat dict
input (str): list of configuration keys in dot-notation and their respective values.
Returns: :param input: list of configuration keys in dot-notation and their respective values.
dict: A single level dict of the configuration keys in dot-notation and their respective desired values :type input: list
:return: A single level dict of the configuration keys in dot-notation and their respective desired values
:rtype: dict
""" """
assert len(input) == 2 assert len(input) == 2
runtime_modifications = {} runtime_modifications = {}