From 7dcec8ed7d6c1441d7609b29662ab6aa61d2ad35 Mon Sep 17 00:00:00 2001 From: stainless-bot Date: Tue, 30 Jul 2024 14:50:23 +0000 Subject: [PATCH] chore: fix error message import example --- src/python_intercom/_base_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/python_intercom/_base_client.py b/src/python_intercom/_base_client.py index f1d16835..32b776d4 100644 --- a/src/python_intercom/_base_client.py +++ b/src/python_intercom/_base_client.py @@ -363,7 +363,7 @@ def __init__( if max_retries is None: # pyright: ignore[reportUnnecessaryComparison] raise TypeError( - "max_retries cannot be None. If you want to disable retries, pass `0`; if you want unlimited retries, pass `math.inf` or a very high number; if you want the default behavior, pass `python-intercom.DEFAULT_MAX_RETRIES`" + "max_retries cannot be None. If you want to disable retries, pass `0`; if you want unlimited retries, pass `math.inf` or a very high number; if you want the default behavior, pass `python_intercom.DEFAULT_MAX_RETRIES`" ) def _enforce_trailing_slash(self, url: URL) -> URL: