Skip to content
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

Remove several fields from DataSerializer #7663

Merged
merged 1 commit into from
Apr 2, 2024

Conversation

SpecLad
Copy link
Contributor

@SpecLad SpecLad commented Mar 22, 2024

Motivation and context

original_chunk_type and compressed_chunk_type have no effect, because the task creation code overwrites these values based on use_zip_chunks. With size, the code relies on the default of zero, and attempting to overriding it will just lead to an incorrect value being saved to the database.

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • [ ] I have created a changelog fragment
  • [ ] I have updated the documentation accordingly
  • [ ] I have added tests to cover my changes
  • [ ] I have linked related issues (see 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.

@SpecLad SpecLad marked this pull request as draft March 25, 2024 15:47
`original_chunk_type` and `compressed_chunk_type` have no effect, because
the task creation code overwrites these values based on `use_zip_chunks`.
With `size`, the code relies on the default of zero, and attempting to
overriding it will just lead to an incorrect value being saved to the
database.
@SpecLad SpecLad marked this pull request as ready for review March 25, 2024 16:53
@SpecLad SpecLad requested a review from nmanovic as a code owner March 25, 2024 16:53
Copy link

codecov bot commented Mar 25, 2024

Codecov Report

Merging #7663 (06d2c68) into develop (eb5b612) will decrease coverage by 0.06%.
Report is 2 commits behind head on develop.
The diff coverage is 100.00%.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #7663      +/-   ##
===========================================
- Coverage    83.46%   83.40%   -0.06%     
===========================================
  Files          373      373              
  Lines        39716    39722       +6     
  Branches      3741     3741              
===========================================
- Hits         33150    33132      -18     
- Misses        6566     6590      +24     
Components Coverage Δ
cvat-ui 79.25% <ø> (-0.03%) ⬇️
cvat-server 87.25% <100.00%> (-0.09%) ⬇️

@SpecLad SpecLad requested a review from azhavoro March 26, 2024 10:34
@azhavoro azhavoro merged commit 9c04b0c into cvat-ai:develop Apr 2, 2024
43 checks passed
@cvat-bot cvat-bot bot mentioned this pull request Apr 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants