/usr/lib/python3/dist-packages/uaclient/api/u/pro/packages/updates/__pycache__
Edit: /usr/lib/python3/dist-packages/uaclient/api/u/pro/packages/updates/__pycache__/v1.cpython-310.pyc (4757B)
o
Ki @ s d dl mZ d dlmZ d dlmZ d dlmZ d dlm Z m
Z
mZmZm
Z
d dlmZmZmZmZ G dd de ZG d d
d
e ZG dd de eZd
efddZded
efddZeddeddZdddeg dddZdS ) )List)APIEndpoint)AdditionalInfo)UAConfig)
DataObjectFieldIntDataValueStringDataValue data_list)create_updates_listfilter_updates get_installed_packages_by_originget_ua_infoc
@ sj e Zd Zededdededdededdeded ded
eddgZdedededed
ef
dd
ZdS )
UpdateSummarynum_updatesz Total count of available updatesdocnum_esm_apps_updatesz,Count of available updates from ``esm-apps``num_esm_infra_updatesz-Count of available updates from ``esm-infra``num_standard_security_updatesz8Count of available updates from the ``-security`` pocketnum_standard_updatesz7Count of available updates from the ``-updates`` pocketc C s" || _ || _|| _|| _|| _d S Nr r r r r )selfr r r r r r H/usr/lib/python3/dist-packages/uaclient/api/u/pro/packages/updates/v1.py__init__0 s
zUpdateSummary.__init__N)__name__
__module____qualname__r r fieldsintr r r r r r sH r c @ sz e Zd Zededdededdededdeded ded
eddeded
dgZdedededed
edefddZ dS )
UpdateInfo
download_sizez%Download size for the update in bytesr originz#Where the update is downloaded frompackagez!Name of the package to be updatedprovided_byz!Service which provides the updatestatusz0Whether this update is ready for download or notversionzVersion of the updatec C s( || _ || _|| _|| _|| _|| _d S r r# r$ r% r&