#NEWLINE# def list_sentry_privileges_by_authorizable( self , authorizableSet , groups = None , roleSet = None ) : #NEWLINE# #INDENT# authorizableSet = [ TSentryAuthorizable ( ** authorizable ) for authorizable in authorizableSet ] #NEWLINE# if ( authorizableSet is not None ) : #NEWLINE# #INDENT# roleSet = TSentryActiveRoleSet ( ** roleSet ) #NEWLINE# #UNINDENT# request = TListSentryPrivilegesByAuthRequest ( requestorUserName = self . username , authorizableSet = authorizableSet , groups = groups , roleSet = roleSet ) #NEWLINE# return self . client . list_sentry_privileges_by_authorizable ( request )