File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ def __init__(
6464 if client_id is not None :
6565 self ._client_id = client_id
6666 else :
67- self ._client_id = os .environ .get ("PINECONE_CLIENT_ID" , None )
67+ self ._client_id = os .environ .get ("PINECONE_CLIENT_ID" , "" )
6868 if self ._client_id is None or self ._client_id == "" :
6969 raise ValueError (
7070 "client_id is not set or is empty. Pass client_id to the Admin constructor or set the PINECONE_CLIENT_ID environment variable."
@@ -73,7 +73,7 @@ def __init__(
7373 if client_secret is not None :
7474 self ._client_secret = client_secret
7575 else :
76- self ._client_secret = os .environ .get ("PINECONE_CLIENT_SECRET" , None )
76+ self ._client_secret = os .environ .get ("PINECONE_CLIENT_SECRET" , "" )
7777 if self ._client_secret is None or self ._client_secret == "" :
7878 raise ValueError (
7979 "client_secret is not set or is empty. Pass client_secret to the Admin constructor or set the PINECONE_CLIENT_SECRET environment variable."
You can’t perform that action at this time.
0 commit comments