Repository navigation
Move all grpc stuff into pinecone.grpc subpackage #238
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
Changes from all commits
42b26cb
b61f3f0
b695797
ac852bb
cc46fe5
f777063
797564c
3a1e9cf
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1 @@ | ||
| from .index import Index | ||
| from .grpc.index_grpc import GRPCIndex | ||
| from .index import Index |
This file was deleted.
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| from .index_grpc import GRPCIndex | ||
| from .pinecone import Pinecone |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| from ..control.pinecone import Pinecone | ||
| from .index_grpc import GRPCIndex | ||
|
|
||
| class Pinecone(Pinecone): | ||
| def Index(self, name: str): | ||
| index_host = self.index_host_store.get_host(self.index_api, self.config, name) | ||
| return GRPCIndex(api_key=self.config.API_KEY, host=index_host) |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -63,11 +63,11 @@ dnspython = ">=2.0.0" | |
| python-dateutil = ">=2.5.3" | ||
| urllib3 = "1.25.3" | ||
| tqdm = ">=4.64.1" | ||
| grpcio = ">=1.44.0" | ||
| grpc-gateway-protoc-gen-openapiv2 = "0.1.0" | ||
| googleapis-common-protos = ">=1.53.0" | ||
| lz4 = ">=3.1.3" | ||
| protobuf = "~=3.20.0" | ||
| grpcio = { version = ">=1.44.0", optional = true } | ||
| grpc-gateway-protoc-gen-openapiv2 = { version = "0.1.0", optional = true } | ||
| googleapis-common-protos = { version = ">=1.53.0", optional = true } | ||
| lz4 = { version = ">=3.1.3", optional = true } | ||
| protobuf = { version = "~=3.20.0", optional = true } | ||
|
Comment on lines
+66
to
+70
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Did not know you could explicitly set |
||
|
|
||
| [tool.poetry.group.dev.dependencies] | ||
| numpy = ">=1.22" | ||
|
|
||
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.
Thanks for pulling this out of here, this was a mistake on my part I think.
We cover this step in the
prworkflow already so it may have been running twice.