def search_user(self, search_str, search_filter, local):
        ''' add a user to a stream '''
        response, status_code = self.__pod__.Users.post_v1_user_search(
            sessionToken=self.__session__,
            searchRequest={'query': search_str,
                           'filters': search_filter}
        ).result()
        self.logger.debug('%s: %s' % (status_code, response))
        return status_code, response
def search_user ( self , search_str , search_filter , local ) : response , status_code = self . __pod__ . Users . post_v1_user_search ( sessionToken = self . __session__ , searchRequest = { 'query' : search_str , 'filters' : search_filter } ) . result ( ) self . logger . debug ( '%s: %s' % ( status_code , response ) ) return status_code , response
add a user to a stream