Commit Graph

25 Commits

Author SHA1 Message Date
Anthony Tuininga fdbecac78b Added new parameter "ssl_context" as suggested (#259). 2023-11-24 21:49:55 -07:00
Anthony Tuininga 367e50836d Added attribute proxy_user on connections, as requested (#250). 2023-11-24 14:42:46 -07:00
Anthony Tuininga b60e4e90ab Minor refactor to perform error checking as early as possible. 2023-11-21 16:40:53 -07:00
Anthony Tuininga ecdf3b4075 Added properties on the Connection object to determine the database
domain name, the database name, the maximum number of open cursors, the
service name and whether a transaction is in progress or not.
2023-10-10 14:20:45 -06:00
Anthony Tuininga 31cac38806 Black is now used to format Python code and ruff to lint Python code. 2023-10-10 14:19:11 -06:00
Anthony Tuininga 3e83ab1c03 Add new property "instance_name" on connections. 2023-07-20 13:59:11 -06:00
Anthony Tuininga e93aab9399 Added support for sending a generated connection identifier to the
database.
2023-06-23 13:38:36 -06:00
Anthony Tuininga f91555d41a Relaxed restriction for end-to-end string connection attributes. These
values can be set to the value "None" which will be treated the same as
an empty string.
2023-06-14 18:37:36 -06:00
Anthony Tuininga 72a677ae88 Make type checkers happy. 2023-03-27 16:05:17 -06:00
Anthony Tuininga 4ff3ad8587 Added ConnectParams.parse_dsn_with_credentials() and associated tests to
ensure that the ability to use a dsn containing credentials works as
expected (and corrected bug that was preventing this from happening).
2023-03-27 15:31:46 -06:00
Anthony Tuininga 5e2334784e Corrected the __repr__() value of Connections to include the actual
module name instead of a hard-coded "oracledb".
2022-11-19 10:35:59 -07:00
Anthony Tuininga 0acdfdb5ad Added support for binding and fetching data of type DB_TYPE_OBJECT
(#43).
2022-11-01 14:33:39 -06:00
Anthony Tuininga 5465dcca03 Fix error typo. 2022-11-01 14:23:29 -06:00
Anthony Tuininga 9db900c31d Fixed bug that caused "Connection.is_healthy()" to return "True"
after a connection has been killed.
2022-09-28 18:07:09 -06:00
Anthony Tuininga 53ca123632 The mode of python-oracledb is now fixed only after a call to
"oracledb.init_oracle_client()", "oracledb.connect()" or
"oracledb.create_pool()" has completed successfully (#44).
2022-09-20 11:03:13 -06:00
Anthony Tuininga 5e2fa53781 Fixed type checking errors (#52). 2022-09-16 20:19:52 -06:00
Anthony Tuininga 626ef8ffdc Add missing Union in typing declaration. 2022-09-16 20:17:30 -06:00
Anthony Tuininga 7506506856 Added support for enqueuing and dequeing AQ messages as JSON. 2022-08-27 15:56:53 -06:00
Anthony Tuininga 3a13440bde Added support for token authentication (Azure OAuth and IAM) via the new
parameter "access_token" to oracledb.connect() and
oracledb.create_pool().
2022-08-27 15:54:18 -06:00
Anthony Tuininga 4f7e9b6476 The connect() and create_pool() functions now have complete
documentation on their arguments.
2022-06-24 10:51:51 -06:00
Anthony Tuininga 89d1a468a1 Make externalauth a common parameter (which is optional for standalone
connections).
2022-06-22 15:31:54 -06:00
Anthony Tuininga 68c6f35fe2 Use functools.wraps() instead of manipulating __qualname__; use the name
of the top-level function in order to make the function name match in
versions earlier than Python 3.10.
2022-06-09 19:08:24 -06:00
Anthony Tuininga 72f44e5357 Tweaks to the doc strings for factory functions and constructors of
Connection and ConnectionPool.
2022-06-09 13:54:57 -06:00
Anthony Tuininga e9db983298 Ensured the name of wrapped functions are the same as the function being
wrapped in order to improve error messages that reference them.
2022-05-26 11:45:23 -06:00
Anthony Tuininga 6d5d93eeb9 Initial commit. 2022-05-20 16:08:18 -06:00