cvat-opencv
cvat-opencv copied to clipboard
Add layer 2 of SDK
Motivation and context
- Added
launch.json
tasks for python tests - Server:
- Fixed response schema for
MetaUser
andPolymorphicProject
(oneOf
->anyOf
)
- Fixed response schema for
- SDK:
- Fixed
cloudstorage
api operation names (removed api prefix, removed the dash in the middle of api) - Fixed Ignore files
- Added cookie management in
ApiClient
- Added hostname fixing in
Configuration
(trailing slashes are removed automatically) - Added automatic schema detection in
ApiClient
- Fixed method docstrings to be displayed correctly in VS Code (added a separating line)
- Fixed
Configuration
class docstrings - Added json serialization function for models
- Added layer 2 of SDK, which contains various usecases, utilities and composite operations
- Currently, only covers task operations (the same as
CLI.core
module did)
- Currently, only covers task operations (the same as
- Updated sdk library file layout
- Added generated files to
.gitignore
, except documentation (need to start publishing it in the future)
- Fixed
- CLI:
- Implementation is completely rewritten to use SDK
- Removed
CLI.core
module
- Removed
- Aadded
with_images
option to download annotations and images indump
- Added options to control status check periods in
export
andimport
- Tests moved to
tests/
next torest-api/
- Implementation is completely rewritten to use SDK
- Upgraded
pylint
version to 2.14 and migrated.pylintrc
- Enabled
pylint
,black
andisort
fortests
,cvat-cli
andcvat-sdk
modules on CI. Keep in mind that different modules need to be processed by different runs of black/isort, otherwise we get invalid behaviour.
How has this been tested?
Unit tests
Checklist
- [ ] I submit my changes into the
develop
branch - [ ] I have added a description of my changes into CHANGELOG file
- [ ] I have updated the documentation accordingly
- [ ] I have added tests to cover my changes
- [ ] I have linked related issues (read github docs)
- [ ] I have increased versions of npm packages if it is necessary (cvat-canvas, cvat-core, cvat-data and cvat-ui)
License
- [ ] I submit my code changes under the same MIT License that covers the project. Feel free to contact the maintainers if that's a concern.
Hi @JulianWgs ,
Thank you for the bug report. Checking input is an important task and we will try to improve it into our next major release.