U
    x^y                     @   s(   d Z ddlmZ G dd deZeZdS )a  
.. dialect:: postgresql+psycopg2cffi
    :name: psycopg2cffi
    :dbapi: psycopg2cffi
    :connectstring: postgresql+psycopg2cffi://user:password@host:port/dbname[?key=value&key=value...]
    :url: http://pypi.python.org/pypi/psycopg2cffi/

``psycopg2cffi`` is an adaptation of ``psycopg2``, using CFFI for the C
layer. This makes it suitable for use in e.g. PyPy. Documentation
is as per ``psycopg2``.

.. versionadded:: 1.0.0

.. seealso::

    :mod:`sqlalchemy.dialects.postgresql.psycopg2`

   )PGDialect_psycopg2c                   @   sJ   e Zd ZdZdZeddddddZedd Zedd	 Z	ed
d Z
dS )PGDialect_psycopg2cffipsycopg2cffiT)      r   )r      r   )Znative_jsonZnative_jsonbZsane_multi_rowcountZ	array_oidZhstore_adapterc                 C   s   t dS )Nr   )
__import__)cls r
   S/tmp/pip-install-dq5v43_d/SQLAlchemy/sqlalchemy/dialects/postgresql/psycopg2cffi.pydbapi,   s    zPGDialect_psycopg2cffi.dbapic                 C   s   t ddgd}|jS )Nr   
extensionsfromlist)r   r   r	   rootr
   r
   r   _psycopg2_extensions0   s    z+PGDialect_psycopg2cffi._psycopg2_extensionsc                 C   s   t ddgd}|jS )Nr   extrasr   )r   r   r   r
   r
   r   _psycopg2_extras5   s    z'PGDialect_psycopg2cffi._psycopg2_extrasN)__name__
__module____qualname__ZdriverZsupports_unicode_statementsdictZFEATURE_VERSION_MAPclassmethodr   r   r   r
   r
   r
   r   r      s   

r   N)__doc__Zpsycopg2r   r   dialectr
   r
   r
   r   <module>   s   