Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
266 changes: 201 additions & 65 deletions LICENSE.txt

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions pinecone/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#
from pinecone.core.utils.constants import CLIENT_VERSION as __version__
from .config import *
from .exceptions import *
Expand Down
3 changes: 0 additions & 3 deletions pinecone/config.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#
import logging
import sys
from typing import NamedTuple, List
Expand Down
4 changes: 1 addition & 3 deletions pinecone/core/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

4 changes: 0 additions & 4 deletions pinecone/core/api_action.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

from typing import NamedTuple
from pinecone.core.api_base import BaseAPI

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/api_base.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

import requests
from requests.exceptions import HTTPError

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

# flake8: noqa

"""
Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

# do not import all apis into this module because that uses a lot of memory and stack frames
# if you need the ability to import all apis from one package, import them with
# from pinecone.core.client.apis import IndexOperationsApi
4 changes: 0 additions & 4 deletions pinecone/core/client/api/index_operations_api.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone index operations API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/api/vector_operations_api.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone vector operations API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/api_client.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
5 changes: 0 additions & 5 deletions pinecone/core/client/apis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#


# flake8: noqa

# Import all APIs into this package.
Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/configuration.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

# we can not import model classes here because that would create a circular
# reference which would not work in python2
# do not import all models into this module because that uses a lot of memory and stack frames
Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/approximated_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/collection_meta.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/create_collection_request.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/create_request.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/delete_request.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/describe_index_stats_request.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/describe_index_stats_response.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/fetch_response.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/hnsw_config.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/index_meta.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/index_meta_database.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/index_meta_database_status.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/index_meta_status.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone JSON API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/namespace_summary.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/patch_request.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/protobuf_any.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/protobuf_null_value.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/query_request.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/query_response.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/query_vector.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/rpc_status.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/scored_vector.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/single_query_results.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/sparse_values.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/update_request.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/upsert_request.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/upsert_response.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model/vector.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/model_utils.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

# flake8: noqa

# import all models into this package
Expand Down
4 changes: 0 additions & 4 deletions pinecone/core/client/rest.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

"""
Pinecone API

Expand Down
5 changes: 0 additions & 5 deletions pinecone/core/exceptions.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#


class PineconeException(Exception):
"""The base exception class for all Pinecone client exceptions."""

Expand Down
4 changes: 1 addition & 3 deletions pinecone/core/grpc/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

3 changes: 0 additions & 3 deletions pinecone/core/grpc/index_grpc.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#
import logging
import numbers
from abc import ABC, abstractmethod
Expand Down
4 changes: 1 addition & 3 deletions pinecone/core/grpc/protos/__init__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

4 changes: 0 additions & 4 deletions pinecone/core/grpc/protos/vector_column_service_pb2.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions pinecone/core/grpc/protos/vector_column_service_pb2_grpc.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
#
# Copyright (c) 2020-2021 Pinecone Systems Inc. All right reserved.
#

# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
"""Client and server classes corresponding to protobuf-defined services."""
import grpc
Expand Down
Loading