X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FNBI.git;a=blobdiff_plain;f=osm_nbi%2Fauthconn.py;h=df5c700ab2f67d7e58d0a4e6aa873bbb577cf6e4;hp=0ffaad8f498d999edeb7216b9aa16da9d0f42456;hb=fa54cd99ee561e02ef95128cd3d25074aa1dbe54;hpb=5c01e193a17fcf730406e39fe7d019e1dee5c64d;ds=sidebyside diff --git a/osm_nbi/authconn.py b/osm_nbi/authconn.py index 0ffaad8..df5c700 100644 --- a/osm_nbi/authconn.py +++ b/osm_nbi/authconn.py @@ -184,10 +184,11 @@ class Authconn: """ raise AuthconnNotImplementedException("Should have implemented this") - def get_user_list(self): + def get_user_list(self, filter_q={}): """ Get user list. + :param filter_q: dictionary to filter user list. :return: returns a list of users. """ @@ -235,10 +236,11 @@ class Authconn: """ raise AuthconnNotImplementedException("Should have implemented this") - def get_project_list(self): + def get_project_list(self, filter_q={}): """ Get all the projects. + :param filter_q: dictionary to filter project list. :return: list of projects """ raise AuthconnNotImplementedException("Should have implemented this")