From 624b63421c1d1eb1e8c2c9304c66fdbef2b0c4cd Mon Sep 17 00:00:00 2001 From: Tommy Smith Date: Mon, 29 Jul 2024 10:21:52 +0100 Subject: [PATCH] Fix deprecation warning in docstrings for legacy auth cred classes --- weaviate/auth.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/weaviate/auth.py b/weaviate/auth.py index 8f709e283..784ef8b3f 100644 --- a/weaviate/auth.py +++ b/weaviate/auth.py @@ -115,10 +115,10 @@ def bearer_token( # required to ease v3 -> v4 transition AuthApiKey = _APIKey -"""@deprecated; use wvc.Auth.api_key() instead.""" +"""@deprecated; use wvc.init.Auth.api_key() instead.""" AuthBearerToken = _BearerToken -"""@deprecated; use wvc.Auth.api_key() instead.""" +"""@deprecated; use wvc.init.Auth.api_key() instead.""" AuthClientCredentials = _ClientCredentials -"""@deprecated; use wvc.Auth.api_key() instead.""" +"""@deprecated; use wvc.init.Auth.api_key() instead.""" AuthClientPassword = _ClientPassword -"""@deprecated; use wvc.Auth.api_key() instead.""" +"""@deprecated; use wvc.init.Auth.api_key() instead."""