Skip to content

Commit

Permalink
#119: Fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
MRichards99 committed Feb 22, 2021
1 parent 7912f96 commit 47e430d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions datagateway_api/common/database/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ class DATACOLLECTIONDATASET(Base, EntityHelper, metaclass=EntityMeta):
"DATACOLLECTION_ID", ForeignKey("DATACOLLECTION.ID"), nullable=False,
)
datasetID = Column(
"DATASET_ID", ForeignKey("DATASET.ID"), nullable=False, index=True
"DATASET_ID", ForeignKey("DATASET.ID"), nullable=False, index=True,
)

DATACOLLECTION = relationship(
Expand Down Expand Up @@ -1222,7 +1222,7 @@ class STUDY(Base, EntityHelper, metaclass=EntityMeta):
userID = Column("USER_ID", ForeignKey("USER_.ID"), index=True)

USER = relationship(
"USER", primaryjoin="STUDY.userID == USER.id", backref="studies"
"USER", primaryjoin="STUDY.userID == USER.id", backref="studies",
)


Expand Down

0 comments on commit 47e430d

Please sign in to comment.