o
    "4g6                     @   s|   d Z dZG dd deZG dd deZG dd deZG dd	 d	eZG d
d deZG dd deZ	G dd deZ
dS )z
Wrappers for numeric types.
zpsycopg.types.numericc                       V   e Zd ZdZeZdZdedd f fddZdef fddZ	def fd	d
Z
  ZS )Int2zM
    Force dumping a Python `!int` as a PostgreSQL :sql:`smallint/int2`.
     argreturnc                       t  | |S Nsuper__new__clsr   	__class__r   Z/var/www/html/authentication-server/venv/lib/python3.10/site-packages/psycopg/_wrappers.pyr
         zInt2.__new__c                    
   t   S r   r	   __repr__selfr   r   r   __str__      
zInt2.__str__c                       | j j dt   dS N()r   __name__r	   r   r   r   r   r   r         zInt2.__repr__r   
__module____qualname____doc___MODULE	__slots__intr
   strr   r   __classcell__r   r   r   r   r          r   c                       r   )Int4zL
    Force dumping a Python `!int` as a PostgreSQL :sql:`integer/int4`.
    r   r   r   c                    r   r   r   r   r   r   r   r
   (   r   zInt4.__new__c                    r   r   r   r   r   r   r   r   +   r   zInt4.__str__c                    r   r   r   r   r   r   r   r   .   r   zInt4.__repr__r   r   r   r   r   r)       r(   r)   c                       r   )Int8zK
    Force dumping a Python `!int` as a PostgreSQL :sql:`bigint/int8`.
    r   r   r   c                    r   r   r   r   r   r   r   r
   :   r   zInt8.__new__c                    r   r   r   r   r   r   r   r   =   r   zInt8.__str__c                    r   r   r   r   r   r   r   r   @   r   zInt8.__repr__r   r   r   r   r   r*   2   r(   r*   c                       r   )
IntNumericzO
    Force dumping a Python `!int` as a PostgreSQL :sql:`numeric/decimal`.
    r   r   r   c                    r   r   r   r   r   r   r   r
   L   r   zIntNumeric.__new__c                    r   r   r   r   r   r   r   r   O   r   zIntNumeric.__str__c                    r   r   r   r   r   r   r   r   R   r   zIntNumeric.__repr__r   r   r   r   r   r+   D   r(   r+   c                       r   )Float4zM
    Force dumping a Python `!float` as a PostgreSQL :sql:`float4/real`.
    r   r   r   c                    r   r   r   r   r   r   r   r
   ^   r   zFloat4.__new__c                    r   r   r   r   r   r   r   r   a   r   zFloat4.__str__c                    r   r   r   r   r   r   r   r   d   r   zFloat4.__repr__r   r    r!   r"   r#   r$   floatr
   r&   r   r   r'   r   r   r   r   r,   V   r(   r,   c                       r   )Float8zY
    Force dumping a Python `!float` as a PostgreSQL :sql:`float8/double precision`.
    r   r   r   c                    r   r   r   r   r   r   r   r
   p   r   zFloat8.__new__c                    r   r   r   r   r   r   r   r   s   r   zFloat8.__str__c                    r   r   r   r   r   r   r   r   v   r   zFloat8.__repr__r-   r   r   r   r   r/   h   r(   r/   c                       r   )OidzC
    Force dumping a Python `!int` as a PostgreSQL :sql:`oid`.
    r   r   r   c                    r   r   r   r   r   r   r   r
      r   zOid.__new__c                    r   r   r   r   r   r   r   r      r   zOid.__str__c                    r   r   r   r   r   r   r   r      r   zOid.__repr__r   r   r   r   r   r0   z   r(   r0   N)r"   r#   r%   r   r)   r*   r+   r.   r,   r/   r0   r   r   r   r   <module>   s    
