Skip to content

Commit

Permalink
Merge branch 'EPICSYSTEM-178-swagger_integration' of https://github.c…
Browse files Browse the repository at this point in the history
…om/dinesh-aot/EPIC.submit into EPICSYSTEM-178-swagger_integration
  • Loading branch information
dinesh-aot committed Jul 12, 2024
2 parents f5c380f + 7e2f53e commit 21d20c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions submit-api/src/submit_api/models/base_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,12 @@ class BaseModel(db.Model):
updated_date = db.Column(db.DateTime, default=datetime.utcnow, onupdate=datetime.utcnow, nullable=True)

@declared_attr
def created_by(cls): # pylint:disable=no-self-argument, # noqa: N805
def created_by(cls): # pylint:disable=no-self-argument, no-self-use, # noqa: N805
"""Return foreign key for created by."""
return Column(db.String(50))

@declared_attr
def updated_by(cls): # pylint:disable=no-self-argument, # noqa: N805
def updated_by(cls): # pylint:disable=no-self-argument, no-self-use, # noqa: N805
"""Return foreign key for modified by."""
return Column(db.String(50))

Expand Down

0 comments on commit 21d20c2

Please sign in to comment.