<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css" rel="stylesheet"
        integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css"
        integrity="sha512-SzlrxWUlpfuzQ+pcUCosxcglQRNAq/DZjVsC0lE40xsADsfeQoEypE+enwcOiGjk/bSuGGKHEyjSoQ1zVisanQ=="
        crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
</html>
U
    \                  	   @   s~   d Z ddlmZ ddlmZ ddlmZ ddlmZ e Ze Zdd Zedd	d
dddddZ[dddZG dd deZdS )zThis package    )absolute_import)Lock)	iteritems)loggerc                     s.    fdd} D ]}| j d|7  _ q|S )Nc                  3   s:   ddl m}   D ]$}|dd\}}t| ||V  qdS )z@Returns an iterator of the default integration classes:
        r   )import_module.   N)	importlibr   rsplitgetattr)r   import_stringmoduleclsimport_strings Q/opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/integrations/__init__.pyiter_default_integrations   s    zJ_generate_default_integrations_iterator.<locals>.iter_default_integrationsz
- `{}`)__doc__format)r   r   r   r   r   r   '_generate_default_integrations_iterator   s    


r   z2sentry_sdk.integrations.logging.LoggingIntegrationz0sentry_sdk.integrations.stdlib.StdlibIntegrationz8sentry_sdk.integrations.excepthook.ExcepthookIntegrationz0sentry_sdk.integrations.dedupe.DedupeIntegrationz0sentry_sdk.integrations.atexit.AtexitIntegrationz2sentry_sdk.integrations.modules.ModulesIntegrationz,sentry_sdk.integrations.argv.ArgvIntegrationz6sentry_sdk.integrations.threading.ThreadingIntegrationTc              
   C   s   t dd | pdD } td| |rLt D ]}|j| kr,| }|| |j< q,t| D ]\}}tr |tkrtd| zt|	  W n< t
k
r   t|dddk	rtd| |  n Y nX t| W 5 Q R X qT| D ]}td	| q| S )
zGiven a list of integration instances this installs them all.  When
    `with_defaults` is set to `True` then all default integrations are added
    unless they were already provided before.
    c                 s   s   | ]}|j |fV  qd S )N)
identifier).0integrationr   r   r   	<genexpr>>   s    z%setup_integrations.<locals>.<genexpr>r   z+Setting up integrations (with default = %s)z0Setting up previously not enabled integration %sinstallNzCIntegration %s: The install method is deprecated. Use `setup_once`.zEnabling integration %s)dictr   debugr   r   r   _installer_lock_installed_integrationstype
setup_onceNotImplementedErrorr   warnr   add)ZintegrationsZwith_defaultsZintegration_clsinstancer   r   r   r   r   setup_integrations8   s<    

 
r&   c                   @   s$   e Zd ZdZdZdZedd ZdS )IntegrationzBaseclass for all integrations.

    To accept options for an integration, implement your own constructor that
    saves those options on `self`.
    Nc                   C   s
   t  dS )a`  
        Initialize the integration.

        This function is only called once, ever. Configuration is not available
        at this point, so the only thing to do here is to hook into exception
        handlers, and perhaps do monkeypatches.

        Inside those hooks `Integration.current` can be used to access the
        instance again.
        N)r"   r   r   r   r   r!   q   s    zIntegration.setup_once)__name__
__module____qualname__r   r   r   staticmethodr!   r   r   r   r   r'   d   s
   r'   N)T)r   
__future__r   	threadingr   Zsentry_sdk._compatr   Zsentry_sdk.utilsr   IteratorDictZListSetZTypeCallabler   setr   r   r   r&   objectr'   r   r   r   r   <module>   s(   
,