Skip to content

Commit

Permalink
remove package version
Browse files Browse the repository at this point in the history
  • Loading branch information
jadmsaadaot committed Jan 17, 2025
1 parent b4be63e commit bb6372f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions submit-api/src/submit_api/models/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@ class Package(BaseModel):
backref='package',
lazy='joined')

version = db.relationship(
'PackageVersion',
backref='package',
lazy='joined',
uselist=False,
primaryjoin='Package.id == PackageVersion.package_id',
foreign_keys='PackageVersion.package_id')
# version = db.relationship(
# 'PackageVersion',
# backref='package',
# lazy='joined',
# uselist=False,
# primaryjoin='Package.id == PackageVersion.package_id',
# foreign_keys='PackageVersion.package_id')

@property
def update_requests(self):
Expand Down

0 comments on commit bb6372f

Please sign in to comment.