Python Function Comment

Nov 28, 2019
def request(headers, path_params, query_params, body_value):    """Updates outgoing requests with a serialized body.    Line 2    Line 3    Args:      headers: dict, request headers      path_params: dict, parameters that appear in the request path      query_params: dict, parameters that appear in the query      body_value: object, the request body as a Python object, which must be                  serializable by json.    Returns:      A tuple of (headers, path_params, query, body)      headers: dict, request headers      path_params: dict, parameters that appear in the request path      query: string, query part of the request URI      body: string, the body serialized as JSON    """    pass

NOTE: PEP 257 - Docstring Conventions

❤️ Is this article helpful?

Buy me a coffee ☕ or support my work via PayPal to keep this space 🖖 and ad-free.

Do send some 💖 to @d_luaz or share this article.

✨ By Desmond Lua

A dream boy who enjoys making apps, travelling and making youtube videos. Follow me on @d_luaz

👶 Apps I built

Travelopy - discover travel places in Malaysia, Singapore, Taiwan, Japan.