Skip to content

fix(array): fix add not performing deep copy#582

Merged
JoanFM merged 3 commits into
docarray:mainfrom
Jackmin801:fix-docarray-545
Oct 3, 2022
Merged

fix(array): fix add not performing deep copy#582
JoanFM merged 3 commits into
docarray:mainfrom
Jackmin801:fix-docarray-545

Conversation

@Jackmin801

@Jackmin801 Jackmin801 commented Oct 2, 2022

Copy link
Copy Markdown
Contributor

Goals:

@Jackmin801 Jackmin801 force-pushed the fix-docarray-545 branch 2 times, most recently from 2b2cadd to e68bd17 Compare October 2, 2022 11:42
@Jackmin801 Jackmin801 changed the title fix(docarray): fix add not performing deep copy fix(array): fix add not performing deep copy Oct 2, 2022
@Jackmin801

Jackmin801 commented Oct 2, 2022

Copy link
Copy Markdown
Contributor Author

There is another occurrence of this code. Might want to fix that one too.
But I don't know where this is used though. Wouldn't be able to test it.

@Jackmin801 Jackmin801 force-pushed the fix-docarray-545 branch 2 times, most recently from 774f1d5 to bd1167d Compare October 2, 2022 12:44

@alaeddine-13 alaeddine-13 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for your contribution, lgtm, will check if CI is passing

@codecov

codecov Bot commented Oct 3, 2022

Copy link
Copy Markdown

Codecov Report

Merging #582 (d7f5005) into main (aa8d072) will decrease coverage by 44.66%.
The diff coverage is 0.00%.

@@             Coverage Diff             @@
##             main     #582       +/-   ##
===========================================
- Coverage   84.91%   40.25%   -44.67%     
===========================================
  Files         133      133               
  Lines        6708     6708               
===========================================
- Hits         5696     2700     -2996     
- Misses       1012     4008     +2996     
Flag Coverage Δ
docarray 40.25% <0.00%> (-44.67%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
docarray/array/storage/memory/seqlike.py 74.28% <0.00%> (-25.72%) ⬇️
docarray/array/redis.py 0.00% <0.00%> (-100.00%) ⬇️
docarray/array/qdrant.py 0.00% <0.00%> (-100.00%) ⬇️
docarray/array/annlite.py 0.00% <0.00%> (-100.00%) ⬇️
docarray/array/elastic.py 0.00% <0.00%> (-100.00%) ⬇️
docarray/array/weaviate.py 0.00% <0.00%> (-100.00%) ⬇️
docarray/array/storage/registry.py 0.00% <0.00%> (-100.00%) ⬇️
docarray/array/storage/qdrant/helper.py 0.00% <0.00%> (-100.00%) ⬇️
docarray/array/storage/annlite/__init__.py 0.00% <0.00%> (-100.00%) ⬇️
docarray/document/mixins/rich_embedding.py 0.00% <0.00%> (-100.00%) ⬇️
... and 84 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@alaeddine-13

Copy link
Copy Markdown
Member

@Jackmin801 it looks like some tests are failing in tests/unit/document/test_plot.py, can you take a look ?

@Jackmin801

Jackmin801 commented Oct 3, 2022

Copy link
Copy Markdown
Contributor Author

Are the failed tests expected? Seems like some of them are about Jina login

@JoanFM JoanFM merged commit 47d73ba into docarray:main Oct 3, 2022
@JoanFM JoanFM linked an issue Oct 3, 2022 that may be closed by this pull request
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.

Concatenation feature in DocumentArray is broken

3 participants