§ x<ˆj>H ã óô — d Z ddlZddlmZmZ ddlmZmZmZ ddlm Z m Z mZ G d„ d¦ « Zd.d „Z G d „ d¦ « Z G d„ d ¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z G d„ de¦ « Z eee¦ « eeeddd¬¦ « Ze ¦ « eeeddd¬¦ « Ze ¦ « eeedd d!¬¦ « Ze ¦ « ed"ed#d$d%¬¦ « Ze ¦ « ed&ed'd(d)¬¦ « Ze ¦ « ed*ed+d,d-¬¦ « Ze ¦ « dS )/z1Implementation of the Range type and adaptation é N)ÚProgrammingErrorÚInterfaceError)Ú ISQLQuoteÚadaptÚregister_adapter)Únew_typeÚnew_array_typeÚ register_typec ó — e Zd ZdZdZdd„Zd„ Zd„ Zed „ ¦ « Z ed „ ¦ « Z ed„ ¦ « Zed„ ¦ « Zed „ ¦ « Z ed„ ¦ « Zed„ ¦ « Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ Zd„ ZdS )ÚRangea… Python representation for a PostgreSQL |range|_ type. :param lower: lower bound for the range. `!None` means unbound :param upper: upper bound for the range. `!None` means unbound :param bounds: one of the literal strings ``()``, ``[)``, ``(]``, ``[]``, representing whether the lower or upper bounds are included :param empty: if `!True`, the range is empty ©Ú_lowerÚ_upperÚ_boundsNú[)Fc óŽ — |s-|dvrt d|›�¦ « ‚|| _ || _ || _ d S d x| _ x| _ | _ d S )N)r z(]z()z[]zbound flags not valid: )Ú ValueErrorr r r )ÚselfÚlowerÚupperÚboundsÚemptys úc/builddir/build/BUILD/cloudlinux-venv-1.0.12/venv/lib64/python3.11/site-packages/psycopg2/_range.pyÚ__init__zRange.__init__/ s_ € Øð <ØÐ5Ð5Ð5Ý Ð!E¸6Ð!EÐ!EÑFÔFÐFàˆDŒK؈DŒKØ!ˆDŒLˆLˆLà7;Ð;ˆDŒKÐ;˜$œ+¨¬¨¨ó c ó� — | j €| j j › d�S d | j j | j | j | j ¦ « S )Nz(empty=True)z{}({!r}, {!r}, {!r}))r Ú __class__Ú__name__Úformatr r ©r s r Ú__repr__zRange.__repr__: sJ € ØŒ<ÐØ”nÔ-Ð;Ð;Ð;Ð;à)×0Ò0°´Ô1HØ”˜Tœ[¨$¬,ñ8ô 8ð 8r c óÀ — | j €dS | j d t | j ¦ « dt | j ¦ « | j d g}d |¦ « S )Nr r z, é Ú )r Ústrr r Újoin)r Úitemss r Ú__str__z Range.__str__A sY € ØŒ<ÐØ�7ð ŒL˜ŒOÝ�”ÑÔØÝ�”ÑÔØŒL˜ŒOð ˆð �wŠw�u‰~Œ~Ðr c ó — | j S )z:The lower bound of the range. `!None` if empty or unbound.)r r s r r zRange.lowerN ó € ð Œ{Ðr c ó — | j S )z:The upper bound of the range. `!None` if empty or unbound.)r r s r r zRange.upperS r* r c ó — | j du S )z`!True` if the range is empty.N©r r s r Úisemptyz Range.isemptyX s € ð Œ|˜tÐ#Ð#r c ó&