-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add endpoint to patch artefact status (#64)
- Loading branch information
Showing
4 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,7 +19,7 @@ | |
# Nadzeya Hutsko <[email protected]> | ||
from pydantic import AliasPath, BaseModel, ConfigDict, Field | ||
|
||
from test_observer.data_access.models_enums import TestExecutionStatus | ||
from test_observer.data_access.models_enums import ArtefactStatus, TestExecutionStatus | ||
|
||
|
||
class ArtefactDTO(BaseModel): | ||
|
@@ -60,3 +60,7 @@ class ArtefactBuildDTO(BaseModel): | |
architecture: str | ||
revision: int | None | ||
test_executions: list[TestExecutionDTO] | ||
|
||
|
||
class ArtefactPatch(BaseModel): | ||
status: ArtefactStatus |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters