Skip to content

Commit

Permalink
fmt remaining files
Browse files Browse the repository at this point in the history
  • Loading branch information
gdj0nes committed Jun 14, 2024
1 parent e2c338b commit c7a8a45
Show file tree
Hide file tree
Showing 54 changed files with 150 additions and 146 deletions.
1 change: 1 addition & 0 deletions pinecone/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
"""
.. include:: ../README.md
"""

import warnings
from tqdm import TqdmExperimentalWarning

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/api/data_plane_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/api/manage_indexes_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import json
import atexit
import mimetypes
Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import copy
import logging
import multiprocessing
Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/collection_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/collection_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/configure_index_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/configure_index_request_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/create_collection_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/create_index_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/delete_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/describe_index_stats_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/error_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/error_response_error.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/fetch_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/index_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/index_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/index_model_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/index_model_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/list_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/list_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/namespace_summary.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/pagination.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/pod_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/pod_spec_metadata_config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/protobuf_any.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/protobuf_null_value.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/query_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/query_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/query_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/rpc_status.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/scored_vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/serverless_spec.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/single_query_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/sparse_values.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/update_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/upsert_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/upsert_response.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/usage.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/model/vector.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import re # noqa: F401
import sys # noqa: F401

Expand Down
9 changes: 5 additions & 4 deletions pinecone/core/client/model_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


from datetime import date, datetime # noqa: F401
import inspect
import io
Expand Down Expand Up @@ -1572,9 +1571,11 @@ def model_to_dict(model_instance, serialize=True):
elif isinstance(value, dict):
result[attr] = dict(
map(
lambda item: (item[0], model_to_dict(item[1], serialize=serialize))
if hasattr(item[1], "_data_store")
else item,
lambda item: (
(item[0], model_to_dict(item[1], serialize=serialize))
if hasattr(item[1], "_data_store")
else item
),
value.items(),
)
)
Expand Down
1 change: 0 additions & 1 deletion pinecone/core/client/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
Generated by: https://openapi-generator.tech
"""


import io
import json
import logging
Expand Down
Loading

0 comments on commit c7a8a45

Please sign in to comment.