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:
parent
ba461b4f03
commit
e99e9666ab
@ -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.
|
||||
|
||||
"""
|
||||
|
Loading…
x
Reference in New Issue
Block a user