From e99e9666abecbdb37d2d4b70b1daeeadbff34dec Mon Sep 17 00:00:00 2001 From: xugang Date: Wed, 5 Jul 2017 16:48:47 +0800 Subject: [PATCH] Add a description of the parameters to function. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a description of the parameters to function. The content is as follows: :param enforcer: policy enforcer Change-Id: I4726a0025d9e32bf0248e732bf27a11415cd9ab8 --- aodh/api/rbac.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aodh/api/rbac.py b/aodh/api/rbac.py index e13925e70..7b592b07b 100644 --- a/aodh/api/rbac.py +++ b/aodh/api/rbac.py @@ -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. """