Skip to content

Commit

Permalink
Fix method resolution order for base model class
Browse files Browse the repository at this point in the history
  • Loading branch information
jdavcs committed Apr 5, 2024
1 parent 8a8a422 commit 652d36f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/galaxy/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -246,7 +246,7 @@ def get_uuid(uuid: Optional[Union[UUID, str]] = None) -> UUID:
return UUID(str(uuid))


class Base(_HasTable, DeclarativeBase):
class Base(DeclarativeBase, _HasTable):
__abstract__ = True
metadata = MetaData(naming_convention=NAMING_CONVENTION)
mapper_registry.metadata = metadata
Expand Down

0 comments on commit 652d36f

Please sign in to comment.