Add a description of the parameters to function.

Add a description of the parameters to function.

The content is as follows:
:param enforcer: policy enforcer

Change-Id: I4726a0025d9e32bf0248e732bf27a11415cd9ab8
This commit is contained in:
xugang 2017-07-05 16:48:47 +08:00
parent ba461b4f03
commit e99e9666ab
1 changed files with 1 additions and 0 deletions

View File

@ -100,6 +100,7 @@ def get_limited_to_project(headers, enforcer):
"""Return the project the request should be limited to.
:param headers: HTTP headers dictionary
:param enforcer: policy enforcer
:return: A project, or None if there's no limit on it.
"""