docs: fix network.py docstring

Change-Id: If527afa733f4ad8ac54f695330a4a08aa0ae2b7e
This commit is contained in:
Alvaro Lopez Garcia 2017-01-30 17:55:54 +01:00 committed by Enol Fernández
parent 79c830bfdb
commit 59e75c3f5d
1 changed files with 4 additions and 3 deletions

View File

@ -28,13 +28,14 @@ def parse_validate_schema(req, scheme=None,
"""Parse attributes and validate scheme
Returns attributes from request
If scheme is specified, it validates the OCCI scheme:
-Raises exception in case of being invalid
Returns attributes from request. If a scheme is specified, it validates the
OCCI scheme. Raises exception in case of being invalid.
:param req: request
:param: scheme: scheme to validate
:param: required_attr: attributes required
:returns: attributes from request
:raises: exception in case of being invalid
"""
parser = req.get_parser()(req.headers, req.body)
if scheme: