I am just trying to reset a database hosted on a docker container:
import chromadb
from chromadb.config import Settings
client = chromadb.HttpClient(host="localhost", port=8000, settings=Settings(allow_reset=True))
client.reset()
But, the above code throws the following exception:
Exception: {"error":"ValueError('Resetting is not allowed by this configuration (to enable it, set `allow_reset` to `True` in your Settings() or include `ALLOW_RESET=TRUE` in your environment variables)')"}
I am not sure why it is causing this issue, any help would be appreciated!