-
Notifications
You must be signed in to change notification settings - Fork 238
feat: implement push/pull interface from JAC, file and s3 #1182
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
Merged
Merged
Changes from all commits
Commits
Show all changes
93 commits
Select commit
Hold shift + click to select a range
a034228
refactor: move streaming serialization into separate method
Jackmin801 104d540
refactor: add binary io like protocol definition
Jackmin801 4c532fa
feat: ported push pull to JAC
Jackmin801 a3844c6
fix: protocol is not in 3.7 typing
Jackmin801 e37ba7c
fix: make mypy happy
Jackmin801 f7a1686
fix: patch missing waterfall
Jackmin801 5ae831e
refactor: jit import backends
Jackmin801 9703d6b
feat: implement cache in jinaai pull
Jackmin801 b304421
fix: add hubble dependency to jina group
Jackmin801 6fd41b4
refactor: better division of concerns
Jackmin801 7b2d0c4
feat: add concept of namespace
Jackmin801 920f993
fix: ignore missing hubble stubs
Jackmin801 e1811be
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 1a1fe6a
feat: streaming protocol stubs
Jackmin801 ee57e33
refactor: make more general buffered caching reader
Jackmin801 6f42d40
test: add tests for hubble pushpull
Jackmin801 3fa8d2c
test: add tests for file backend
Jackmin801 7cb5e5c
fix: remove hubble dependency from jina group
Jackmin801 8c0c92b
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 1fa54d4
feat: implement push pull for local filesystem
Jackmin801 4ff4dd7
test: test concurrent pushes and pulls in file protocol
Jackmin801 38ede73
fix: resolve concurrent pushes and pulls correctly
Jackmin801 7ccf0e5
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 18b3b9a
fix: rename text to textdoc
Jackmin801 1df2a21
feat: added some logging
Jackmin801 a66d801
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 46a7397
test: s3 tests
Jackmin801 67a89c7
feat: s3 pushpull
Jackmin801 eb0e52b
fix: add smart open dependency
Jackmin801 cf78c6c
fix: add smart opens silly python bound
Jackmin801 42079ad
test: update hubble tests (failing)
Jackmin801 d91dde0
fix: fix delete return in hubble pushpull
Jackmin801 f66ee30
Revert "fix: add smart open dependency"
Jackmin801 1d1d2ee
fix: add hubble and smart open dependencies
Jackmin801 9687400
fix: mypy fixes
Jackmin801 b25f4e7
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 62493bf
ci: allow tests to see jina auth token
Jackmin801 670d439
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 8122ca2
feat: add progress bars for streaming
Jackmin801 83e65b9
style: blacken
Jackmin801 cb4569f
feat: buffer writes to s3
Jackmin801 449415a
fix: mypy no like sequence
Jackmin801 4fdc226
fix: make progress bar quieter when disabled
Jackmin801 b8d9ca6
test: skip failing tests
Jackmin801 1817902
feat: add tables when listing
Jackmin801 3b0a708
test: add jina auth token to uncaped test
Jackmin801 83e5046
test: mock s3 tests with minio container
Jackmin801 c9d3df7
fix: silly error that cost me 2 hours of life
Jackmin801 358b96f
test: use tolerance ratio in file tests
Jackmin801 f53dc86
feat: add caching to s3 pull
Jackmin801 751c4b7
feat: add log messages for unused parameters
Jackmin801 d2e9b7a
refactor: take out unneeded buffering
Jackmin801 e473ca8
feat: pick fastest protocol compression configuration for s3
Jackmin801 c8c8cb6
test: bump tolerance ratio for s3 test
Jackmin801 15731f7
refactor: reduce code duplication
Jackmin801 d343801
refactor: put reader chunk size constant at top of file
Jackmin801 0cd46fd
test: reduce reader chunk size for memory tests
Jackmin801 a9cb282
fix: multipart uploads get stuck frequently
Jackmin801 ba99182
docs: add docstrings to mixin and file backend
Jackmin801 ac3a0b8
docs: add docstring for s3 and hubble backends
Jackmin801 3db9fbd
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 290bf61
test: remove unused test
Jackmin801 46ed106
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 0a1e19c
refactor: use literal in protocol
Jackmin801 e012274
refactor: protocols dont need to be inherited
Jackmin801 5469adb
fix: add make mypy happy with the literals
Jackmin801 a305019
fix: literals not in 3.7
Jackmin801 e360ccc
refactor: move mixin out of init file
Jackmin801 91b38f0
refactor: move cache path resolution to utils
Jackmin801 1efc33a
feat: cache path is only evaluated once
Jackmin801 b6c439e
refactor: loading backends makes more sense as debug log
Jackmin801 57f2484
tests: add slow and internet marks
Jackmin801 8827c07
refactor: pin image tag
Jackmin801 44cb4ac
refactor: use abc instead of protocol for typing backends
Jackmin801 cfb7a1e
fix: revert - add hubble and smart open dependencies
Jackmin801 06d5aa4
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 4997803
fix: add hubble and aws dependencies
Jackmin801 a63525a
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 a12160f
refactor: change all push pull mixin methods to class methods
Jackmin801 0b261ad
fix: misstyped class method self reference
Jackmin801 3e615f5
refactor: rename pushpull to docstore and use more classmethods
Jackmin801 bcef4e7
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 45b2ccc
refactor: separate remote backend implementations from mixin
Jackmin801 4639cfc
fix: missed import refactor
Jackmin801 92648d1
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 aa4c3c4
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 529d5d0
refactor: change submodule name to store
Jackmin801 1cde6a4
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 a05fe79
refactor: remove list and delete from mixin
Jackmin801 b225e85
Merge branch 'feat-rewrite-v2' into feat-1134-pushpull
Jackmin801 5c57fda
tests: clear all the garbage in ci account
Jackmin801 82e3132
tests: skip test that is broken on ci
Jackmin801 7cd875b
refactor: standardize naming to jac
Jackmin801 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about making Da directly a PushPullMixin. I think this quite polute the namespace of DocumentArray :thinking_face: At the same time I don't have an alternative in mind