U
    Lk7gp  ã                   @   s8   d Z ddlmZ dZdZdZdZdZdZd	Z	d
d„ Z
dS )zL
Helper functions, constants, and types to aid with MongoDB version support
é    )Úget_connection)é   é   )r   é   )r   é   )r   r   )é   r   )r   r   )é   r   c                  C   s   t ƒ  ¡ d dd… } t| ƒS )zgReturn the version of the default connected mongoDB (first 2 digits)

    :return: tuple(int, int)
    ZversionArrayNr   )r   Zserver_infoÚtuple)Úversion_list© r   ú?/tmp/pip-unpacked-wheel-n1etwkgt/mongoengine/mongodb_support.pyÚget_mongodb_version   s    r   N)Ú__doc__Zmongoengine.connectionr   Z
MONGODB_34Z
MONGODB_36Z
MONGODB_42Z
MONGODB_44Z
MONGODB_50Z
MONGODB_60Z
MONGODB_70r   r   r   r   r   Ú<module>   s   