+
    ûäûjêN  ã                  óæ  € ^ RI Ht ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIHt ^ RIH	t	 ^ R	IH
t
 ^ R
IHt ^RIHt ^RIHt ^RIHt ^RIHt ^RIHt ^RIHt ^RIHt ^RIHt ^RIHt ^RIHt ^RIHt ^RIHt ^RIHt ]
'       d1   ^RI H!t! ^RI H"t" ^RI#H$t$ ^RI#H%t% ^RI&H't' ^RI(H)t) ^RIH*t* ^RIH+t+ ]! R ]R!7      t, ! R" R#]PJ                  ],,          4      t- ! R$ R%]4      t.R& t/ ! R' R(]P`                  ],,          4      t1 ! R) R*]14      t2 ! R+ R,]14      t3 ! R- R.]14      t4 ! R/ R0]14      t5 ! R1 R2]14      t6 ! R3 R4]14      t7R5 R6 lt8 ! R7 R8]]PH                  4      t9R9# ):é    )Úannotations)ÚAny)ÚIterable)ÚList)ÚOptional)Úoverload)ÚSequence)ÚTuple)ÚTYPE_CHECKING)ÚTypeVar)Útypes)ÚARRAY)Úexc)Ú	coercions)Úelements)Ú
expression)Ú	functions)Úroles)Úschema)ÚSyntaxExtension)ÚColumnCollectionConstraint)ÚTEXT)ÚInternalTraversal)Ú_ColumnExpressionArgument)Ú_DDLColumnArgument)ÚClauseElement)ÚColumnElement)ÚOperatorType)Ú
FromClause)Ú_CloneCallableType)Ú_TraverseInternalsTypeÚ_T)Úboundc                  ó  € ] tR t^/t$ RtR tRtR]P                  3R]P                  3R]P                  3.t
R]R&   ]R R	 l4       t]R
 R l4       tR R ltRR R lltR R lt]P"                  3R R llt]R R l4       tRtR# )Úaggregate_order_bya¥  Represent a PostgreSQL aggregate order by expression.

E.g.::

    from sqlalchemy.dialects.postgresql import aggregate_order_by

    expr = func.array_agg(aggregate_order_by(table.c.a, table.c.b.desc()))
    stmt = select(expr)

would represent the expression:

.. sourcecode:: sql

    SELECT array_agg(a ORDER BY b DESC) FROM table;

.. legacy:: An improved dialect-agnostic form of this function is now
   available in Core by calling the
   :meth:`_functions.Function.aggregate_order_by` method on any function
   defined by the backend as an aggregate function.

.. seealso::

    :func:`_sql.aggregate_order_by` - Core level function

    :class:`_functions.array_agg`

Ú
postgresqlÚtargetÚtypeÚorder_byr!   Ú_traverse_internalsc               ó    € V ^8„  d   QhRRRR/# )é   r'   zColumnElement[_T]r)   ú_ColumnExpressionArgument[Any]© )Úformats   "Ú^C:\Ai_Coding\apps\studio\ComfyUI\.venv\Lib\site-packages\sqlalchemy\dialects\postgresql\ext.pyÚ__annotate__Úaggregate_order_by.__annotate__V   s   € ÷ ñ à!ðð 2ñó    c                	ó   € R # ©Nr.   ©Úselfr'   r)   s   &&*r0   Ú__init__Úaggregate_order_by.__init__U   ó   € ñ
 r3   c               ó    € V ^8„  d   QhRRRR/# ©r,   r'   z_ColumnExpressionArgument[_T]r)   r-   r.   )r/   s   "r0   r1   r2   ]   s   € ÷ ñ à-ðð 2ñr3   c                	ó   € R # r5   r.   r6   s   &&*r0   r8   r9   \   r:   r3   c               ó    € V ^8„  d   QhRRRR/# r<   r.   )r/   s   "r0   r1   r2   c   s   € ÷ ñ à-ðð 2ñr3   c                	ó”  € \         P                  ! \        P                  V4      V n        V P                  P
                  V n        \        V4      pV  V^ 8X  d   \        R4      hV^8X  d4   \         P                  ! \        P                  V^ ,          4      V n        R# \        P                  ! VR\        P                  / V n        R# )r   z)at least one ORDER BY element is requiredÚ_literal_as_text_roleN)r   Úexpectr   ÚExpressionElementRoler'   r(   ÚlenÚ	TypeErrorr)   r   Ú
ClauseList)r7   r'   r)   Ú_lobs   &&* r0   r8   r9   c   s    € ô
 &/×%5Ò%5Ü×'Ñ'¨ó&
ˆŒð —K‘K×$Ñ$ˆŒ	ä�8‹}ˆÙØ�1Œ9ÜÐGÓHÐHØ�QŒYÜ%×,Ò,Ü×+Ñ+¨X°a­[óˆDŽMô %×/Ò/ØðÜ16×1LÑ1LñˆDŽMr3   Nc               ó    € V ^8„  d   QhRRRR/# )r,   ÚagainstzOptional[OperatorType]Úreturnr   r.   )r/   s   "r0   r1   r2   z   s   € ÷ ñ Ø-ðà	ñr3   c                	ó   € V # r5   r.   )r7   rH   s   &&r0   Ú
self_groupÚaggregate_order_by.self_groupz   s	   € ð ˆr3   c               ó    € V ^8„  d   QhRRRR/# )r,   Úkwargsr   rI   zIterable[ClauseElement]r.   )r/   s   "r0   r1   r2      s   € ÷ *ñ * Sð *Ð-Dñ *r3   c                	ó2   € V P                   V P                  3# r5   ©r'   r)   )r7   rN   s   &,r0   Úget_childrenÚaggregate_order_by.get_children   s   € Ø�{‰{˜DŸM™MÐ)Ð)r3   c               ó$   € V ^8„  d   QhRRRRRR/# )r,   Úcloner    Úkwr   rI   ÚNoner.   )r/   s   "r0   r1   r2   ‚   s$   € ÷ 3ñ 3Ø'ð3ØADð3à	ñ3r3   c                	óf   € V! V P                   3/ VB V n         V! V P                  3/ VB V n        R # r5   rP   )r7   rT   rU   s   &&,r0   Ú_copy_internalsÚ"aggregate_order_by._copy_internals‚   s.   € ñ ˜DŸK™KÑ.¨2Ñ.ˆŒÙ˜dŸm™mÑ2¨rÑ2ˆŽr3   c               ó   € V ^8„  d   QhRR/# )r,   rI   zList[FromClause]r.   )r/   s   "r0   r1   r2   ‰   s   € ÷ Gñ GÐ/ñ Gr3   c                	ód   € V P                   P                  V P                  P                  ,           # r5   )r'   Ú_from_objectsr)   )r7   s   &r0   r\   Ú aggregate_order_by._from_objectsˆ   s!   € à�{‰{×(Ñ(¨4¯=©=×+FÑ+FÕFÐFr3   )r)   r'   r(   r5   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú__visit_name__Ústringify_dialectr   Údp_clauseelementÚdp_typer*   Ú__annotations__r   r8   rK   rQ   r   Ú_clonerX   Úpropertyr\   Ú__static_attributes__r.   r3   r0   r%   r%   /   s¬   ‡ ñð8 *€Nà$Ðà	Ð$×5Ñ5Ð6Ø	Ð"×*Ñ*Ð+Ø	Ð&×7Ñ7Ð8ð3ÐÐ/ó ð ôó ðð ôó ðõ÷.õ
*ð +3¯/©/÷3ð ôGó ôGr3   r%   c                  ó€   a € ] tR t^�tRtRtRtRtRt]	P                  ! RRR4      R	 R
 l4       tV 3R ltRR ltRtV ;t# )ÚExcludeConstraintzÔA table-level EXCLUDE constraint.

Defines an EXCLUDE constraint as described in the `PostgreSQL
documentation`__.

__ https://www.postgresql.org/docs/current/static/sql-createtable.html#SQL-CREATETABLE-EXCLUDE

Úexclude_constraintNFr&   Úwherez:class:`.ExcludeConstraint`z$:paramref:`.ExcludeConstraint.where`c               ó$   € V ^8„  d   QhRRRRRR/# )r,   r   zTuple[_DDLColumnArgument, str]rU   r   rI   rV   r.   )r/   s   "r0   r1   ÚExcludeConstraint.__annotate__£   s)   € ÷ E%ñ E%Ø7ðE%Ø?BðE%à	ñE%r3   c                óà  € . p. p/ V n         \        V!  w  rV\        \        P                  ! \        P
                  V4      V4       FU  w  w  rxršpV
e   VP                  V
4       Ve   VP                  MT	pVe   W°P                   V&   VP                  W|V34       KW  	  W@n        \        P                  ! V .VO5RVP                  R4      RVP                  R4      RVP                  R4      RVP                  R4      /  VP                  RR4      V n        VP                  R4      pVe+   \        P                  ! \        P                  V4      V n        VP                  R	/ 4      V n        R# )
a8  
Create an :class:`.ExcludeConstraint` object.

E.g.::

    const = ExcludeConstraint(
        (Column("period"), "&&"),
        (Column("group"), "="),
        where=(Column("group") != "some group"),
        ops={"group": "my_operator_class"},
    )

The constraint is normally embedded into the :class:`_schema.Table`
construct
directly, or added later using :meth:`.append_constraint`::

    some_table = Table(
        "some_table",
        metadata,
        Column("id", Integer, primary_key=True),
        Column("period", TSRANGE()),
        Column("group", String),
    )

    some_table.append_constraint(
        ExcludeConstraint(
            (some_table.c.period, "&&"),
            (some_table.c.group, "="),
            where=some_table.c.group != "some group",
            name="some_table_excl_const",
            ops={"group": "my_operator_class"},
        )
    )

The exclude constraint defined in this example requires the
``btree_gist`` extension, that can be created using the
command ``CREATE EXTENSION btree_gist;``.

:param \*elements:

  A sequence of two tuples of the form ``(column, operator)`` where
  "column" is either a :class:`_schema.Column` object, or a SQL
  expression element (e.g. ``func.int8range(table.from, table.to)``)
  or the name of a column as string, and "operator" is a string
  containing the operator to use (e.g. `"&&"` or `"="`).

  In order to specify a column name when a :class:`_schema.Column`
  object is not available, while ensuring
  that any necessary quoting rules take effect, an ad-hoc
  :class:`_schema.Column` or :func:`_expression.column`
  object should be used.
  The ``column`` may also be a string SQL expression when
  passed as :func:`_expression.literal_column` or
  :func:`_expression.text`

:param name:
  Optional, the in-database name of this constraint.

:param deferrable:
  Optional bool.  If set, emit DEFERRABLE or NOT DEFERRABLE when
  issuing DDL for this constraint.

:param initially:
  Optional string.  If set, emit INITIALLY <value> when issuing DDL
  for this constraint.

:param info: Optional data dictionary which will be populated into the
    :attr:`.SchemaItem.info` attribute of this object.

    .. versionadded:: 2.0.50

:param using:
  Optional string.  If set, emit USING <index_method> when issuing DDL
  for this constraint. Defaults to 'gist'.

:param where:
  Optional SQL expression construct or literal SQL string.
  If set, emit WHERE <predicate> when issuing DDL
  for this constraint.

:param ops:
  Optional dictionary.  Used to define operator classes for the
  elements; works the same way as that of the
  :ref:`postgresql_ops <postgresql_operator_classes>`
  parameter specified to the :class:`_schema.Index` construct.

  .. seealso::

    :ref:`postgresql_operator_classes` - general description of how
    PostgreSQL operator classes are specified.

NÚnameÚ
deferrableÚ	initiallyÚinfoÚusingÚgistrn   Úops)Ú	operatorsÚzipr   Ú expect_col_expression_collectionr   ÚDDLConstraintColumnRoleÚappendrr   Ú_render_exprsr   r8   Úgetrv   rA   ÚStatementOptionRolern   rx   )r7   r   rU   ÚcolumnsÚrender_exprsÚexpressionsry   ÚexprÚcolumnÚstrnameÚadd_elementÚoperatorrr   rn   s   &*,           r0   r8   ÚExcludeConstraint.__init__ž   s`  € ðH ˆØˆØˆŒä!$ h¡Ñˆä>AÜ×6Ò6Ü×-Ñ-¨{óð ö	?
Ñ:Ñ0ˆT˜7°(ð Ò&Ø—‘˜{Ô+à"(Ò"4�6—;’;¸'ˆDàÒà'/—‘˜tÑ$à×Ñ ¨XÐ 6Ö7ñ?
ð" *Ôä"×+Ò+Øð	
àò	
ð —‘˜“ð	
ð —v‘v˜lÓ+ð		
ð
 —f‘f˜[Ó)ð	
ð —‘˜“ò	
ð —V‘V˜G VÓ,ˆŒ
Ø—‘�w“ˆØÒÜ"×)Ò)¬%×*CÑ*CÀUÓKˆDŒJà—6‘6˜% Ó$ˆŽr3   c           	     	óÜ   <€ \         SV `  V4       V P                   UUUu. uF4  w  r4p\        V\        4      '       g   TMVP
                  V,          VV3NK6  	  upppV n        R # u upppi r5   )ÚsuperÚ_set_parentr~   Ú
isinstanceÚstrÚc)r7   ÚtablerU   r„   rr   rˆ   Ú	__class__s   &&,   €r0   rŒ   ÚExcludeConstraint._set_parent*  sg   ø€ Ü‰Ñ˜EÔ"ð *.×);Ò);õ
ñ *<Ñ$�˜Hô	 ' t¬S×1Ò1‘°u·w±w¸tµ}ØØóñ
 *<ó
ˆÖùô 
s   ¡:A'c                	ó|  € V P                    UUUu. uF)  w  r4p\        P                  ! W0P                  V4      V3NK+  	  ppppV P                  ! VR V P
                  RV P                  RV P                  RV P                  RV P                  / pVP                  P                  V P                  4       V# u upppi )rr   rs   rt   rn   rv   )r~   r   Ú_copy_expressionÚparentr‘   rr   rs   rt   rn   rv   ÚdispatchÚ_update)r7   Útarget_tablerU   r„   Ú_rˆ   r   r�   s   &&,     r0   Ú_copyÚExcludeConstraint._copy6  sÅ   € ð &*×%7Ò%7õ
ñ
 &8Ñ!�˜ô ×'Ò'¨¯k©k¸<ÓHØóñ &8ð 	ò 
ð �NŠNØð
à—‘ð
ð —‘ð
ð —n‘nð	
ð
 —*‘*ð
ð —*‘*ñ
ˆð 	
�
‰
×Ñ˜4Ÿ=™=Ô)Øˆùô!
s   ‘/B7)r~   ry   rx   rv   rn   r5   )r^   r_   r`   ra   rb   rc   rn   Úinherit_cacheÚcreate_drop_stringify_dialectr   Ú_document_text_coercionr8   rŒ   rš   rj   Ú__classcell__©r‘   s   @r0   rl   rl   �   sW   ø† ñð *€Nà€EØ€Mà$0Ð!à×%Ò%ØØ%Ø.óô
E%óð
E%õN

÷ò r3   rl   c                 óT   € \         VR&   \        P                  P                  ! V / VB # )z¿PostgreSQL-specific form of :class:`_functions.array_agg`, ensures
return type is :class:`_postgresql.ARRAY` and not
the plain :class:`_types.ARRAY`, unless an explicit ``type_``
is passed.

Ú_default_array_type)r   r   ÚfuncÚ	array_agg)ÚargrU   s   *,r0   r¤   r¤   J  s)   € ô !&€BÐÑÜ�>‰>×#Ò# SÐ/¨BÑ/Ð/r3   c                  ó,   a € ] tR tRtRtV 3R ltRtV ;t# )Ú_regconfig_fniU  Tc                	ó¦  <€ \        V4      p\        V4      ^8”  dV   \        P                  ! \        P
                  VP                  ^ 4      \        V RR4      V \        P                  R7      pV.pM. pV Uu. uF6  p\        P                  ! \        P
                  V\        V RR4      V R7      NK8  	  pp\        SV `,  ! W5,           / VB  R# u upi )é   rr   N)rr   Úapply_propagate_attrsÚtype_©rr   rª   )ÚlistrC   r   rA   r   rB   ÚpopÚgetattrr   Ú	REGCONFIGr‹   r8   )r7   ÚargsrN   Úinitial_argr�   Ú
addtl_argsr‘   s   &*,   €r0   r8   Ú_regconfig_fn.__init__X  sÇ   ø€ Ü�D‹zˆÜˆt‹9�qŒ=Ü#×*Ò*Ü×+Ñ+Ø—‘˜“Ü˜T 6¨4Ó0Ø&*Ü—o‘oôˆKð '˜-‰KàˆKñ ó
ñ �ô ×ÒÜ×+Ñ+ØÜ˜T 6¨4Ó0Ø&*÷	ñ ð 	ð 
ô 	‰Ò˜;Õ3Ð?¸Ô?ùò
s   Á8<Cr.   )r^   r_   r`   ra   rœ   r8   rj   rŸ   r    s   @r0   r§   r§   U  s   ø† Ø€M÷@ó @r3   r§   c                  ó6   € ] tR tRtRtRt]P                  tRt	R# )Úto_tsvectorir  a›  The PostgreSQL ``to_tsvector`` SQL function.

This function applies automatic casting of the REGCONFIG argument
to use the :class:`_postgresql.REGCONFIG` datatype automatically,
and applies a return type of :class:`_postgresql.TSVECTOR`.

Assuming the PostgreSQL dialect has been imported, either by invoking
``from sqlalchemy.dialects import postgresql``, or by creating a PostgreSQL
engine using ``create_engine("postgresql...")``,
:class:`_postgresql.to_tsvector` will be used automatically when invoking
``sqlalchemy.func.to_tsvector()``, ensuring the correct argument and return
type handlers are used at compile and execution time.

.. versionadded:: 2.0.0rc1

Tr.   N)
r^   r_   r`   ra   rb   rœ   r   ÚTSVECTORr(   rj   r.   r3   r0   r¶   r¶   r  s   † ñð" €MØ�>‰>„Dr3   r¶   c                  ó6   € ] tR tRtRtRt]P                  tRt	R# )Ú
to_tsqueryiˆ  a—  The PostgreSQL ``to_tsquery`` SQL function.

This function applies automatic casting of the REGCONFIG argument
to use the :class:`_postgresql.REGCONFIG` datatype automatically,
and applies a return type of :class:`_postgresql.TSQUERY`.

Assuming the PostgreSQL dialect has been imported, either by invoking
``from sqlalchemy.dialects import postgresql``, or by creating a PostgreSQL
engine using ``create_engine("postgresql...")``,
:class:`_postgresql.to_tsquery` will be used automatically when invoking
``sqlalchemy.func.to_tsquery()``, ensuring the correct argument and return
type handlers are used at compile and execution time.

.. versionadded:: 2.0.0rc1

Tr.   N©
r^   r_   r`   ra   rb   rœ   r   ÚTSQUERYr(   rj   r.   r3   r0   r¹   r¹   ˆ  ó   † ñð" €MØ�=‰=„Dr3   r¹   c                  ó6   € ] tR tRtRtRt]P                  tRt	R# )Úplainto_tsqueryiž  a¦  The PostgreSQL ``plainto_tsquery`` SQL function.

This function applies automatic casting of the REGCONFIG argument
to use the :class:`_postgresql.REGCONFIG` datatype automatically,
and applies a return type of :class:`_postgresql.TSQUERY`.

Assuming the PostgreSQL dialect has been imported, either by invoking
``from sqlalchemy.dialects import postgresql``, or by creating a PostgreSQL
engine using ``create_engine("postgresql...")``,
:class:`_postgresql.plainto_tsquery` will be used automatically when
invoking ``sqlalchemy.func.plainto_tsquery()``, ensuring the correct
argument and return type handlers are used at compile and execution time.

.. versionadded:: 2.0.0rc1

Tr.   Nrº   r.   r3   r0   r¾   r¾   ž  r¼   r3   r¾   c                  ó6   € ] tR tRtRtRt]P                  tRt	R# )Úphraseto_tsqueryi´  a©  The PostgreSQL ``phraseto_tsquery`` SQL function.

This function applies automatic casting of the REGCONFIG argument
to use the :class:`_postgresql.REGCONFIG` datatype automatically,
and applies a return type of :class:`_postgresql.TSQUERY`.

Assuming the PostgreSQL dialect has been imported, either by invoking
``from sqlalchemy.dialects import postgresql``, or by creating a PostgreSQL
engine using ``create_engine("postgresql...")``,
:class:`_postgresql.phraseto_tsquery` will be used automatically when
invoking ``sqlalchemy.func.phraseto_tsquery()``, ensuring the correct
argument and return type handlers are used at compile and execution time.

.. versionadded:: 2.0.0rc1

Tr.   Nrº   r.   r3   r0   rÀ   rÀ   ´  r¼   r3   rÀ   c                  ó6   € ] tR tRtRtRt]P                  tRt	R# )Úwebsearch_to_tsqueryiÊ  aµ  The PostgreSQL ``websearch_to_tsquery`` SQL function.

This function applies automatic casting of the REGCONFIG argument
to use the :class:`_postgresql.REGCONFIG` datatype automatically,
and applies a return type of :class:`_postgresql.TSQUERY`.

Assuming the PostgreSQL dialect has been imported, either by invoking
``from sqlalchemy.dialects import postgresql``, or by creating a PostgreSQL
engine using ``create_engine("postgresql...")``,
:class:`_postgresql.websearch_to_tsquery` will be used automatically when
invoking ``sqlalchemy.func.websearch_to_tsquery()``, ensuring the correct
argument and return type handlers are used at compile and execution time.

.. versionadded:: 2.0.0rc1

Tr.   Nrº   r.   r3   r0   rÂ   rÂ   Ê  r¼   r3   rÂ   c                  ó4   a € ] tR tRtRtRt]tV 3R ltRt	V ;t
# )Úts_headlineià  a’  The PostgreSQL ``ts_headline`` SQL function.

This function applies automatic casting of the REGCONFIG argument
to use the :class:`_postgresql.REGCONFIG` datatype automatically,
and applies a return type of :class:`_types.TEXT`.

Assuming the PostgreSQL dialect has been imported, either by invoking
``from sqlalchemy.dialects import postgresql``, or by creating a PostgreSQL
engine using ``create_engine("postgresql...")``,
:class:`_postgresql.ts_headline` will be used automatically when invoking
``sqlalchemy.func.ts_headline()``, ensuring the correct argument and return
type handlers are used at compile and execution time.

.. versionadded:: 2.0.0rc1

Tc                	ór  <€ \        V4      p\        V4      ^8  d   RpM[\        V^,          \        P                  4      '       d3   V^,          P
                  P                  \        P                  J d   RpMRpV'       dV   \        P                  ! \        P                  VP                  ^ 4      V \        V RR4      \        P                  R7      pV.pM. pV Uu. uF6  p\        P                  ! \        P                  V\        V RR4      V R7      NK8  	  pp\         SV `D  ! WF,           / VB  R# u upi )r,   FTrr   N)rª   rr   r«   r¬   )r­   rC   r�   r   r   r(   Ú_type_affinityr   r»   r   rA   r   rB   r®   r¯   r°   r‹   r8   )r7   r±   rN   Úhas_regconfigr²   r�   r³   r‘   s   &*,    €r0   r8   Úts_headline.__init__õ  s  ø€ Ü�D‹zˆô ˆt‹9�qŒ=à!‰Mä�t˜A•w¤× 6Ñ 6×7Ò7Ø�Q•—‘×+Ñ+¬u¯}©}Ó<ð "‰Mà ˆMçÜ#×*Ò*Ü×+Ñ+Ø—‘˜“Ø&*Ü˜T 6¨4Ó0Ü—o‘oôˆKð '˜-‰KàˆKñ ó
ñ �ô ×ÒÜ×+Ñ+ØÜ˜T 6¨4Ó0Ø&*÷	ñ ð 	ð 
ô 	‰Ò˜;Õ3Ð?¸Ô?ùò
s   Ã<D4r.   )r^   r_   r`   ra   rb   rœ   r   r(   r8   rj   rŸ   r    s   @r0   rÄ   rÄ   à  s    ø† ñð" €MØ€D÷&@ó &@r3   rÄ   c               ó    € V ^8„  d   QhRRRR/# )r,   r„   r-   rI   ÚDistinctOnClauser.   )r/   s   "r0   r1   r1     s   € ÷ "ñ "Ð5ð "Ð:Jñ "r3   c                 ó   € \        V 4      # )z÷apply a DISTINCT_ON to a SELECT statement

e.g.::

    stmt = select(tbl).ext(distinct_on(t.c.some_col))

this supersedes the previous approach of using
``select(tbl).distinct(t.c.some_col))`` to apply a similar construct.

.. versionadded:: 2.1

)rÊ   )r„   s   *r0   Údistinct_onrÌ     s   € ô ˜DÓ!Ð!r3   c                  ól   € ] tR tRt$ RtRtR]P                  3.tR]	R&   R R lt
R	 R
 ltR R ltRtR# )rÊ   i.  r&   Úpostgresql_distinct_onÚ_distinct_onr!   r*   c               ó   € V ^8„  d   QhRR/# )r,   rÌ   z(Sequence[_ColumnExpressionArgument[Any]]r.   )r/   s   "r0   r1   ÚDistinctOnClause.__annotate__6  s   € ÷ 
ñ 
Ð$Lñ 
r3   c                	ó„   a € \         ;QJ d    . V 3R  lV 4       F  NK  	  5S n        R# ! V 3R  lV 4       4      S n        R# )c              3  ór   <"  € T F,  p\         P                  ! \        P                  VSR 7      x € K.  	  R# 5i))rª   N)r   rA   r   ÚByOfRole)Ú.0Úer7   s   & €r0   Ú	<genexpr>Ú,DistinctOnClause.__init__.<locals>.<genexpr>7  s.   øé € ð "
á �ô ×ÒœUŸ^™^¨QÀd×KÑKÛ ùs   ƒ47N)ÚtuplerÏ   )r7   rÌ   s   f&r0   r8   ÚDistinctOnClause.__init__6  s5   ø€ ß!œEô "
á ó"
ŸEˆÖ˜Eô "
á ó"
ó 
ˆÖr3   c               ó    € V ^8„  d   QhRRRR/# )r,   Úselect_stmtzexpression.Select[Any]rI   rV   r.   )r/   s   "r0   r1   rÑ   <  s   € ÷ 
ñ 
Ð+Að 
Àdñ 
r3   c                	óÄ   € VP                   '       d   \        P                  ! R 4      hVP                  P	                  V4       VP                  V P                  R4       R# )zHCannot mix ``select.ext(distinct_on(...))`` and ``select.distinct(...)``Úpre_columnsN)rÏ   r   ÚInvalidRequestErrorÚdistinctÚnon_generativeÚapply_syntax_extension_pointÚ_merge_other_distinct)r7   rÜ   s   &&r0   Úapply_to_selectÚ DistinctOnClause.apply_to_select<  sU   € Ø×#×#Ð#Ü×)Ò)ð+óð ð
 	×Ñ×+Ñ+¨KÔ8à×0Ñ0Ø×&Ñ&¨ö	
r3   c               ó    € V ^8„  d   QhRRRR/# )r,   Úexistingz Sequence[elements.ClauseElement]rI   r.   )r/   s   "r0   r1   rÑ   I  s   € ÷ ñ Ø8ðà	)ñr3   c                	ó   € . pRpV F>  p\        V\        4      '       d   W4P                  ,          pK-  VP                  V4       K@  	  V'       d-   VP                  \        W0P                  ,           4      4       V# VP                  V 4       V# )Nr.   )r�   rÊ   rÏ   r}   )r7   rç   ÚresÚto_mergerÖ   s   &&   r0   rã   Ú&DistinctOnClause._merge_other_distinctI  sw   € ð ˆØˆÛˆAÜ˜!Ô-×.Ò.ØŸN™NÕ*’à—
‘
˜1–ñ	 ÷
 Ø�J‰JÔ'¨×3DÑ3DÕ(DÓEÔFð ˆ
ð �J‰J�tÔØˆ
r3   )rÏ   N)r^   r_   r`   ra   rd   rc   r   Údp_clauseelement_tupler*   rg   r8   rä   rã   rj   r.   r3   r0   rÊ   rÊ   .  sB   ‡ Ø$ÐØ-€Nð 
Ð*×AÑAÐBð3ÐÐ/ó õ
õ
÷ñ r3   rÊ   N):Ú
__future__r   Útypingr   r   r   r   r   r	   r
   r   r   Ú r   Úarrayr   r   Úsqlr   r   r   r   r   r   Úsql.baser   Ú
sql.schemar   Úsql.sqltypesr   Úsql.visitorsr   Úsql._typingr   r   Úsql.elementsr   r   Úsql.operatorsr   Úsql.selectabler   r    r!   r"   r%   rl   r¤   ÚGenericFunctionr§   r¶   r¹   r¾   rÀ   rÂ   rÄ   rÌ   rÊ   r.   r3   r0   Ú<module>rû      s!  ðõ #å Ý Ý Ý Ý Ý Ý Ý  Ý å Ý Ý Ý Ý Ý Ý Ý Ý Ý 'Ý 4Ý  Ý -çÝ8Ý1Ý-Ý-Ý-Ý,Ý2Ý6áˆT˜Ô€ô[G˜×1Ñ1°"Õ5ô [Gô|zÐ2ô zòz0ô@�I×-Ñ-¨bÕ1ô @ô:�-ô ô,�ô ô,�mô ô,�}ô ô,˜=ô ô,;@�-ô ;@õ|"ô )�¨
×(@Ñ(@ö )r3   