Skip to content

Commit 5b900c2

Browse files
committed
Audrey feedback
1 parent 6d5ab6e commit 5b900c2

File tree

5 files changed

+21
-22
lines changed

5 files changed

+21
-22
lines changed

.github/workflows/alpha-release.yaml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -24,22 +24,22 @@ on:
2424
default: 'rc1'
2525

2626
jobs:
27-
# unit-tests:
28-
# uses: './.github/workflows/testing-unit.yaml'
29-
# secrets: inherit
30-
# integration-tests:
31-
# uses: './.github/workflows/testing-integration.yaml'
32-
# secrets: inherit
33-
# dependency-tests:
34-
# uses: './.github/workflows/testing-dependency.yaml'
35-
# secrets: inherit
27+
unit-tests:
28+
uses: './.github/workflows/testing-unit.yaml'
29+
secrets: inherit
30+
integration-tests:
31+
uses: './.github/workflows/testing-integration.yaml'
32+
secrets: inherit
33+
dependency-tests:
34+
uses: './.github/workflows/testing-dependency.yaml'
35+
secrets: inherit
3636

3737
pypi:
3838
uses: './.github/workflows/publish-to-pypi.yaml'
39-
# needs:
40-
# - unit-tests
41-
# - integration-tests
42-
# - dependency-tests
39+
needs:
40+
- unit-tests
41+
- integration-tests
42+
- dependency-tests
4343
with:
4444
isPrerelease: true
4545
ref: ${{ inputs.ref }}

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ These instructions can only be followed by Pinecone employees with access to our
150150

151151
Prerequisites:
152152
- You must be an employee with access to private Pinecone repositories
153-
- You must have [Docker Desktop](https://www.docker.com/products/docker-desktop/) installed and running. Our code generation script uses a dockerized version of the openapi CLI.
153+
- You must have [Docker Desktop](https://www.docker.com/products/docker-desktop/) installed and running. Our code generation script uses a dockerized version of the OpenAPI CLI.
154154
- You must have initialized the git submodules under codegen
155155

156156
```sh

codegen/build-oas.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,9 +33,9 @@ update_apis_repo() {
3333
update_templates_repo() {
3434
echo "Updating templates repo"
3535
pushd codegen/python-oas-templates
36-
# git fetch
37-
# git checkout main
38-
# git pull
36+
git fetch
37+
git checkout main
38+
git pull
3939
popd
4040
}
4141

codegen/python-oas-templates

pinecone/data/features/bulk_import.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def start_import(
5151
) -> StartImportResponse:
5252
"""Import data from a storage provider into an index. The uri must start with the scheme of a supported
5353
storage provider. For buckets that are not publicly readable, you will also need to separately configure
54-
a storage integration and pass the integration name.
54+
a storage integration and pass the integration id.
5555
5656
Examples:
5757
>>> from pinecone import Pinecone
@@ -61,7 +61,7 @@ def start_import(
6161
6262
Args:
6363
uri (str): The URI of the data to import. The URI must start with the scheme of a supported storage provider.
64-
integration (Optional[str], optional): If your bucket requires authentication to access, you need to pass the name of your storage integration using this property. Defaults to None.
64+
integration_id (Optional[str], optional): If your bucket requires authentication to access, you need to pass the id of your storage integration using this property. Defaults to None.
6565
error_mode: Defaults to "CONTINUE". If set to "CONTINUE", the import operation will continue even if some
6666
records fail to import. Pass "ABORT" to stop the import operation if any records fail to import.
6767
@@ -103,7 +103,7 @@ def list_imports(self, **kwargs) -> Iterator[List[ImportModel]]:
103103
```
104104
105105
You should be cautious with this approach because it will fetch all operations at once, which could be a large number
106-
network calls and a lot of memory to hold the results.
106+
of network calls and a lot of memory to hold the results.
107107
108108
Args:
109109
limit (Optional[int]): The maximum number of operations to fetch in each network call. If unspecified, the server will use a default value. [optional]
@@ -179,7 +179,6 @@ def describe_import(self, id: str) -> ImportModel:
179179
"""
180180
if isinstance(id, int):
181181
id = str(id)
182-
183182
return self.__import_operations_api.describe_import(id=id)
184183

185184
def cancel_import(self, id: str):

0 commit comments

Comments
 (0)