-
Notifications
You must be signed in to change notification settings - Fork 360
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
Feat: 5530 feature updated at inserted at properties on retrieved records #5540
base: develop
Are you sure you want to change the base?
Feat: 5530 feature updated at inserted at properties on retrieved records #5540
Conversation
@frascuchon do you think it also makes sense to update the |
…properties-on-retrieved-records
Yes, I think it makes sense |
@@ -106,3 +106,21 @@ def test_list_records_with_responses(client: Argilla, dataset: Dataset): | |||
|
|||
assert records[1].responses["comment"][0].value == "The comment" | |||
assert records[1].responses["sentiment"][0].value == "negative" | |||
|
|||
|
|||
def test_list_records_with_updated_at_and_inserted_at(client: Argilla, dataset: Dataset): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we expose these new attributes in the to_dict
methods? cc @burtenshaw
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
for me it makes sense too.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That should be ok. They will be used in records._io._generic
and exported in all formats, so we should validate serialisation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #5540 +/- ##
========================================
Coverage 91.21% 91.21%
========================================
Files 145 145
Lines 5964 5964
========================================
Hits 5440 5440
Misses 524 524
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
…properties-on-retrieved-records
…properties-on-retrieved-records
4338d83
to
45db576
Compare
…properties-on-retrieved-records
Description
Closes #5530
Type of change
How Has This Been Tested
Checklist