Consider making check_and_return_mode public · Issue #10 · oracle/python-oracledb (original) (raw)

Skip to content

Provide feedback

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

@CaselIT

Description

@CaselIT

  1. Describe your new request in detail

I think it would be useful to have a way of finding the mode of the oracledb library without having to connect to the db to execute the suggested https://python-oracledb.readthedocs.io/en/latest/user_guide/tracing.html#vsessconinfo

Looking at the library it seems that there is an internal function check_and_return_mode that returns this information.
Given its returning value also a simpler wrapper called something like def is_thin_mode()->bool: ... would be enough

  1. Give supporting information about tools and operating systems. Give relevant product version numbers

n/a