Browse Source

ref(hc): Remove pending_silo_endpoint decorator (#58448)

https://github.com/getsentry/getsentry/pull/11886 removed the last
usages from getsentry.
Matt Duncan 1 year ago
parent
commit
fe513d3729
1 changed files with 0 additions and 9 deletions
  1. 0 9
      src/sentry/api/base.py

+ 0 - 9
src/sentry/api/base.py

@@ -58,7 +58,6 @@ __all__ = [
     "StatsMixin",
     "control_silo_endpoint",
     "region_silo_endpoint",
-    "pending_silo_endpoint",
 ]
 
 from ..services.hybrid_cloud import rpcmetrics
@@ -689,14 +688,6 @@ If a request is received and the application is not in REGION
 mode 404s will be returned.
 """
 
-# Use this decorator to mark endpoints that still need to be marked as either
-# control_silo_endpoint or region_silo_endpoint. Marking a class with
-# pending_silo_endpoint keeps it from tripping SiloLimitCoverageTest, while ensuring
-# that the test will fail if a new endpoint is added with no decorator at all.
-# Eventually we should replace all instances of this decorator and delete it.
-pending_silo_endpoint = EndpointSiloLimit()
-
-
 all_silo_endpoint = EndpointSiloLimit(SiloMode.CONTROL, SiloMode.REGION, SiloMode.MONOLITH)
 """
 Apply to endpoints that are available in all silo modes.