+
     g7                         ^ RI Ht ^ 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]]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3.RRRR /tR# )!    )messages)APIEndpoint)AdditionalInfo)APIError)UAConfig)
DataObjectFieldStringDataValue)get_versionc                   .    ] tR t^
t]P
                  tRtR# )VersionError N)__name__
__module____qualname____firstlineno__r   E_API_VERSION_ERROR_formatted_msg__static_attributes__r       ?/usr/lib/python3/dist-packages/uaclient/api/u/pro/version/v1.pyr   r   
   s    11Nr   r   c                   J   a  ] tR t^t o ]! R]RR7      .tV 3R lR ltRtV t	R# )VersionResultinstalled_versionzThe current installed version)docc                    < V ^8  d   QhRS[ /# )   r   )str)format__classdict__s   "r   __annotate__VersionResult.__annotate__   s     3 3S 3r   c                   Wn         R # Nr   )selfr   s   &$r   __init__VersionResult.__init__   s    !2r   r%   N)
r   r   r   r   r	   r
   fieldsr'   r   __classdictcell__)r    s   @r   r   r      s'     /	
F3 3r   r   c                $    V ^8  d   QhR\         /# )r   return)r   )r   s   "r   r!   r!      s          r   c                  (    \        \        4       4      # r$   )_versionr   r   r   r   versionr/      s    HJr   c                0    V ^8  d   QhR\         R\        /# )r   cfgr,   )r   r   )r   s   "r   r!   r!      s     4 4( 4} 4r   c                     \        4       p\	        TR7      #   \         d   p\        \        T4      R7      hRp?ii ; i)z7
This endpoint shows the installed Pro Client version.
)	error_msgNr%   )r   	Exceptionr   r   r   )r1   r/   es   &  r   r.   r.      s<    -- 733  -SV,,-s   
 =8=v1VersionN)r/   namefnoptions_clsintroduced_inz27.11requires_networkFexample_pythonzG
from uaclient.api.u.pro.version.v1 import version

result = version()
result_class
exceptionsz2Raised if the Client cannot determine the version.example_clizpro api u.pro.version.v1example_jsonz+
{
    "installed_version": "32.3~24.04"
}
)uaclientr   uaclient.api.apir   uaclient.api.data_typesr   uaclient.api.errorsr   uaclient.configr   uaclient.data_typesr   r	   r
   uaclient.versionr   r   r   r/   r.   endpoint_docr   r   r   <module>rK      s     ( 2 ( $ B B (28 2
3J 
3 4 		 W 
 M	KL - r   