@@ -8,8 +8,9 @@ An AsyncConnection object can be created with :meth:`oracledb.connect_async()`
88or with :meth: `AsyncConnectionPool.acquire() `. AsyncConnections support use of
99concurrent programming with `asyncio <https://docs.python.org/3/library/
1010asyncio.html> `__. Unless explicitly noted as synchronous, the AsyncConnection
11- methods should be used with ``await ``. This object is an extension to the DB
12- API.
11+ methods should be used with ``await ``.
12+
13+ .. dbapiobjectextension ::
1314
1415.. versionadded :: 2.0.0
1516
@@ -647,20 +648,18 @@ AsyncConnection Attributes
647648
648649 This read-only attribute specifies the session serial number associated with
649650 the connection. It is the same value returned by the SQL
650- ``SELECT SERIAL# FROM V$SESSION ``. It is available only in python-oracledb
651- Thin mode.
651+ ``SELECT SERIAL# FROM V$SESSION ``.
652652
653- .. versionadded :: 2.5.0
653+ It is available only in python-oracledb Thin mode.
654654
655- .. note ::
655+ For applications using :ref: `drcp `, the ``serial_num `` attribute may not
656+ contain the current session state until a round-trip is made to the
657+ database after acquiring a session. It is recommended to not use this
658+ attribute if your application uses DRCP but may not perform a round-trip.
656659
657- This attribute is an extension to the DB API definition.
660+ .. dbapiattributeextension ::
658661
659- For applications using :ref: `drcp `, the ``serial_num `` attribute may
660- not contain the current session state until a round-trip is made to the
661- database after acquiring a session. It is recommended to not use this
662- attribute if your application uses DRCP but may not perform a
663- round-trip.
662+ .. versionadded :: 2.5.0
664663
665664.. attribute :: AsyncConnection.service_name
666665
@@ -672,20 +671,19 @@ AsyncConnection Attributes
672671
673672 This read-only attribute specifies the session identifier associated with
674673 the connection. It is the same value returned by the SQL
675- ``SELECT SID FROM V$SESSION ``. It is available only in python-oracledb
676- Thin mode.
674+ ``SELECT SID FROM V$SESSION ``.
677675
678- .. versionadded :: 2.5.0
676+ It is available only in python-oracledb Thin mode.
679677
680- .. note ::
678+ For applications using :ref: `drcp `, the ``session_id `` attribute may
679+ not contain the current session state until a round-trip is made to the
680+ database after acquiring a session. It is recommended to not use this
681+ attribute if your application uses DRCP but may not perform a
682+ round-trip.
681683
682- This attribute is an extension to the DB API definition.
684+ .. dbapiattributeextension ::
683685
684- For applications using :ref: `drcp `, the ``session_id `` attribute may
685- not contain the current session state until a round-trip is made to the
686- database after acquiring a session. It is recommended to not use this
687- attribute if your application uses DRCP but may not perform a
688- round-trip.
686+ .. versionadded :: 2.5.0
689687
690688.. attribute :: AsyncConnection.stmtcachesize
691689
0 commit comments