+
    =l jö  ã                   ó¾   € ^ RI Ht ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	H
t
Ht ^ RIHt  ! R R]	]4      tR	 R
 ltR R lt]! RR]RR7      tRRRRRRR]R. RRRR/tR# )é    )ÚOptional)ÚAPIEndpoint)ÚAdditionalInfo)ÚUAConfig)Ú
DataObjectÚFieldÚStringDataValue)Úapt_news_raw_filec                   óL   a € ] tR t^
t o ]! R]RRR7      .tV 3R lR ltRtV t	R# )	ÚCurrentNewsResultÚcurrent_newsFzÃThe current APT News to be displayed for the system. This could be a str with up to three lines (i.e. up to two ``\n`` characters). If there is no APT News to be displayed, this will be ``None``.)ÚrequiredÚdocc                ó0   <€ V ^8„  d   QhRS[ S[,          /# )é   r   )r   Ústr)ÚformatÚ__classdict__s   "€ÚI/usr/lib/python3/dist-packages/uaclient/api/u/apt_news/current_news/v1.pyÚ__annotate__ÚCurrentNewsResult.__annotate__   s   ø€ ÷ )ñ )©±­ñ )ó    c               ó   € Wn         R # ©N©r   )Úselfr   s   &$r   Ú__init__ÚCurrentNewsResult.__init__   s   € Ø(Ör   r   N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__r   r	   Úfieldsr   Ú__static_attributes__Ú__classdictcell__)r   s   @r   r   r   
   s,   ø‡ € áØØØð5ô
	
ð€F÷)ö )r   r   c                ó$   € V ^8„  d   QhR\         /# )r   Úreturn)r   )r   s   "r   r   r      s   € ÷ %ñ %Ô'ñ %r   c                  ó(   € \        \        4       4      # r   )Ú_current_newsr   © r   r   r   r      s   € Üœ›Ó$Ð$r   c                ó0   € V ^8„  d   QhR\         R\        /# )r   Úcfgr'   )r   r   )r   s   "r   r   r   !   s   € ÷ Dñ D”xð DÔ$5ñ Dr   c                ó@   € \        \        P                  ! 4       R7      # )zR
This endpoint returns the current APT News that gets displayed in
`apt upgrade`.
r   )r   r
   Úread)r,   s   &r   r)   r)   !   s   € ô
 Ô*;×*@Ò*@Ó*BÔCÐCr   Úv1ÚCurrentNewsN)ÚversionÚnameÚfnÚoptions_clsÚintroduced_inÚ29Úrequires_networkFÚexample_pythonzh
from uaclient.api.u.apt_news.current_news.v1 import current_news

result = current_news().current_news
Úresult_classÚ
exceptionsÚexample_cliz"pro api u.apt_news.current_news.v1Úexample_jsonzx
{
    "current_news":"This is a news message.\nThis is the second line of the message.\nAnd this is the third line."
}
)Útypingr   Úuaclient.api.apir   Úuaclient.api.data_typesr   Úuaclient.configr   Úuaclient.data_typesr   r   r	   Úuaclient.files.state_filesr
   r   r   r)   ÚendpointÚ_docr*   r   r   Ú<module>rE      s�   ðÝ å (Ý 2Ý $ß BÑ BÝ 8ô)˜
 Nô )õ&%õDñ ØØ	ØØô	€ð �TØ˜Øð ð
 Ð%Ø�"ØÐ7Øð ð‚r   