Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

feat: use schema-ed json as default to_dict/json - #57

#57
Merged
hanxiao merged 3 commits into
maindocarray/docarray:mainfrom
refactor-json-dictdocarray/docarray:refactor-json-dictCopy head branch name to clipboard
Jan 17, 2022
Merged

feat: use schema-ed json as default to_dict/json#57
hanxiao merged 3 commits into
maindocarray/docarray:mainfrom
refactor-json-dictdocarray/docarray:refactor-json-dictCopy head branch name to clipboard

Conversation

@hanxiao

@hanxiao hanxiao commented Jan 17, 2022

Copy link
Copy Markdown
Member

close #56

@JoanFM JoanFM 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.

Please add test validating that embeddings are properly handled

@codecov

codecov Bot commented Jan 17, 2022

Copy link
Copy Markdown

Codecov Report

Merging #57 (c3212a7) into main (5b2ea94) will increase coverage by 0.16%.
The diff coverage is 93.84%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #57      +/-   ##
==========================================
+ Coverage   82.75%   82.92%   +0.16%     
==========================================
  Files          70       70              
  Lines        3329     3350      +21     
==========================================
+ Hits         2755     2778      +23     
+ Misses        574      572       -2     
Flag Coverage Δ
docarray 82.92% <93.84%> (+0.16%) ⬆️

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

Impacted Files Coverage Δ
docarray/document/mixins/porting.py 88.73% <89.18%> (-3.87%) ⬇️
docarray/__init__.py 100.00% <100.00%> (ø)
docarray/array/mixins/io/csv.py 87.50% <100.00%> (-1.39%) ⬇️
docarray/array/mixins/io/json.py 92.50% <100.00%> (+8.28%) ⬆️
docarray/base.py 95.23% <100.00%> (ø)
docarray/document/mixins/pydantic.py 87.75% <100.00%> (+4.03%) ⬆️
docarray/document/pydantic_model.py 97.05% <100.00%> (+0.08%) ⬆️
docarray/math/ndarray.py 90.52% <0.00%> (+2.10%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 86b03f3...c3212a7. Read the comment docs.

@hanxiao

hanxiao commented Jan 17, 2022

Copy link
Copy Markdown
Member Author

do you know that random_docs have embeddings?

@hanxiao
hanxiao marked this pull request as ready for review January 17, 2022 17:16
@hanxiao
hanxiao merged commit a96787e into main Jan 17, 2022
@hanxiao
hanxiao deleted the refactor-json-dict branch January 17, 2022 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Morty Proxy This is a proxified and sanitized view of the page, visit original site.