This repository has been archived by the owner on Oct 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FEATURE] Allow update dataset settings for fields, vectors and metad…
…ata (#232) * refactor: Define VectorFieldModel as a ResourceModel * feat: Align VectorsAPI methods with endpoints * refactor: Define VectoField as Resource * refactor: Using VectorField methods * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * chore: apply PR suggestions * refactor: Redefine field model to customize only settings * feat: Implement Fields API methods using new model def * chore: Review some naming * feat: Redefine TextField as a Resource * chore: define private VectoField properties * chore: Redefine fields refs based on TextField * chore: Remove unused defs * tests: Update tests * chore: Using proper import * refactor: Review Metadata API model and methods * refactor: Align metadata fields with Resource class * refactor: implement upsert metadata using metadata resource methods * tests: Adapt tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * feat: Allow update fields, vectors and metadata settings * feat: update dataset with its settings * tests: Add integration tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * fix: dataset resource tests * chore: using model_dump instead of dict * refactor: Using SettingsProperties class for field, vectors, and metadata management * chore: Using id instead of external_id * chore: Change test conditioN * chore: Update settings tests with new settings properties container * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [BUGFIX] Export and import settings including vectors and metadata (#235) * fix: metadata and vector infos are included for serialization * tests: Add more tests * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Apply suggestions from code review Co-authored-by: David Berenstein <[email protected]> --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: David Berenstein <[email protected]>
- Loading branch information
1 parent
d3c82e1
commit 607cd27
Showing
23 changed files
with
575 additions
and
362 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
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
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
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
Oops, something went wrong.