%PDF- %PDF-
Direktori : /lib/python3/dist-packages/uaclient/__pycache__/ |
Current File : //lib/python3/dist-packages/uaclient/__pycache__/status.cpython-312.pyc |
� �Hcf,x � � � d dl Z d dlZd dlZd dlZd dlmZ d dlmZmZ d dlm Z m Z mZmZm Z d dlmZmZmZmZmZmZmZ d dlmZ d dlmZmZ d dlmZmZ d d lmZm Z d d l!m"Z" d dl#m$Z$m%Z%m&Z&m'Z' d dl(m)Z)m*Z*m+Z+ d d l,m-Z- d dl.m/Z/ ej` � Z1 ejd ejf e4� � Z5dZ6dZ7dZ8e'jr jt e/jv ejx z e/jz z e'j| jt e/j~ ej� z e/jz z e'j� jt e/j� ej� z e/jz z e'j� jt e/j� ej� z e/jz z e'j� jt e/j� ej� z e/jz z e$j� jt e/jv ej� z e/jz z e$j� jt e/j� ej� z e/jz z e6e/jv ej� z e/jz z e7e/jv ej� z e/jz z e8e/jv ej� z e/jz z i ZPdZQdZRdj� ej� ej� ej� ej� �� ZXdZYdZZi dd�dd�d ej� � �dd�dd�d d�d!d�d"d�d#g �d$e&j| jt �d%ej� �d&i �d'g �d(d)d)d)g e'j� jt d*��d+d)d)d)g d,��d-d�Z]d.� Z^d/e e_e f fd0�Z`d1ed/e e_e f fd2�Zad1ed/e e_e f fd3�Zbd/e e_e f fd4�Zcd/e e_e f fd5�ZddHd1ed6eed/e e_e f fd7�Zfd8ee e_e f d9e_d/e e_e f fd:�Zg dHd;e_d6eed/e e e_e f ehf fd<�Zid=e_d/e_fd>�Zjd?eee_ d/e_fd@�Zk dIdAee e_e_f dBee_ d/ee_ fdC�Zld!ee d/e_fdD�ZmdHdEe e_e f d6eed/e_fdF�ZndG� Zoy)J� N)�OrderedDict)�datetime�timezone)�Any�Dict�List�Optional�Tuple)�event_logger� exceptions� livepatch�lock�messages�util�version)�_is_attached)�UA_CONFIGURABLE_KEYS�UAConfig)�get_available_resources�get_contract_information)�ATTACH_FAIL_DATE_FORMAT�PRINT_WRAP_WIDTH)�entitlement_factory)�ContractStatus�UserFacingAvailability�UserFacingConfigStatus�UserFacingStatus)�notices�state_files�user_config_file)�Notice)�TxtColor� essential�standard�advancedz({name: <17}{available: <11}{description}zJ{name: <17}{available: <11}{entitled: <11}{auto_enabled: <16}{description}z4{name: <17}{entitled: <10}{status: <13}{description}��name�entitled�status�descriptionz4{name: <17}{entitled: <19}{status: <22}{description}z={marker} {name: <15}{entitled: <19}{status: <22}{description}�_doczUContent provided in json response is currently considered Experimental and may change�_schema_versionz0.1r � machine_id�attachedF� effective�expires�origin�services�execution_status�execution_details�featuresr �contract� ��idr'