
    -hh              	          S SK r SSKJr  SSKJr  SSKJr  SSKJr  SSKJ	r	  SSKJr  SS	KJ
r
  SS
KJr  SSKJr  SSKJr  SSKJr  SSKJr  SSKJr  S rS%S jr " S S5      r\R2                  " \SS/ / / SQS9 " S S\\\5      5       r\R2                  " \SS/ / SQ/ SQS9 " S S\\5      5       r " S  S!\\5      rS" r\
R<                  " \5      S# 5       r\
R<                  " \5      S$ 5       r g)&    N   )exc)ProxyComparable)StartableContext)_ensure_sync_result)AsyncResult   )
inspection)util)create_engine)NestedTransaction)
Connection)Engine)greenlet_spawnc                      UR                  SS5      (       a  [        R                  " S5      eSUS'   [        U 0 UD6n[	        U5      $ )a-  Create a new async engine instance.

Arguments passed to :func:`_asyncio.create_async_engine` are mostly
identical to those passed to the :func:`_sa.create_engine` function.
The specified dialect must be an asyncio-compatible dialect
such as :ref:`dialect-postgresql-asyncpg`.

.. versionadded:: 1.4

server_side_cursorsFz}Can't set server_side_cursors for async engine globally; use the connection.stream() method for an async streaming result setTfuture)get	async_excAsyncMethodRequired_create_engineAsyncEngine)argkwsync_engines      rC:\Users\ROHAN GUPTA\OneDrive\Desktop\mathbuddy-assessment\venv\Lib\site-packages\sqlalchemy/ext/asyncio/engine.pycreate_async_enginer      sS     
vv#U++++#
 	

 BxL #,,K{##    c                    U R                  5        VVs0 s H,  u  p4UR                  U5      (       d  M  U[        U5      S U_M.     nnnSUS'   UR                  U5        UR	                  S5      n[        U40 UD6$ s  snnf )a  Create a new AsyncEngine instance using a configuration dictionary.

This function is analogous to the :func:`_sa.engine_from_config` function
in SQLAlchemy Core, except that the requested dialect must be an
asyncio-compatible dialect such as :ref:`dialect-postgresql-asyncpg`.
The argument signature of the function is identical to that
of :func:`_sa.engine_from_config`.

.. versionadded:: 1.4.29

NT_coerce_configurl)items
startswithlenupdatepopr   )configurationprefixkwargskeyvalueoptionsr!   s          r   async_engine_from_configr-   /   s     (--//JC>>&! 	"CKME!/  
 !%GNN6
++e
Cs.g..s
   A=A=c                       \ rS rSrSrSrg)AsyncConnectableF   )_slots_dispatch__weakref__ N)__name__
__module____qualname____firstlineno__	__slots____static_attributes__r3   r   r   r/   r/   F   s    0Ir   r/   z:class:`_future.Connection`z!:class:`_asyncio.AsyncConnection`)closedinvalidateddialectdefault_isolation_level)classmethodsmethods
attributesc                      \ rS rSr% SrSrS&S jr\\S'    \	\S'    \
S 5       rS'S	 jr\S
 5       rS r\S 5       r\S 5       rS rS rS rS&S jrS rS rS rS rS rS rS rS rS rS rS\ RB                  4S jr"S\ RB                  4S jr#S\ RB                  4S jr$S\ RB                  4S jr%S\ RB                  4S  jr&S\ RB                  4S! jr'S" r(S# r)S$ r*S%r+g)(AsyncConnectionJ   a  An asyncio proxy for a :class:`_engine.Connection`.

:class:`_asyncio.AsyncConnection` is acquired using the
:meth:`_asyncio.AsyncEngine.connect`
method of :class:`_asyncio.AsyncEngine`::

    from sqlalchemy.ext.asyncio import create_async_engine
    engine = create_async_engine("postgresql+asyncpg://user:pass@host/dbname")

    async with engine.connect() as conn:
        result = await conn.execute(select(table))

.. versionadded:: 1.4

)enginer   sync_connectionNc                 ^    Xl         UR                  U l        U R                  U5      U l        g N)rD   r   _assign_proxiedrE   )selfasync_enginerE   s      r   __init__AsyncConnection.__init__s   s(    "'33#33ODr   rE   r   c                 T    [        [        R                  UR                  5      U5      $ rG   )rB   r   _retrieve_proxy_for_targetrD   clstargets     r   _regenerate_proxy_for_target,AsyncConnection._regenerate_proxy_for_target   s#    226==A6
 	
r   c                    #    U R                   (       a  [        R                  " S5      eU R                  [	        U R
                  R                  5      I Sh  vN 5      U l         U $  N7f)zjStart this :class:`_asyncio.AsyncConnection` object's context
outside of using a Python ``with:`` block.

zconnection is already startedN)rE   r   InvalidRequestErrorrH   r   r   connectrI   is_ctxmanagers     r   startAsyncConnection.start   sX     
 ))*IJJ#33!$"2"2":":;< 
  =s   AA)A'A)c                 .    [         R                  " S5      e)zUNot implemented for async; call
:meth:`_asyncio.AsyncConnection.get_raw_connection`.
zAsyncConnection.connection accessor is not implemented as the attribute may need to reconnect on an invalidated connection.  Use the get_raw_connection() method.)r   rU   rI   s    r   
connectionAsyncConnection.connection   s    
 %%3
 	
r   c                 `   #    U R                  5       n[        [        US5      I Sh  vN $  N7f)a  Return the pooled DBAPI-level connection in use by this
:class:`_asyncio.AsyncConnection`.

This is a SQLAlchemy connection-pool proxied connection
which then has the attribute
:attr:`_pool._ConnectionFairy.driver_connection` that refers to the
actual driver connection. Its
:attr:`_pool._ConnectionFairy.dbapi_connection` refers instead
to an :class:`_engine.AdaptedConnection` instance that
adapts the driver connection to the DBAPI protocol.

r]   N)_sync_connectionr   getattrrI   conns     r   get_raw_connection"AsyncConnection.get_raw_connection   s*      $$&#GT<@@@@s   %.,.c                     U R                   $ rG   )rE   r\   s    r   _proxiedAsyncConnection._proxied   s    ###r   c                 .    U R                   R                  $ )a  Return the :attr:`_engine.Connection.info` dictionary of the
underlying :class:`_engine.Connection`.

This dictionary is freely writable for user-defined state to be
associated with the database connection.

This attribute is only available if the :class:`.AsyncConnection` is
currently connected.   If the :attr:`.AsyncConnection.closed` attribute
is ``True``, then accessing this attribute will raise
:class:`.ResourceClosedError`.

.. versionadded:: 1.4.0b2

)rE   infor\   s    r   rj   AsyncConnection.info   s      ##(((r   c                 \    U R                   (       d  U R                  5         U R                   $ rG   )rE   _raise_for_not_startedr\   s    r   r`    AsyncConnection._sync_connection   s#    ##'')###r   c                 8    U R                  5         [        U 5      $ )z1Begin a transaction prior to autobegin occurring.r`   AsyncTransactionr\   s    r   beginAsyncConnection.begin   s    %%r   c                 6    U R                  5         [        U SS9$ )z;Begin a nested transaction and return a transaction handle.T)nestedrp   r\   s    r   begin_nestedAsyncConnection.begin_nested   s    T22r   c                 f   #    U R                  5       n[        UR                  US9I Sh  vN $  N7f)zInvalidate the underlying DBAPI connection associated with
this :class:`_engine.Connection`.

See the method :meth:`_engine.Connection.invalidate` for full
detail on this method.

)	exceptionN)r`   r   
invalidate)rI   ry   rc   s      r   rz   AsyncConnection.invalidate   s,      $$&#DOOyIIIIs   (1/1c                 h   #    U R                  5       n[        UR                  5      I S h  vN $  N7frG   r`   r   get_isolation_levelrb   s     r   r~   #AsyncConnection.get_isolation_level   *     $$&#D$<$<====   )202c                 h   #    U R                  5       n[        UR                  5      I S h  vN $  N7frG   r}   rb   s     r   set_isolation_level#AsyncConnection.set_isolation_level   r   r   c                 B    U R                  5       nUR                  5       $ zIReturn True if a transaction is in progress.

.. versionadded:: 1.4.0b2

)r`   in_transactionrb   s     r   r   AsyncConnection.in_transaction   s!     $$&""$$r   c                 B    U R                  5       nUR                  5       $ r   )r`   in_nested_transactionrb   s     r   r   %AsyncConnection.in_nested_transaction  s!     $$&))++r   c                 t    U R                  5       nUR                  5       nUb  [        R                  U5      $ g)aO  Return an :class:`.AsyncTransaction` representing the current
transaction, if any.

This makes use of the underlying synchronous connection's
:meth:`_engine.Connection.get_transaction` method to get the current
:class:`_engine.Transaction`, which is then proxied in a new
:class:`.AsyncTransaction` object.

.. versionadded:: 1.4.0b2

N)r`   get_transactionrq   rN   rI   rc   transs      r   r   AsyncConnection.get_transaction  s:     $$&$$&#>>uEEr   c                 t    U R                  5       nUR                  5       nUb  [        R                  U5      $ g)ai  Return an :class:`.AsyncTransaction` representing the current
nested (savepoint) transaction, if any.

This makes use of the underlying synchronous connection's
:meth:`_engine.Connection.get_nested_transaction` method to get the
current :class:`_engine.Transaction`, which is then proxied in a new
:class:`.AsyncTransaction` object.

.. versionadded:: 1.4.0b2

N)r`   get_nested_transactionrq   rN   r   s      r   r   &AsyncConnection.get_nested_transaction  s:     $$&++-#>>uEEr   c                 z   #    U R                  5       n[        UR                  40 UD6I Sh  vN nX2L d   eU $  N7f)zSet non-SQL options for the connection which take effect
during execution.

This returns this :class:`_asyncio.AsyncConnection` object with
the new options added.

See :meth:`_future.Connection.execution_options` for full details
on this method.

N)r`   r   execution_options)rI   optrc   c2s       r   r   !AsyncConnection.execution_options3  sB      $$&!$"8"8@C@@zz As   *;9;c                 j   #    U R                  5       n[        UR                  5      I Sh  vN   g N7f)a  Commit the transaction that is currently in progress.

This method commits the current transaction if one has been started.
If no transaction was started, the method has no effect, assuming
the connection is in a non-invalidated state.

A transaction is begun on a :class:`_future.Connection` automatically
whenever a statement is first executed, or when the
:meth:`_future.Connection.begin` method is called.

N)r`   r   commitrb   s     r   r   AsyncConnection.commitD  s'      $$&T[[)))   )313c                 j   #    U R                  5       n[        UR                  5      I Sh  vN   g N7f)a  Roll back the transaction that is currently in progress.

This method rolls back the current transaction if one has been started.
If no transaction was started, the method has no effect.  If a
transaction was started and the connection is in an invalidated state,
the transaction is cleared using this method.

A transaction is begun on a :class:`_future.Connection` automatically
whenever a statement is first executed, or when the
:meth:`_future.Connection.begin` method is called.


N)r`   r   rollbackrb   s     r   r   AsyncConnection.rollbackS  s'      $$&T]]+++r   c                 j   #    U R                  5       n[        UR                  5      I Sh  vN   g N7f)z}Close this :class:`_asyncio.AsyncConnection`.

This has the effect of also rolling back the transaction if one
is in place.

N)r`   r   closerb   s     r   r   AsyncConnection.closed  s'      $$&TZZ(((r   c                    #    U R                  5       n[        UR                  UUUSS9I Sh  vN n[        XPR                  5      I Sh  vN $  N! N7f)zQExecutes a driver-level SQL string and return buffered
:class:`_engine.Result`.

T_require_awaitN)r`   r   exec_driver_sqlr   rI   	statement
parametersr   rc   results         r   r   AsyncConnection.exec_driver_sqln  sZ      $$&%  
 
 )1E1EFFF
 G!   +AAA
AAAc           
        #    U R                  5       n[        UR                  UU[        R                  R                  USS05      SS9I Sh  vN nUR                  R                  (       d   S5       e[        U5      $  N17f)zPExecute a statement and return a streaming
:class:`_asyncio.AsyncResult` object.stream_resultsTr   Nzserver side result expected)	r`   r   _execute_20r   
EMPTY_DICT
merge_withcontext_is_server_sider   r   s         r   streamAsyncConnection.stream  s      $$&%OO&&!$4d#;  
 
 ~~--77756""
s   ABA?2Bc                    #    U R                  5       n[        UR                  UUUSS9I Sh  vN n[        XPR                  5      I Sh  vN $  N! N7f)a  Executes a SQL statement construct and return a buffered
:class:`_engine.Result`.

:param object: The statement to be executed.  This is always
 an object that is in both the :class:`_expression.ClauseElement` and
 :class:`_expression.Executable` hierarchies, including:

 * :class:`_expression.Select`
 * :class:`_expression.Insert`, :class:`_expression.Update`,
   :class:`_expression.Delete`
 * :class:`_expression.TextClause` and
   :class:`_expression.TextualSelect`
 * :class:`_schema.DDL` and objects which inherit from
   :class:`_schema.DDLElement`

:param parameters: parameters which will be bound into the statement.
 This may be either a dictionary of parameter names to values,
 or a mutable sequence (e.g. a list) of dictionaries.  When a
 list of dictionaries is passed, the underlying statement execution
 will make use of the DBAPI ``cursor.executemany()`` method.
 When a single dictionary is passed, the DBAPI ``cursor.execute()``
 method will be used.

:param execution_options: optional dictionary of execution options,
 which will be associated with the statement execution.  This
 dictionary can provide a subset of the options that are accepted
 by :meth:`_future.Connection.execution_options`.

:return: a :class:`_engine.Result` object.

Tr   N)r`   r   r   r   executer   s         r   r   AsyncConnection.execute  sX     J $$&%
 
 )>>>
 ?r   c                 b   #    U R                  XU5      I Sh  vN nUR                  5       $  N7f)aE  Executes a SQL statement construct and returns a scalar object.

This method is shorthand for invoking the
:meth:`_engine.Result.scalar` method after invoking the
:meth:`_future.Connection.execute` method.  Parameters are equivalent.

:return: a scalar Python value representing the first column of the
 first row returned.

N)r   scalarrI   r   r   r   r   s        r   r   AsyncConnection.scalar  s-       ||I;LMM}} N   /-/c                 b   #    U R                  XU5      I Sh  vN nUR                  5       $  N7f)a9  Executes a SQL statement construct and returns a scalar objects.

This method is shorthand for invoking the
:meth:`_engine.Result.scalars` method after invoking the
:meth:`_future.Connection.execute` method.  Parameters are equivalent.

:return: a :class:`_engine.ScalarResult` object.

.. versionadded:: 1.4.24

N)r   scalarsr   s        r   r   AsyncConnection.scalars  s.     " ||I;LMM~~ Nr   c                 b   #    U R                  XU5      I Sh  vN nUR                  5       $  N7f)aJ  Executes a SQL statement and returns a streaming scalar result
object.

This method is shorthand for invoking the
:meth:`_engine.AsyncResult.scalars` method after invoking the
:meth:`_future.Connection.stream` method.  Parameters are equivalent.

:return: an :class:`_asyncio.AsyncScalarResult` object.

.. versionadded:: 1.4.24

N)r   r   r   s        r   stream_scalarsAsyncConnection.stream_scalars  s.     $ {{9:KLL~~ Mr   c                 \   #    U R                  5       n[        X/UQ70 UD6I Sh  vN $  N7f)a  Invoke the given sync callable passing self as the first argument.

This method maintains the asyncio event loop all the way through
to the database connection by running the given callable in a
specially instrumented greenlet.

E.g.::

    with async_engine.begin() as conn:
        await conn.run_sync(metadata.create_all)

.. note::

    The provided callable is invoked inline within the asyncio event
    loop, and will block on traditional IO calls.  IO within this
    callable should only call into SQLAlchemy's asyncio database
    APIs which will be properly adapted to the greenlet context.

.. seealso::

    :ref:`session_run_sync`
N)r`   r   )rI   fnr   r   rc   s        r   run_syncAsyncConnection.run_sync
  s0     0 $$&#B9s9b9999   #,*,c                 >    U R                  5       R                  5       $ rG   )rY   	__await__r\   s    r   r   AsyncConnection.__await__&  s    zz|%%''r   c                    #    [         R                  " 5       R                  U R                  5       5      n[         R                  " U5      I S h  vN   g  N7frG   )asyncioget_event_loopcreate_taskr   shield)rI   type_r+   	tracebacktasks        r   	__aexit__AsyncConnection.__aexit__)  s6     %%'33DJJLAnnT"""s   AAAA)rD   rE   r   rG   F),r4   r5   r6   r7   __doc__r8   rK   r   __annotations__r   classmethodrR   rY   propertyr]   rd   rg   rj   r`   rr   rv   rz   r~   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r   r9   r3   r   r   rB   rB   J   sG   *IE
   	 
 


 
 
A" $ $ ) )"$
&
3

J>>	%,(("*,") //	G4 //	#8 //	.?f //	, //	 . //	 *:8(#r   rB   z:class:`_future.Engine`z:class:`_asyncio.AsyncEngine`)clear_compiled_cacheupdate_execution_optionsget_execution_options)r!   poolr<   rD   namedriverechoc                       \ rS rSr% SrSr\r\\	S'    " S S\
5      rS r\\	S'    \S	 5       rS
 rS rS rS rS rSrg)r   i.  a8  An asyncio proxy for a :class:`_engine.Engine`.

:class:`_asyncio.AsyncEngine` is acquired using the
:func:`_asyncio.create_async_engine` function::

    from sqlalchemy.ext.asyncio import create_async_engine
    engine = create_async_engine("postgresql+asyncpg://user:pass@host/dbname")

.. versionadded:: 1.4

)r   rg   _option_clsc                   *    \ rS rSrS rSS jrS rSrg)AsyncEngine._trans_ctxiR  c                     Xl         g rG   )rc   rb   s     r   rK   AsyncEngine._trans_ctx.__init__S  s    Ir   c                    #    U R                   R                  US9I S h  vN   U R                   R                  5       U l        U R                  R	                  5       I S h  vN   U R                   $  NQ N7f)N)rX   )rc   rY   rr   transaction
__aenter__rW   s     r   rY   AsyncEngine._trans_ctx.startV  sZ     ))///>>>#yy0D""--///99	 ?/s"   A5A1A A5 A3!A53A5c                    ^ ^^^#    U UUU4S jn[         R                  " 5       R                  U" 5       5      n[         R                  " U5      I S h  vN   g  N7f)Nc                     >#    T R                   R                  TTT5      I S h  vN   T R                  R                  5       I S h  vN   g  N' N7frG   )r   r   rc   r   )rI   r   r   r+   s   r   go,AsyncEngine._trans_ctx.__aexit__.<locals>.go^  sA     &&00yIIIiioo''' J's!   !AA!AAAA)r   r   r   r   )rI   r   r+   r   r   r   s   ````  r   r    AsyncEngine._trans_ctx.__aexit__]  s?     ( ( ))+77=D..&&&s   AAAA)rc   r   Nr   )r4   r5   r6   r7   rK   rY   r   r9   r3   r   r   
_trans_ctxr   R  s    			'r   r   c                     UR                   R                  (       d/  [        R                  " SUR                   R                  < S35      eU R                  U5      =U l        U l        g )NzFThe asyncio extension requires an async driver to be used. The loaded z is not async.)r<   is_asyncr   rU   r   rH   r   rg   )rI   r   s     r   rK   AsyncEngine.__init__e  s_    ""++)))1188;>K  ,0+?+?+LL4=r   r   c                     [        U5      $ rG   )r   rO   s     r   rR   (AsyncEngine._regenerate_proxy_for_targetx  s    6""r   c                 D    U R                  5       nU R                  U5      $ )aq  Return a context manager which when entered will deliver an
:class:`_asyncio.AsyncConnection` with an
:class:`_asyncio.AsyncTransaction` established.

E.g.::

    async with async_engine.begin() as conn:
        await conn.execute(
            text("insert into table (x, y, z) values (1, 2, 3)")
        )
        await conn.execute(text("my_special_procedure(5)"))


)rV   r   rb   s     r   rr   AsyncEngine.begin|  s     ||~t$$r   c                 $    U R                  U 5      $ )a  Return an :class:`_asyncio.AsyncConnection` object.

The :class:`_asyncio.AsyncConnection` will procure a database
connection from the underlying connection pool when it is entered
as an async context manager::

    async with async_engine.connect() as conn:
        result = await conn.execute(select(user_table))

The :class:`_asyncio.AsyncConnection` may also be started outside of a
context manager by invoking its :meth:`_asyncio.AsyncConnection.start`
method.

)_connection_clsr\   s    r   rV   AsyncEngine.connect  s      ##D))r   c                 \   #    [        U R                  R                  5      I Sh  vN $  N7f)zgReturn a "raw" DBAPI connection from the connection pool.

.. seealso::

    :ref:`dbapi_connections`

N)r   r   raw_connectionr\   s    r   r   AsyncEngine.raw_connection  s$      $D$4$4$C$CDDDDr   c                 L    [        U R                  R                  " S0 UD65      $ )zReturn a new :class:`_asyncio.AsyncEngine` that will provide
:class:`_asyncio.AsyncConnection` objects with the given execution
options.

Proxied from :meth:`_future.Engine.execution_options`.  See that
method for details.

r3   )r   r   r   )rI   r   s     r   r   AsyncEngine.execution_options  s#     4++==DDEEr   c                 ^   #    [        U R                  R                  5      I Sh  vN   g N7f)a5  Dispose of the connection pool used by this
:class:`_asyncio.AsyncEngine`.

This will close all connection pool connections that are
**currently checked in**.  See the documentation for the underlying
:meth:`_future.Engine.dispose` method for further notes.

.. seealso::

    :meth:`_future.Engine.dispose`

N)r   r   disposer\   s    r   r  AsyncEngine.dispose  s!      T--55666s   #-+-)rg   r   N)r4   r5   r6   r7   r   r8   rB   r   typer   r   r   rK   r   r   rR   rr   rV   r   r   r  r9   r3   r   r   r   r   .  sh    
" ,I%O'% '&M  # #%$*$E
F7r   r   c                       \ rS rSrSrSrSS jr\S 5       rS r	\
S 5       r\
S 5       r\
S	 5       rS
 rS rS rSS jrS rSrg)rq   i  z4An asyncio proxy for a :class:`_engine.Transaction`.r]   sync_transactionru   c                 *    Xl         S U l        X l        g rG   r  )rI   r]   ru   s      r   rK   AsyncTransaction.__init__  s    $ $r   c                     UR                   nUn[        U[        5      n[        R	                  U5      nUc   eU R                  U 5      nXVl         UR                  U5      Ul        XFl        U$ rG   )	r]   
isinstancer   rB   rN   __new__rH   r  ru   )rP   rQ   rE   r  ru   async_connectionobjs          r   rR   -AsyncTransaction._regenerate_proxy_for_target  ss     ++!F$56*EE
  +++kk#)"223CD

r   c                 \    U R                   (       d  U R                  5         U R                   $ rG   )r  rm   r\   s    r   _sync_transaction"AsyncTransaction._sync_transaction  s#    $$'')$$$r   c                     U R                   $ rG   )r  r\   s    r   rg   AsyncTransaction._proxied  s    $$$r   c                 6    U R                  5       R                  $ rG   )r  is_validr\   s    r   r  AsyncTransaction.is_valid  s    %%'000r   c                 6    U R                  5       R                  $ rG   )r  	is_activer\   s    r   r  AsyncTransaction.is_active  s    %%'111r   c                 f   #    [        U R                  5       R                  5      I Sh  vN   g N7f)a  Close this :class:`.Transaction`.

If this transaction is the base transaction in a begin/commit
nesting, the transaction will rollback().  Otherwise, the
method returns.

This is used to cancel a Transaction without affecting the scope of
an enclosing transaction.

N)r   r  r   r\   s    r   r   AsyncTransaction.close  s$      T335;;<<<   '1/1c                 f   #    [        U R                  5       R                  5      I Sh  vN   g N7f)z%Roll back this :class:`.Transaction`.N)r   r  r   r\   s    r   r   AsyncTransaction.rollback   s"     T335>>???r  c                 f   #    [        U R                  5       R                  5      I Sh  vN   g N7f)z"Commit this :class:`.Transaction`.N)r   r  r   r\   s    r   r   AsyncTransaction.commit  s$      T335<<===r  c                 P  #    U R                  [        U R                  (       a$  U R                  R	                  5       R
                  O#U R                  R	                  5       R                  5      I Sh  vN 5      U l        U(       a  U R                  R                  5         U $  N07f)zkStart this :class:`_asyncio.AsyncTransaction` object's context
outside of using a Python ``with:`` block.

N)	rH   r   ru   r]   r`   rv   rr   r  	__enter__rW   s     r   rY   AsyncTransaction.start	  s}      !% 4 4 ;; 002??__557== !
 !!++-s   A1B&3B$41B&c                 j   #    [        U R                  5       R                  XU5      I S h  vN   g  N7frG   )r   r  __exit__)rI   r   r+   r   s       r   r   AsyncTransaction.__aexit__  s-     ""$--uY
 	
 	
r   )r]   ru   r  Nr   )r4   r5   r6   r7   r   r8   rK   r   rR   r  r   rg   r  r  r   r   r   rY   r   r9   r3   r   r   rq   rq     s~    ><I
   %
 % % 1 1 2 2=@>
"
r   rq   c                     [        U [        5      (       a  U R                  $  U R                  $ ! [         a  n[
        R                  " SU -  5      UeS nAff = f)NzAsyncEngine expected, got %r)r  rB   rE   r   AttributeErrorr   ArgumentError)rJ   es     r   _get_sync_engine_or_connectionr,     sZ    ,00+++''' *\9
	s   / 
AAAc                 ,    [         R                  " SSS9e)NzInspection on an AsyncConnection is currently not supported. Please use ``run_sync`` to pass a callable where it's possible to call ``inspect`` on the passed connection.xd3scoder   NoInspectionAvailablesubjects    r   _no_insp_for_async_conn_yetr5  ,  s    

#
#	8 	 r   c                 ,    [         R                  " SSS9e)NzInspection on an AsyncEngine is currently not supported. Please obtain a connection then use ``conn.run_sync`` to pass a callable where it's possible to call ``inspect`` on the passed connection.r.  r/  r1  r3  s    r   _no_insp_for_async_engine_xyetr7  6  s    

#
#	  r   )zsqlalchemy.)!r    r   r   baser   r   r   r   r   r
   r   rD   r   r   engine.baser   r   r   r   util.concurrencyr   r   r-   r/   create_proxy_methodsrB   r   rq   r,  	_inspectsr5  r7  r3   r   r   <module>r>     s"     ! " '     5 ,    .$./.1 1 !'T#o'79I T#T#n 
#
 NJ7/#3 J7J7ZV
(8 V
r	 o& ' k" #r   