    def _user_from_orm(self, orm_user):
        """return User wrapper from orm.User object"""
        if orm_user is None:
            return
        return self.users[orm_user]
return User wrapper from orm.User object
jupyterhub/handlers/base.py