@classmethod
    def get(cls, uid, safe=False):
        """
        params:
            uid - the user id which to fetch
            safe - return users without secure fields like salt and hash
            db - provide your own instantiated lazydb.Db() connector
        """
        if uid is not None:
            users = cls.getall()
            try:
                return users[uid] if not safe else cls._publishable(users[uid])
            except __HOLE__:
                return None
dataset/ETHPy150Open mekarpeles/waltz/waltz/__init__.py/User.get