%PDF- %PDF-
Direktori : /lib/python3/dist-packages/cloudinit/sources/helpers/__pycache__/ |
Current File : //lib/python3/dist-packages/cloudinit/sources/helpers/__pycache__/azure.cpython-312.pyc |
� �fj� � �N � d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlmZ d dl m Z d dl mZm Z d dlm Z mZmZmZmZ d dlmZ d dlmZ d dlmZmZmZmZmZmZ d d lmZ d d lm Z ejB e"� Z#dZ$dZ%d Z&dZ'dZ( ejR ddd�� Z* ed� Z+de de+f de de+f fd�Z,e,d� � Z-e,d� � Z.dd�de/dej` fd�Z1d� Z2e,d� � Z3ed � � Z4e,dd!d"d#�d$e/d%e5d&ee6 d'e7d(e7dejp fd)�� Z9d*e/d+e/d,e/de6fd-�Z: G d.� d/� Z; G d0� d1e<� Z= G d2� d3� Z> G d4� d5� Z? G d6� d7� Z@ G d8� d9� ZAe, dGd:e/d;ej� d<eee/ d=ee/ fd>�� ZCe,d:e/d?d@fdA�� ZDdB� ZE G dC� dDe<� ZF G dE� dF� ZGy)H� N)�contextmanager)�datetime)�sleep�time)�Callable�List�Optional�TypeVar�Union)�ElementTree)�escape)�distros�subp� temp_utils� url_helper�util�version)�events)�errorsz 168.63.129.16�boot-telemetryzsystem-info� diagnostic� compressedzazure-dsz initialize reporter for azure dsT)�name�description�reporting_enabled�T�func.�returnc � � � � fd�}|S )Nc � �� t j �j �j t �� 5 �| i |��cd d d � S # 1 sw Y y xY w)N�r r �parent)r �ReportEventStack�__name__�azure_ds_reporter)�args�kwargsr s ��A/usr/lib/python3/dist-packages/cloudinit/sources/helpers/azure.py�implz)azure_ds_telemetry_reporter.<locals>.impl'