ok
Direktori : /opt/cloudlinux/venv/lib/python3.11/site-packages/xray/analytics/__pycache__/ |
Current File : //opt/cloudlinux/venv/lib/python3.11/site-packages/xray/analytics/__pycache__/utils.cpython-311.pyc |
� ��fG � �: � d dl Z d dlmZ dedededededdfd �ZdS ) � N)�report_analytics�analytics_data� advice_id�source�result�action�returnc �Z � |�dS d|z } t j |� � }|� d� � r |d dk rt | |||� � dS |� d� � dk rt | ||d� � dS dS # t t f$ r t | ||d� � Y dS w xY w)z' Report advice action or error N�advice_r �success�PAYMENT_REQUIRED�advice_error)�json�loads�getr � ValueError� TypeError)r r r r r �event� result_objects �K/opt/cloudlinux/venv/lib64/python3.11/site-packages/xray/analytics/utils.py�report_usage_action_or_errorr s� � � �~������E� P�� �6�*�*� � ���X�&�&� P�=��+B�i�+O�+O��^�Y���F�F�F�F�F� � � �x� (� (�,>� >� >��^�Y���O�O�O�O�O� ?� >�� � �"� L� L� L����F�N�K�K�K�K�K�K�L���s �B �#B*�)B*)r �xray.analyticsr �str�intr � � r �<module>r sz �� ���� +� +� +� +� +� +�P�� P�� P�(+�P�58�P�(+�P�04�P� P� P� P� P� Pr