From c9eca28a22b3fd355bac6fdeebe549dd27345d65 Mon Sep 17 00:00:00 2001 From: alexey Date: Sat, 26 Apr 2025 10:38:12 +0300 Subject: [PATCH] Cms Performance marked as deprecated --- hubspot/discovery/cms/performance/discovery.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hubspot/discovery/cms/performance/discovery.py b/hubspot/discovery/cms/performance/discovery.py index 3b068ad4..0f5567e3 100644 --- a/hubspot/discovery/cms/performance/discovery.py +++ b/hubspot/discovery/cms/performance/discovery.py @@ -1,3 +1,4 @@ +import warnings import hubspot.cms.performance as api_client from ...discovery_base import DiscoveryBase @@ -5,4 +6,9 @@ class Discovery(DiscoveryBase): @property def public_performance_api(self) -> api_client.PublicPerformanceApi: + warnings.warn( + "cms.public_performance_api() is deprecated and will be removed in a future version.", + DeprecationWarning, + stacklevel=2 + ) return self._configure_api_client(api_client, "PublicPerformanceApi")