-
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.
Take ci_link from start of test execution
- Loading branch information
Showing
4 changed files
with
18 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 |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
# Omar Selo <[email protected]> | ||
|
||
|
||
from pydantic import BaseModel, field_serializer, model_validator | ||
from pydantic import BaseModel, HttpUrl, field_serializer, model_validator | ||
|
||
from test_observer.data_access.models_enums import FamilyName, TestExecutionStatus | ||
|
||
|
@@ -35,6 +35,7 @@ class StartTestExecutionRequest(BaseModel): | |
arch: str | ||
execution_stage: str | ||
environment: str | ||
ci_link: HttpUrl | ||
|
||
@field_serializer("family") | ||
def serialize_dt(self, family: FamilyName): | ||
|
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