-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
cf349ce
commit 1efd5d5
Showing
26 changed files
with
1,144 additions
and
368 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -127,3 +127,6 @@ dmypy.json | |
|
||
# Pyre type checker | ||
.pyre/ | ||
|
||
# Spinx | ||
/docs/build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Minimal makefile for Sphinx documentation | ||
# | ||
|
||
# You can set these variables from the command line, and also | ||
# from the environment for the first two. | ||
SPHINXOPTS ?= | ||
SPHINXBUILD ?= sphinx-build | ||
SOURCEDIR = source | ||
BUILDDIR = build | ||
|
||
# Put it first so that "make" without argument is like "make help". | ||
help: | ||
@$(SPHINXBUILD) -M help "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) | ||
|
||
.PHONY: help Makefile | ||
|
||
# Catch-all target: route all unknown targets to Sphinx using the new | ||
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS). | ||
%: Makefile | ||
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
The generated cx_Oracle_async documentation is at https://cx_oracle_async.readthedocs.io/ | ||
|
||
This directory contains the documentation source. It is written using reST | ||
(re-Structured Text) format source files which are processed using Sphinx and | ||
turned into HTML, PDF or ePub documents. If you wish to build these yourself, | ||
you need to install Sphinx. Sphinx is available on many Linux distributions as a | ||
pre-built package. You can also install Sphinx on all platforms using the Python | ||
package manager "pip". For more information on Sphinx, please visit this page: | ||
|
||
http://www.sphinx-doc.org | ||
|
||
Once Sphinx is installed, the supplied Makefile can be used to build the | ||
different targets. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
@ECHO OFF | ||
|
||
pushd %~dp0 | ||
|
||
REM Command file for Sphinx documentation | ||
|
||
if "%SPHINXBUILD%" == "" ( | ||
set SPHINXBUILD=sphinx-build | ||
) | ||
set SOURCEDIR=source | ||
set BUILDDIR=build | ||
|
||
if "%1" == "" goto help | ||
|
||
%SPHINXBUILD% >NUL 2>NUL | ||
if errorlevel 9009 ( | ||
echo. | ||
echo.The 'sphinx-build' command was not found. Make sure you have Sphinx | ||
echo.installed, then set the SPHINXBUILD environment variable to point | ||
echo.to the full path of the 'sphinx-build' executable. Alternatively you | ||
echo.may add the Sphinx directory to PATH. | ||
echo. | ||
echo.If you don't have Sphinx installed, grab it from | ||
echo.http://sphinx-doc.org/ | ||
exit /b 1 | ||
) | ||
|
||
%SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
goto end | ||
|
||
:help | ||
%SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O% | ||
|
||
:end | ||
popd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
Sphinx | ||
sphinx-autobuild | ||
recommonmark | ||
sphinx-rtd-theme | ||
sphinx_markdown_tables |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
sphinx-autobuild source build/html |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,147 @@ | ||
.. _connobj: | ||
|
||
***************************** | ||
AsyncConnectionWrapper Object | ||
***************************** | ||
|
||
Wraps a cx_Oracle.Connection object. | ||
|
||
.. method:: AsyncConnectionWrapper.cursor() | ||
|
||
Return a new :ref:`async cursor wrapper object <cursorobj>` using the connection. | ||
|
||
This is a asynchronous method. | ||
|
||
.. method:: AsyncConnectionWrapper.msgproperties(payload, correlation, delay, exceptionq, \ | ||
expiration, priority) | ||
|
||
Returns an object specifying the properties of messages used in advanced | ||
queuing. | ||
|
||
This is a synchronous method. | ||
|
||
.. versionadded:: 0.2.0 | ||
|
||
.. note:: | ||
|
||
This method is an extension to the cx_Oracle's DB API definition. | ||
|
||
.. method:: AsyncConnectionWrapper.queue(name, payloadType=None) | ||
|
||
Creates a :ref:`queue <queue>` which is used to enqueue and dequeue | ||
messages in Advanced Queueing. | ||
|
||
The name parameter is expected to be a string identifying the queue in | ||
which messages are to be enqueued or dequeued. | ||
|
||
This is a asynchronous method. | ||
|
||
.. versionadded:: 0.2.0 | ||
|
||
.. note:: | ||
|
||
This method is an extension to the cx_Oracle's DB API definition. | ||
|
||
.. method:: AsyncConnectionWrapper.gettype(name) | ||
|
||
Return a ``cx_Oracle.type object`` given its name. This can then be | ||
used to create objects which can be bound to cursors created by this | ||
connection. | ||
|
||
This is a asynchronous method. | ||
|
||
.. versionadded:: 0.2.0 | ||
|
||
.. note:: | ||
|
||
This method is an extension to the cx_Oracle's DB API definition. | ||
|
||
.. method:: AsyncConnectionWrapper.commit() | ||
|
||
Commit any pending transactions to the database. | ||
|
||
This is a asynchronous method. | ||
|
||
.. method:: AsyncConnectionWrapper.release() | ||
|
||
Equals to cx_Oracle.SessionPool.release(connection) , by using this equivalent | ||
you don't need to operate with another ``AsyncPoolWrapper`` object. | ||
|
||
This is a asynchronous method. | ||
|
||
.. method:: AsyncConnectionWrapper.cancel() | ||
|
||
Break a long-running transaction. | ||
|
||
This is a asynchronous method. | ||
|
||
.. note:: | ||
|
||
This method is an extension to the cx_Oracle's DB API definition. | ||
|
||
.. method:: AsyncConnectionWrapper.rollback() | ||
|
||
Rollback any pending transactions. | ||
|
||
This is a asynchronous method. | ||
|
||
.. method:: AsyncConnectionWrapper.ping() | ||
|
||
Ping the server which can be used to test if the connection is still | ||
active. | ||
|
||
.. note:: | ||
|
||
This method is an extension to the cx_Oracle's DB API definition. | ||
|
||
.. attribute:: AsyncConnectionWrapper.encoding | ||
|
||
This read-only attribute returns the IANA character set name of the | ||
character set in use by the Oracle client for regular strings. | ||
|
||
.. note:: | ||
|
||
This attribute is an extension to the cx_Oracle's DB API definition. | ||
|
||
.. attribute:: AsyncConnectionWrapper.dsn | ||
|
||
This read-only attribute returns the TNS entry of the database to which a | ||
connection has been established. | ||
|
||
.. attribute:: AsyncConnectionWrapper.module | ||
|
||
This write-only attribute sets the module column in the v$session table. | ||
The maximum length for this string is 48 and if you exceed this length you | ||
will get ORA-24960. | ||
|
||
.. note: | ||
This attribute is an extension to the cx_Oracle's DB API definition. | ||
.. attribute:: AsyncConnectionWrapper.action | ||
|
||
This write-only attribute sets the action column in the v$session table. It | ||
is a string attribute and cannot be set to None -- use the empty string | ||
instead. | ||
|
||
.. note:: | ||
|
||
This attribute is an extension to the cx_Oracle's DB API definition. | ||
|
||
.. attribute:: AsyncConnectionWrapper.client_identifier | ||
|
||
This write-only attribute sets the client_identifier column in the | ||
v$session table. | ||
|
||
.. note:: | ||
|
||
This attribute is an extension to the cx_Oracle's DB API definition. | ||
|
||
.. attribute:: AsyncConnectionWrapper.clientinfo | ||
|
||
This write-only attribute sets the client_info column in the v$session | ||
table. | ||
|
||
.. note:: | ||
|
||
This attribute is an extension to the cx_Oracle's DB API definition. |
Oops, something went wrong.