From 49ae177fc868a72759fb145697cac1e20506ebde Mon Sep 17 00:00:00 2001 From: Philip Krauss Date: Wed, 3 Jan 2024 09:44:49 +0100 Subject: [PATCH] add more clarity to server_message func 2 --- xata/api_response.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xata/api_response.py b/xata/api_response.py index 6a90838..621b436 100644 --- a/xata/api_response.py +++ b/xata/api_response.py @@ -44,7 +44,7 @@ def server_message(self) -> Union[str, None]: """ Get the server message from the response, if you need the error message please the property error_message. This channel is only relevant for - deprecation messages or other meta information from Xata + deprecation messages or other meta information from Xata. :returns str | None """ return self.headers["x-xata-message"] if "x-xata-message" in self.headers else None