Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e8954ae

Browse files
committedMay 14, 2025·
Fix mypy
1 parent ccee2df commit e8954ae

File tree

1 file changed

+5
-5
lines changed
  • pinecone/db_control/resources/sync

1 file changed

+5
-5
lines changed
 

‎pinecone/db_control/resources/sync/index.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,9 +84,9 @@ def create(
8484
def create_for_model(
8585
self,
8686
name: str,
87-
cloud: Union[CloudProvider, str],
88-
region: Union[AwsRegion, GcpRegion, AzureRegion, str],
89-
embed: Union[IndexEmbed, CreateIndexForModelEmbedTypedDict],
87+
cloud: Union["CloudProvider", str],
88+
region: Union["AwsRegion", "GcpRegion", "AzureRegion", str],
89+
embed: Union["IndexEmbed", "CreateIndexForModelEmbedTypedDict"],
9090
tags: Optional[Dict[str, str]] = None,
9191
deletion_protection: Optional[Union["DeletionProtection", str]] = "disabled",
9292
timeout: Optional[int] = None,
@@ -223,8 +223,8 @@ def configure(
223223
self,
224224
name: str,
225225
replicas: Optional[int] = None,
226-
pod_type: Optional[Union[PodType, str]] = None,
227-
deletion_protection: Optional[Union[DeletionProtection, str]] = None,
226+
pod_type: Optional[Union["PodType", str]] = None,
227+
deletion_protection: Optional[Union["DeletionProtection", str]] = None,
228228
tags: Optional[Dict[str, str]] = None,
229229
) -> None:
230230
api_instance = self._index_api

0 commit comments

Comments
 (0)
Please sign in to comment.