Skip to content

Commit

Permalink
Fixes for action renames
Browse files Browse the repository at this point in the history
  • Loading branch information
jhamon committed Oct 21, 2024
1 parent a0510a9 commit be23120
Show file tree
Hide file tree
Showing 58 changed files with 142 additions and 123 deletions.
2 changes: 1 addition & 1 deletion codegen/build-oas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ remove_shared_classes() {
sed -i '' "s/from pinecone\.$py_module_name\.openapi\.$module import rest/from pinecone\.openapi_support import rest/g" "$file"

for sharedFile in "${sharedFiles[@]}"; do
sed -i '' "s/from pinecone\.$py_module_name\.openapi\.$module\.$sharedFile/from pinecone\.openapi_support\.$sharedFile/g" "$file"
sed -i '' "s/from pinecone\.$py_module_name\.openapi\.$module\.$sharedFile/from pinecone\.openapi_support/g" "$file"
done
done
done
Expand Down
4 changes: 2 additions & 2 deletions pinecone/core/openapi/db_control/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
__version__ = "1.0.0"

# import ApiClient
from pinecone.openapi_support.api_client import ApiClient
from pinecone.openapi_support import ApiClient

# import Configuration
from pinecone.openapi_support.configuration import Configuration
from pinecone.openapi_support import Configuration

# import exceptions
from pinecone.openapi_support.exceptions import PineconeException
Expand Down
4 changes: 2 additions & 2 deletions pinecone/core/openapi/db_control/api/manage_indexes_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.api_client import ApiClient, Endpoint as _Endpoint
from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ApiClient, Endpoint as _Endpoint
from pinecone.openapi_support import ( # noqa: F401
check_allowed_values,
check_validations,
date,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_control/model/collection_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_control/model/collection_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_control/model/error_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_control/model/index_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_control/model/index_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_control/model/index_model_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_control/model/index_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_control/model/index_tags.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_control/model/pod_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_control/model/serverless_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
4 changes: 2 additions & 2 deletions pinecone/core/openapi/db_data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
__version__ = "1.0.0"

# import ApiClient
from pinecone.openapi_support.api_client import ApiClient
from pinecone.openapi_support import ApiClient

# import Configuration
from pinecone.openapi_support.configuration import Configuration
from pinecone.openapi_support import Configuration

# import exceptions
from pinecone.openapi_support.exceptions import PineconeException
Expand Down
4 changes: 2 additions & 2 deletions pinecone/core/openapi/db_data/api/bulk_operations_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.api_client import ApiClient, Endpoint as _Endpoint
from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ApiClient, Endpoint as _Endpoint
from pinecone.openapi_support import ( # noqa: F401
check_allowed_values,
check_validations,
date,
Expand Down
4 changes: 2 additions & 2 deletions pinecone/core/openapi/db_data/api/vector_operations_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.api_client import ApiClient, Endpoint as _Endpoint
from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ApiClient, Endpoint as _Endpoint
from pinecone.openapi_support import ( # noqa: F401
check_allowed_values,
check_validations,
date,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/delete_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/fetch_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/import_error_mode.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/import_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/index_description.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/list_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/namespace_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/protobuf_any.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/protobuf_null_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/query_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/query_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/query_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
2 changes: 1 addition & 1 deletion pinecone/core/openapi/db_data/model/rpc_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
import re # noqa: F401
import sys # noqa: F401

from pinecone.openapi_support.model_utils import ( # noqa: F401
from pinecone.openapi_support import ( # noqa: F401
PineconeApiTypeError,
ModelComposed,
ModelNormal,
Expand Down
Loading

0 comments on commit be23120

Please sign in to comment.