From fd7c41fba2e51f25ec7649a0b5187ffbfb253635 Mon Sep 17 00:00:00 2001 From: Muzammil Mueen Date: Thu, 30 Jun 2016 13:02:28 -0700 Subject: [PATCH] Remove unused columns parameters in watcher/db/api In watcher/db/api.py, some abstract methods are specifying a 'columns' parameter that is actually ignored in db/sqlalchemy/api.py. Since we do not need this parameter, realignment was done for the signatures of these methods, by removing the 'column' parameter (and its docstring) from every single one of the following methods. get_audit_template_list get_audit_list get_action_list get_action_plan_list Closes-Bug: #1597641 Change-Id: If706e24d5714f0139fd135bdc41d17d0e431e302 --- watcher/db/api.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/watcher/db/api.py b/watcher/db/api.py index 1e276493f..8a5bacdfd 100644 --- a/watcher/db/api.py +++ b/watcher/db/api.py @@ -44,7 +44,6 @@ class BaseConnection(object): :param context: The security context :param filters: Filters to apply. Defaults to None. - :param limit: Maximum number of goals to return. :param marker: the last item of the previous page; we return the next result set. @@ -229,7 +228,6 @@ class BaseConnection(object): :param context: The security context :param filters: Filters to apply. Defaults to None. - :param limit: Maximum number of audit templates to return. :param marker: the last item of the previous page; we return the next result set. @@ -325,7 +323,6 @@ class BaseConnection(object): :param context: The security context :param filters: Filters to apply. Defaults to None. - :param limit: Maximum number of audits to return. :param marker: the last item of the previous page; we return the next result set. @@ -410,7 +407,6 @@ class BaseConnection(object): :param context: The security context :param filters: Filters to apply. Defaults to None. - :param limit: Maximum number of actions to return. :param marker: the last item of the previous page; we return the next result set. @@ -491,7 +487,6 @@ class BaseConnection(object): :param context: The security context :param filters: Filters to apply. Defaults to None. - :param limit: Maximum number of audits to return. :param marker: the last item of the previous page; we return the next result set.