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

Fixed error when getting data from CS and cache=True #6932

Merged
merged 2 commits into from
Oct 2, 2023

Conversation

azhavoro
Copy link
Contributor

@azhavoro azhavoro commented Oct 2, 2023

Motivation and context

Fix

AttributeError: 'tuple' object has no attribute 'tobytes'

How has this been tested?

Checklist

  • I submit my changes into the develop branch
  • I have added a description of my changes into the CHANGELOG file
  • 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.

@codecov
Copy link

codecov bot commented Oct 2, 2023

Codecov Report

Merging #6932 (2c2f4f8) into develop (92906a7) will increase coverage by 0.06%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           develop    #6932      +/-   ##
===========================================
+ Coverage    82.53%   82.60%   +0.06%     
===========================================
  Files          360      360              
  Lines        38895    38895              
  Branches      3544     3544              
===========================================
+ Hits         32101    32128      +27     
+ Misses        6794     6767      -27     
Components Coverage Δ
cvat-ui 77.73% <ø> (+0.10%) ⬆️
cvat-server 87.04% <100.00%> (+0.03%) ⬆️

@azhavoro azhavoro requested a review from nmanovic October 2, 2023 14:11
Copy link
Contributor

@nmanovic nmanovic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@nmanovic nmanovic merged commit 2dfe6db into develop Oct 2, 2023
33 checks passed
@nmanovic nmanovic deleted the az/fix_retrieve_data_form_cs branch October 2, 2023 14:22
mikhail-treskin pushed a commit to retailnext/cvat that referenced this pull request Oct 25, 2023
Fix 
```python
AttributeError: 'tuple' object has no attribute 'tobytes'
```
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.

2 participants