* add data_type to tus mixin
* added tus for task annotations import
* added tus for jobs annotations import
* applied comments
* fix test
* fix incorrect upload endpoint
* add location creation based on origin
* remove unused import
* remove data_type
* remove unused comment
* update changelog to new release
Co-authored-by: Nikita Manovich <nikita.manovich@intel.com>
* Add serveral flags to CLI & generalize CLI code
definition.py:
- Add use_zip_chunks, start_frame, stop_frame, and chunk_size
as CLI flags
- Rename --bug to --bug_tracker to be consistent with website
and API
- No longer include optional kwargs in all requests
core.py:
- Add a single loop to handle all kwargs for extensibility
- Lump optional task_create args into kwargs for brevity
* Add --bug as alias for --bug_tracker
- Add back old --bug flag for backwards compatability
* Update licence header
Update licence header for core.py
* Remove redundant parameter assignment
- Remove hardcoded `image_quality` default value, as this is already
handled by the argparse default value.
* CHANGELOG entry for new CLI flags
* CLI linting fixes
- Several linting fixes for CLI
* Fix CLI test
- Re-add default image_quality in case task_create is called manually
* Resolve changelog merge conflict
* Update CHANGELOG.md
Co-authored-by: Andrey Zhavoronkov <andrey.zhavoronkov@intel.com>
Huge feature (200+ commits from different developers). It completely changes layout of data (please expect very long DB migration process if you have a lot of tasks). The primary idea is to send data as zip chunks (e.g. 36 images in one chunk) or encoded video chunks and decode them on the client side. It helps to solve the problem with latency when you try to view a separate frame in the UI quickly (play mode).
Another important feature of the patch is to provide access to the original images. Thus for annotations the client uses compressed chunks but if you want to export a dataset Datumaro will use original chunks (but video will be decoded with original quality and encoded with maximum/optimal quality in any case).
* Slightly enhance command line interface feature.
Added README.md, run tests using travis, run CLI tests from VS code.
* Removed formatted string due to a limitation on our python version inside the container.
* Add information about command line interface to the main page.
* Adding new command line tool for performing common task related
operations (create, list, delete, etc.)
* Replaced @exception decorator with try/except in main()
* Replaced optional --name with positional name and removed default
* Added license text to files
* Added django units to cover future API changes
* Refactored into submodules to better support tests