Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ELE-2241 - add tags to report test results #1340

Merged
merged 2 commits into from
Dec 26, 2023

Conversation

IDoneShaveIt
Copy link
Collaborator

No description provided.

Copy link

linear bot commented Dec 26, 2023

Copy link
Contributor

👋 @IDoneShaveIt
Thank you for raising your pull request.
Please make sure to add tests and document all user-facing changes.
You can do this by editing the docs files in this pull request.

Copy link
Contributor

@NoyaArie NoyaArie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@@ -25,9 +25,11 @@ class TestResultDBRowSchema(ExtendedBaseModel):
test_results_description: Optional[str]
owners: Optional[List[str]]
model_owner: Optional[List[str]]
tags: Optional[List[str]]
tags: List[str] = Field(default_factory=list)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do we still need this one?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Well there is other place that uses it and this is the combination of model tags and test_tags.
I guess I will make it a property that return the union of the 2 🙂

@@ -62,6 +62,7 @@ class TestMetadataSchema(BaseModel):
description: Optional[str] = None
result: dict
configuration: dict
test_tags: List[str] = Field(default_factory=list)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe we should add this to SourceFreshnessMetadataSchema as well (just empty always). just because we are planning to use this field for all items in the table

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do

@IDoneShaveIt IDoneShaveIt merged commit d4a6e59 into master Dec 26, 2023
3 checks passed
@IDoneShaveIt IDoneShaveIt deleted the ele-2241-add-tags-to-report-test-results branch December 26, 2023 10:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants