label-studio-sdk
label-studio-sdk copied to clipboard
fix: DIA-1428: Increase test coverage for Prompts/Predictions deletion
Hi @niklub!
This PR was automaticaly generated via Follow Merge. Please ensure that all linked upstream Pull Requests are merged before proceeding with this one.
- https://github.com/HumanSignal/label-studio-client-generator/pull/25 linked by Workflow Run
| :rocket: | This description was created by Ellipsis for commit 716e0e7c52cb7ff8e6c4f6532de47eb27632fb5c |
|---|
fix: increase test coverage for prompt and prediction deletion
Summary:
Enhance test coverage and API functionality for prompt and prediction management, including CRUD operations for prompts and their versions.
Key points:
- API Enhancements:
- Added
get,delete, andupdatemethods forPromptsClientinclient.py. - Added
list,get,delete, andupdatemethods forVersionsClientinversions/client.py.
- Added
- Model Changes:
- Updated
PromptVersioninprompt_version.pyto make fields optional.
- Updated
- Test Coverage:
- Added tests for
list,get,delete, andupdatemethods intest_versions.py. - Added tests for
get,delete, andupdatemethods intest_prompts.py.
- Added tests for
Generated with :heart: by ellipsis.dev