connectordb/_connectordb.py
def users(self):
        """Returns the list of users in the database"""
        result = self.db.read("", {"q": "ls"})

        if result is None or result.json() is None:
            return []
        users = []
        for u in result.json():
            usr = self(u["name"])
            usr.metadata = u
            users.append(usr)
        return users
def users(self):
        result = self.db.read("", {"q": "ls"})

        if result is None or result.json() is None:
            return []
        users = []
        for u in result.json():
            usr = self(u["name"])
            usr.metadata = u
            users.append(usr)
        return users
def users ( self ) : result = self . db . read ( "" , { "q" : "ls" } ) if result is None or result . json ( ) is None : return [ ] users = [ ] for u in result . json ( ) : usr = self ( u [ "name" ] ) usr . metadata = u users . append ( usr ) return users
Returns the list of users in the database
Returns the list of users in the database