You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Data models should be validated using a tool such as pydantic.
Code removed from codebase:
# odtp# Copyright 2023 - Swiss Data Science Center (SDSC)# A partnership between École Polytechnique Fédérale de Lausanne (EPFL) and# Eidgenössische Technische Hochschule Zürich (ETHZ).frompydanticimportBaseModelfromdatetimeimportdatetimeclassRelease(BaseModel):
""" This class represents a release of a repository. Parameters ---------- tag: str The tag of the release. date: datetime.datetime The date of the release. commit_hash: str The commit hash of the release. """tag: strdate: datetimecommit_hash: str
Context
Solution
Acceptance Criteria
The text was updated successfully, but these errors were encountered: