Hi, It takes a very long time to load the sdk. Are there any imports which can wait for the time they will be used?
Activity
gdj0nes commentedon Dec 19, 2022
@ohad-alike thanks for reporting! we weren't able to reproduce this. Are you still seeing this issue? Sorry for the delayed response.
ohad-alike commentedon Dec 22, 2022
Yes,
% time python -c "import pinecone"python -c "import pinecone" 0.23s user 0.10s system 22% cpu 1.479 totalohad-alike commentedon Dec 22, 2022
from time import timestart = time()import pineconeprint(f"time for import: {time()-start}")time for import: 1.6446847915649414micahjsmith commentedon Aug 10, 2023
this is obviously related to #189
feat(models)!: graduate 2026-07 index/schema/deployment/read-capacity…
feat(models)!: 2026-07 backup + restore models (IndexSchema payloads,…
feat(models): 2026-07 backup schedule models (time-based only, flat r…
test(db_control): migrate integration tests off removed IndexSpec/spe…