Skip to content

Feat elastic storage#207

Merged
hanxiao merged 67 commits intomainfrom
feat-elastic-storage
Mar 28, 2022
Merged

Feat elastic storage#207
hanxiao merged 67 commits intomainfrom
feat-elastic-storage

Conversation

@davidbp
Copy link
Copy Markdown
Contributor

@davidbp davidbp commented Mar 15, 2022

No description provided.

if _docs is None:
return
elif isinstance(
_docs, (DocumentArray, Sequence, Generator, Iterator, itertools.chain)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

if isinstance(docs, Iterable) and self._ref_doc is not None: is good enough here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

This would allow other iterables that are not supported? I leave it as is, which is how it is done in other storage backends.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please check the latest main, this is the current implementation in other storage

@davidbp davidbp marked this pull request as ready for review March 25, 2022 18:03
if _docs is None:
return
elif isinstance(
_docs, (DocumentArray, Sequence, Generator, Iterator, itertools.chain)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please check the latest main, this is the current implementation in other storage

@hanxiao hanxiao merged commit 482dcbf into main Mar 28, 2022
@hanxiao hanxiao deleted the feat-elastic-storage branch March 28, 2022 07:49
@hanxiao hanxiao mentioned this pull request Mar 28, 2022
21 tasks
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.

5 participants