mirror of
https://github.com/placeholder-soft/chroma.git
synced 2026-01-12 22:44:55 +08:00
Adds precommit hooks based on #433 to our repository. Only one file here is new - the configuration for the hooks, everything else is linting/formatting fixes. We do not run the typechecker globally since that would be quite lengthy to clean up - instead we will have to incrementally clean up type check issues as we go.
8 lines
205 B
Python
8 lines
205 B
Python
# Sanity check script to ensure that the Chroma client can connect
|
|
# and is capable of recieving data.
|
|
import chromadb
|
|
|
|
# run in in-memory mode
|
|
chroma_api = chromadb.Client()
|
|
print(chroma_api.heartbeat())
|