
    R
h&                         d Z ddlmZ ddlmZmZ ddlmZ ej        Zej	        Z	ej
        Z
ej        Zej        Zej        Zej        Zej        Z G d de          ZdS )	z;
Module gathering the various parts of the copy subsystem.
    )IO   )_copy_copy_async)Bufferc                   :    e Zd ZdZdee         fdZdeddfdZdS )
FileWriterz
    A `Writer` to write copy data to a file-like object.

    :param file: the file where to write copy data. It must be open for writing
        in binary mode.
    filec                     || _         d S N)r
   )selfr
   s     W/var/www/html/01_SiteInternet/03_Maps/venv/lib/python3.11/site-packages/psycopg/copy.py__init__zFileWriter.__init__   s    			    datareturnNc                 :    | j                             |           d S r   )r
   write)r   r   s     r   r   zFileWriter.write"   s    	r   )	__name__
__module____qualname____doc__r   bytesr   r   r    r   r   r	   r	      s_         RY    & T      r   r	   N)r   typingr    r   r   abcr   	AsyncCopyAsyncWriterAsyncLibpqWriterAsyncQueuedLibpqWriterCopyWriterLibpqWriterQueuedLibpqWriterr	   r   r   r   <module>r&      s                                 !	%/ $; z	+          r   