Skip to content
Snippets Groups Projects
Unverified Commit b42b74d3 authored by Siraj R Aizlewood's avatar Siraj R Aizlewood
Browse files

Removed index attribute from LocalIndex

It's defined in the BaseIndex which LocalIndex inherits anyway
parent 5025a45d
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,6 @@ from semantic_router.indices.base import BaseIndex
class LocalIndex(BaseIndex):
index: Optional[np.ndarray] = None
class Config: # Stop pydantic from complaining about Optional[np.ndarray] type hints.
arbitrary_types_allowed = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment