+
    Žvjð  ã                  ó`   a € 0 t $ R t^ RIHt ^ RIHt R R lt]! ]4      tR]	R&   R
R R	 llt
R# )a±  Versioning utilities for the Mailjet REST API client.

This module defines the current version of the Mailjet client and provides
a helper function, `get_version`, to retrieve the version as a formatted string.

Attributes:
    VERSION (tuple[int, int, int]): A tuple representing the major, minor, and patch
    version of the package.

Functions:
    get_version: Returns the version as a string in the format "major.minor.patch".
)Úannotations)Ú__version__c               ó    € V ^8„  d   QhRRRR/# )é   Úversion_strÚstrÚreturnútuple[int, ...]© )Úformats   "Ú^/var/www/html/daimler-pipeline/venv/lib/python3.14/site-packages/mailjet_rest/utils/version.pyÚ__annotate__r      s   € ÷ #ñ #˜sð # ñ #ó    c                óø   €  V P                  R4      p\        V^ ,          4      p\        V^,          4      p\        RP                  R V^,           4       4      4      pW#V3#   \        \        3 d    Ru # i ; i)z³Clean package version string into 3 item tuple.

Parameters:
version_str (str): A string of the package version.

Returns:
tuple: A tuple representing the version of the package.
Ú.Ú c              3  óT   "  € T F  qP                  4       '       g   K  Vx € K   	  R # 5i©N)Úisdigit)Ú.0Úcs   & r   Ú	<genexpr>Ú clean_version.<locals>.<genexpr>!   s   é € Ð?¡x !·9±9·;ŸAšA£xùs   ‚(ž
()é    r   r   )ÚsplitÚintÚjoinÚ
IndexErrorÚ
ValueError)r   ÚpartsÚmajorÚminorÚpatchs   &    r   Úclean_versionr#      sv   € ð	#Ø×!Ñ! #Ó&ˆÜ�E˜!•H“ˆÜ�E˜!•H“ˆä�B—G‘GÑ? u¨Q¦xÓ?Ó?Ó@ˆð ˜UÐ"Ð"øô œ
Ð#ô ØŠðús   ‚AA# Á#A9Á8A9r	   ÚVERSIONNc               ó    € V ^8„  d   QhRRRR/# )r   Úversionztuple[int, ...] | Noner   r   r
   )r   s   "r   r   r   ,   s   € ÷ 4ñ 4Ð/ð 4¸3ñ 4r   c                ó~   € V f   \         p \        V 4      ^8w  d   Rp\        V4      hRP                  ! R V  4       !  # )a¹  Calculate package version based on a 3 item tuple.

In addition, verify that the tuple contains 3 items.

Parameters:
version (tuple[int, ...], optional): A tuple representing the version of the package.
    If not provided, the function will use the VERSION constant.
    Default is None.

Returns:
str: The version as a string in the format "major.minor.patch".

Raises:
ValueError: If the provided tuple does not contain exactly 3 items.
z(The tuple 'version' must contain 3 itemsz{}.{}.{}c              3  ó$   "  € T F  qx € K  	  R # 5ir   r
   )r   Úxs   & r   r   Úget_version.<locals>.<genexpr>A   s   é € Ð2©' Qœq«'ùs   ‚)r$   Úlenr   r   )r&   Úmsgs   & r   Úget_versionr-   ,   s@   € ð  ‚ÜˆÜ
ˆ7ƒ|�qÔØ8ˆÜ˜‹oÐØ×ÒÑ2©'Ó2Ñ3Ð3r   r   )Ú__conditional_annotations__Ú__doc__Ú
__future__r   Úmailjet_rest._versionr   Úpackage_versionr#   r$   Ú__annotations__r-   )r.   s   @r   Ú<module>r4      s3   øðôõ #å @õ#ñ, )¨Ó9€ˆÓ 9÷4ñ 4r   