<!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
    „á§\=  ã                   @   sD   d dl mZ d dlmZ d dlmZ d dlmZ G dd„ deƒZdS )é    )ÚHub)Ú
ContextVar)ÚIntegration©Úadd_global_event_processorc                   @   s$   e Zd ZdZdd„ Zedd„ ƒZdS )ÚDedupeIntegrationZdedupec                 C   s   t dƒ| _d S )Nz	last-seen)r   Ú
_last_seen)Úself© r
   úO/opt/alt/python38/lib/python3.8/site-packages/sentry_sdk/integrations/dedupe.pyÚ__init__   s    zDedupeIntegration.__init__c                  C   s   t dd„ ƒ} d S )Nc                 S   sT   t j t¡}|d k	rP| dd ¡}|d k	rP|d }|j d ¡|krDd S |j |¡ | S )NÚexc_infoé   )r   ÚcurrentZget_integrationr   Úgetr   Úset)ÚeventZhintZintegrationr   Úexcr
   r
   r   Ú	processor   s    z/DedupeIntegration.setup_once.<locals>.processorr   )r   r
   r
   r   Ú
setup_once   s    zDedupeIntegration.setup_onceN)Ú__name__Ú
__module__Ú__qualname__Ú
identifierr   Ústaticmethodr   r
   r
   r
   r   r      s   r   N)Zsentry_sdk.hubr   Zsentry_sdk.utilsr   Zsentry_sdk.integrationsr   Zsentry_sdk.scoper   ZAnyÚDictÚOptionalr   r
   r
   r
   r   Ú<module>   s   