Ë
    õ¡Ÿj*  ã                  ó   — d Z ddlmZ dd„Zy)zM
author: Yagnik Poshiya
organization: Webbrains Technologies Private Limited
é    )Úannotationsc                ó¬   — | sy| j                  dd«      }g }|D ](  }t        |«      }|dk  r|dvrŒ|j                  |«       Œ* dj                  |«      S )zê
    Make text safe for PostgreSQL text columns.

    - Removes NULL bytes ( ), which PostgreSQL rejects in text.
    - Removes most control characters, while preserving common whitespace:
      newline, carriage return, and tab.
    Ú ú é    )ú
úú	)ÚreplaceÚordÚappendÚjoin)ÚtextÚsÚcleaned_charsÚchÚcodes        úb/var/www/html/agent-engine/apps/workers/async/embedding-pipeline-worker/src/utils/text_sanitize.pyÚsanitize_text_for_dbr   	   sl   € ñ Øð 	�‰�V˜RÓ €Að  "€MØò !ˆÜ�2‹wˆØ�"Š9˜Ð#5Ñ5ØØ×Ñ˜RÕ ð	!ð
 �7‰7�=Ó!Ð!ó    N)r   ÚstrÚreturnr   )Ú__doc__Ú
__future__r   r   © r   r   ú<module>r      s   ðñõ
 #ô"r   