Skip to content

Commit

Permalink
Revert change breaking sqlalchemy 1.4.x (jupyter#1823)
Browse files Browse the repository at this point in the history
Co-authored-by: Tunç Başar Köse <[email protected]>
  • Loading branch information
brichet and tuncbkose authored Sep 1, 2023
1 parent 61290bf commit 93db0b8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nbgrader/api.py
Original file line number Diff line number Diff line change
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 93db0b8

Please sign in to comment.