Before I use python v3 to connect AWS Kubernetes weaviate use below code:
client = weaviate.Client(
url = " ********* “,
auth_client_secret=weaviate.auth.AuthApiKey(api_key=” ******* "),
additional_headers= {
“X-AWS-Access-Key”: " ******** ",
“X-AWS-Secret-Key”: " ******** ",
}
)
could you help me refactor above code with python v4 version.