U ì·€g4ã@shddlZddlmZddlmZddlmZddlmZerTddlm Z ddl m Z Gdd „d eƒZ dS) éN)Ú Integration©Úadd_global_event_processor)Ú_get_installed_modules)Ú TYPE_CHECKING)ÚAny)ÚEventc@seZdZdZedd„ƒZdS)ÚModulesIntegrationÚmodulescCstdd„ƒ}dS)NcSs6| d¡dkr|St ¡ t¡dkr(|Stƒ|d<|S)NÚtypeZ transactionr )ÚgetÚ sentry_sdkZ get_clientZget_integrationr r)ÚeventÚhint©rúM/opt/hc_python/lib/python3.8/site-packages/sentry_sdk/integrations/modules.pyÚ processors  z0ModulesIntegration.setup_once..processorr)rrrrÚ setup_onceszModulesIntegration.setup_onceN)Ú__name__Ú __module__Ú __qualname__Ú identifierÚ staticmethodrrrrrr sr ) r Zsentry_sdk.integrationsrZsentry_sdk.scoperZsentry_sdk.utilsrÚtypingrrZsentry_sdk._typesrr rrrrÚs