MCPcopy Create free account
hub / github.com/getsentry/sentry / from_request

Method from_request

tests/sentry/auth/test_access.py:71–74  ·  view source on GitHub ↗
(self, *args, **kwds)

Source from the content-addressed store, hash-verified

69 return silo_from_user(*args, **kwds)
70
71 def from_request(self, *args, **kwds):
72 if SiloMode.get_current_mode() == SiloMode.MONOLITH:
73 return access.from_request(*args, **kwds)
74 return silo_from_request(*args, **kwds)
75
76 @assume_test_silo_mode(SiloMode.CONTROL)
77 def create_api_key(self, organization: Organization, **kwds):

Calls 2

silo_from_requestFunction · 0.85
get_current_modeMethod · 0.80

Tested by

no test coverage detected