Description
shows this error
raise WeaviateInvalidInputError(
weaviate.exceptions.WeaviateInvalidInputError: Invalid input provided: Argument ‘cluster_url’ must be one of: [<class ‘str’>], but got <class ‘NoneType’>.
(.venv) vpatwal@viveks-mbp awesome-moviate %
my code is :
import weaviate
import os
Set these environment variables
URL = os.getenv(“https://my-sandbox-2-(and some characters).weaviate.network”)
APIKEY = os.getenv(“https://my-sandbox-2-(and some characters).weaviate.network”)
Connect to a WCS instance
client = weaviate.connect_to_wcs(
cluster_url=URL,
auth_credentials=weaviate.auth.AuthApiKey(APIKEY))
I’ve been trying since the morning but still can’t get it to work, the client doesn’t seem to work