
    i                        d Z ddlmZmZ ddlmZmZ ddlmZ  G d de      Z	 G d d	e      Z
 G d
 dee      Z G d de      Zej                  ej                  j                  ej                   ej                  j                   iZej                  j                  ej                  ej                  j                   ej                   iZy)zs
Enum values for psycopg

These values are defined by us and are not necessarily dependent on
libpq-defined enums.
    )EnumIntEnum)
EVENT_READEVENT_WRITE   )pqc                       e Zd ZeZeZeez  Zy)WaitN)__name__
__module____qualname__r   Rr   WRW     n/var/www/html/hwPaymentPortal-be-dev/hw-payment-portal-api/venv/lib/python3.12/site-packages/psycopg/_enums.pyr
   r
      s    AA	k	!Br   r
   c                   "    e Zd ZdZeZeZeez  Zy)Readyr   N)	r   r   r   NONEr   r   r   r   r   r   r   r   r   r      s    DAA	k	!Br   r   c                       e Zd ZdZdZdZ	 dZ	 dZ	 edej                  dd fd       Z
edd dej                  fd	       Zy
)PyFormatz
    Enum representing the format wanted for a query argument.

    The value `AUTO` allows psycopg to choose the best format for a certain
    parameter.
    zpsycopg.adaptstbfmtreturnc                     t         |   S N)_pg2pyclsr   s     r   from_pqzPyFormat.from_pq.       c{r   c                     t         |   S r   )_py2pgr!   s     r   as_pqzPyFormat.as_pq2   r$   r   N)r   r   r   __doc__AUTOTEXTBINARYclassmethodr   Formatr#   r'   r   r   r   r   r      sp     !JD4D.F0")) 
   
 ryy  r   r   c                   *    e Zd ZdZdZdZ	 dZ	 dZ	 dZy)IsolationLevelzB
    Enum representing the isolation level for a transaction.
    psycopgr            N)r   r   r   r(   READ_UNCOMMITTEDREAD_COMMITTEDREPEATABLE_READSERIALIZABLEr   r   r   r/   r/   7   s/     J2N0O1L.r   r/   N)r(   enumr   r   	selectorsr   r    r   r
   r   strr   r/   r*   r-   r+   r&   r    r   r   r   <module>r<      s     - "7 ""G "sD 4/W /$ MM299>>OORYY%%
 IINNHMMIIhoo
r   