Skip to content

Commit

Permalink
Revert change breaking sqlalchemy 1.4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
tuncbkose authored and brichet committed Sep 1, 2023
1 parent 61290bf commit 485a8fc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nbgrader/api.py
Expand Up @@ -9,7 +9,7 @@
DateTime, Interval, Float, Enum, UniqueConstraint,
Boolean, inspect, text)
from sqlalchemy.orm import (sessionmaker, scoped_session, relationship,
column_property, DeclarativeBase)
column_property, declarative_base)
from sqlalchemy.orm.exc import NoResultFound, FlushError
from sqlalchemy.ext.associationproxy import association_proxy
from sqlalchemy.exc import IntegrityError, StatementError
Expand All @@ -25,8 +25,7 @@
from .auth import Authenticator


class Base(DeclarativeBase):
pass
Base = declarative_base()


def new_uuid() -> str:
Expand Down

0 comments on commit 485a8fc

Please sign in to comment.