-
Notifications
You must be signed in to change notification settings - Fork 377
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: Support for update records from SDK #3946
feat: Support for update records from SDK #3946
Commits on Oct 13, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 1ce3feb - Browse repository at this point
Copy the full SHA 1ce3febView commit details -
Configuration menu - View commit details
-
Copy full SHA for 86a3ea1 - Browse repository at this point
Copy the full SHA 86a3ea1View commit details
Commits on Oct 14, 2023
-
Merge branch 'feature/support-for-metadata-filtering-and-sorting' int…
…o feat/support-for-update-records-from-SDK
Configuration menu - View commit details
-
Copy full SHA for ce580db - Browse repository at this point
Copy the full SHA ce580dbView commit details -
feat: Define
update_records
for base feeedback dataset classAlso, this class defines an generic type `R` for records.
Configuration menu - View commit details
-
Copy full SHA for 83bac6f - Browse repository at this point
Copy the full SHA 83bac6fView commit details -
refactor: Implement
update_records
method for local datasetsThe implementation will show a warning with an explicit message
Configuration menu - View commit details
-
Copy full SHA for b10ea26 - Browse repository at this point
Copy the full SHA b10ea26View commit details -
feat: Implement
update_records
method based onrecord.update
Also, the question (id -> name) and question (name -> id) maps are computed from the original dataset
Configuration menu - View commit details
-
Copy full SHA for bbd4236 - Browse repository at this point
Copy the full SHA bbd4236View commit details -
Configuration menu - View commit details
-
Copy full SHA for bcdbe9c - Browse repository at this point
Copy the full SHA bcdbe9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1a464f3 - Browse repository at this point
Copy the full SHA 1a464f3View commit details -
feat:
record.update
support record level updateRecords can be updated by assigning content and then call the `record.update` method. Suggestions are still supported, so users can update a record by passing the suggestions. But a more general way should be: ```python record.metadata.update({"new": "metadata"}) record.suggestions = (Suggestion....) record.update() ```
Configuration menu - View commit details
-
Copy full SHA for 875f88a - Browse repository at this point
Copy the full SHA 875f88aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 1daff38 - Browse repository at this point
Copy the full SHA 1daff38View commit details -
refactor: Support updating record suggestions through `update_records…
…` workflow Record suggestions can be modified locally to prepare changes and then call the `ds.updated_records` with modified suggestions. The `record.update` still support suggestions ```python records = ds.records[:10] for record in records: record.suggestions = [SuggestionSchema(...)] record.metadata.update({"new": "metadata"}) # Apply all local changes to remote records ds.update_records(records) ```
Configuration menu - View commit details
-
Copy full SHA for 8e24a36 - Browse repository at this point
Copy the full SHA 8e24a36View commit details -
tests: Adapt Test base dataset including missing abstract methods to …
…test dataset class
Configuration menu - View commit details
-
Copy full SHA for b28c45f - Browse repository at this point
Copy the full SHA b28c45fView commit details -
Configuration menu - View commit details
-
Copy full SHA for c42b963 - Browse repository at this point
Copy the full SHA c42b963View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a94c0e - Browse repository at this point
Copy the full SHA 2a94c0eView commit details -
refactor: Control record suggestions updates from `update(suggestions…
…=...) and `record.update()` The suggestions will be filtered before update them if suggestions where provided in the `record.update` method. Otherwise, the record suggestions will be sent as new suggestions
Configuration menu - View commit details
-
Copy full SHA for ab77ecb - Browse repository at this point
Copy the full SHA ab77ecbView commit details -
refactor: Define the workspace instance creation method private for b…
…etter integration with unit tests (A code review must be taken in order to not modify a class because the tests)
Configuration menu - View commit details
-
Copy full SHA for 4b0ccbd - Browse repository at this point
Copy the full SHA 4b0ccbdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 256f797 - Browse repository at this point
Copy the full SHA 256f797View commit details -
Configuration menu - View commit details
-
Copy full SHA for 547b641 - Browse repository at this point
Copy the full SHA 547b641View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d416d7 - Browse repository at this point
Copy the full SHA 5d416d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for a85279a - Browse repository at this point
Copy the full SHA a85279aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2787be3 - Browse repository at this point
Copy the full SHA 2787be3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 99e5d00 - Browse repository at this point
Copy the full SHA 99e5d00View commit details -
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Configuration menu - View commit details
-
Copy full SHA for db1f466 - Browse repository at this point
Copy the full SHA db1f466View commit details
Commits on Oct 15, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f219d7b - Browse repository at this point
Copy the full SHA f219d7bView commit details -
Merge branch 'feat/support-for-update-records-from-SDK' of github.com…
…:argilla-io/argilla into feat/support-for-update-records-from-SDK
Configuration menu - View commit details
-
Copy full SHA for 04c3829 - Browse repository at this point
Copy the full SHA 04c3829View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02b5c29 - Browse repository at this point
Copy the full SHA 02b5c29View commit details
Commits on Oct 16, 2023
-
Merge branch 'feature/support-for-metadata-filtering-and-sorting' int…
…o feat/support-for-update-records-from-SDK
Configuration menu - View commit details
-
Copy full SHA for 7537bd7 - Browse repository at this point
Copy the full SHA 7537bd7View commit details -
Merge branch 'feature/support-for-metadata-filtering-and-sorting' int…
…o feat/support-for-update-records-from-SDK
Configuration menu - View commit details
-
Copy full SHA for 15d36df - Browse repository at this point
Copy the full SHA 15d36dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2e74cd0 - Browse repository at this point
Copy the full SHA 2e74cd0View commit details -
Apply suggestions from code review
Co-authored-by: Alvaro Bartolome <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c24c65e - Browse repository at this point
Copy the full SHA c24c65eView commit details