Skip to content

Commit

Permalink
Merge pull request #66 from Scrumplex/fix/remove-download-count
Browse files Browse the repository at this point in the history
fix: remove download_count from adoptium models
  • Loading branch information
Trial97 authored Aug 12, 2024
2 parents 97a06bb + b1760b1 commit ed19a0a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions meta/model/java.py
Original file line number Diff line number Diff line change
Expand Up @@ -247,8 +247,8 @@ class AdoptiumPackage(AdoptiumFile):
checksum: Optional[str]
checksum_link: Optional[str]
signature_link: Optional[str]
download_count: Optional[int]
metadata_link: Optional[str]
# we intentionally omit download_count


class AdoptiumBinary(MetaBase):
Expand All @@ -260,10 +260,10 @@ class AdoptiumBinary(MetaBase):
package: Optional[AdoptiumPackage]
installer: Optional[AdoptiumPackage]
heap_size: AdoptiumHeapSize
download_count: Optional[int]
updated_at: datetime
scm_ref: Optional[str]
project: AdoptiumProject
# we intentionally omit download_count


class AdoptiumVersion(MetaBase):
Expand All @@ -286,12 +286,12 @@ class AdoptiumRelease(MetaBase):
timestamp: datetime
updated_at: datetime
binaries: list[AdoptiumBinary]
download_count: Optional[int]
release_type: str
vendor: AdoptiumVendor
version_data: AdoptiumVersion
source: Optional[AdoptiumFile]
release_notes: Optional[AdoptiumFile]
# we intentionally omit download_count


class AdoptiumReleases(MetaBase):
Expand Down

0 comments on commit ed19a0a

Please sign in to comment.