Skip to content

Commit a4a136a

Browse files
authored
Remove unused constants (#350)
## Problem I noticed there are a few constants defined that are not currently being used anywhere. ## Solution - Search in codebase to confirm these are no longer in use. - Remove them. ## Type of Change - [x] Chore (cleanup dead code) ## Test Plan See tests still pass.
1 parent 1fad23f commit a4a136a

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

pinecone/utils/constants.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,20 +8,6 @@
88
MAX_ID_LENGTH = int(os.getenv("PINECONE_MAX_ID_LENGTH", default="64"))
99

1010
REQUEST_ID: str = "request_id"
11-
CLIENT_VERSION_HEADER = "X-Pinecone-Client-Version"
12-
13-
14-
class NodeType(str, enum.Enum):
15-
STANDARD = "STANDARD"
16-
COMPUTE = "COMPUTE"
17-
MEMORY = "MEMORY"
18-
STANDARD2X = "STANDARD2X"
19-
COMPUTE2X = "COMPUTE2X"
20-
MEMORY2X = "MEMORY2X"
21-
STANDARD4X = "STANDARD4X"
22-
COMPUTE4X = "COMPUTE4X"
23-
MEMORY4X = "MEMORY4X"
24-
2511

2612
CLIENT_VERSION = __version__
2713
CLIENT_ID = f"python-client-{CLIENT_VERSION}"

0 commit comments

Comments
 (0)