def getall(self):
        """Returns all local users configuration as a resource dict

        Returns:
            dict: A dict of usernames with a nested resource dict object
        """
        users = self.users_re.findall(self.config, re.M)
        resources = dict()
        for user in users:
            resources.update(self._parse_username(user))
        return resources
def getall ( self ) : users = self . users_re . findall ( self . config , re . M ) resources = dict ( ) for user in users : resources . update ( self . _parse_username ( user ) ) return resources
Returns all local users configuration as a resource dict

        Returns:
            dict: A dict of usernames with a nested resource dict object