src.blueprints package

Submodules

src.blueprints.views module

async src.blueprints.views.blueprint_detail(request: aiohttp.web_request.Request)

Get detailed information for the blueprint with the given id

async src.blueprints.views.blueprint_list(request: aiohttp.web_request.Request)

List all uploaded blueprints.

Append a blueprint id to get more information about a listed blueprint.

src.blueprints.views.dumps(obj, *, skipkeys=False, ensure_ascii=True, check_circular=True, allow_nan=True, cls=None, indent=None, separators=None, default=<function make_serializable>, sort_keys=False, **kw)

A version of json.dumps that uses make serializable recursively to make objects serializable

async src.blueprints.views.retrieve_method_info(class_body, method_name, params_ignore=1) → Tuple[str, List]

Retrieves docs and parameters from the method

Parameters
  • class_body – the body of the class the method belongs to

  • method_name – the name of the method

  • params_ignore – how many of the first params to ignore, defaults to 1 (only ignore self)

Returns

a tuple containing both the docstring of the method and a list of parameters with name and default value