@@ -11,107 +11,80 @@ Defaults Class
1111
1212.. autoclass :: Defaults 
1313
14-     A Defaults object contains attributes that can be used to adjust the
15-     behavior of the python-oracledb driver.
14+     See :ref: `settingdefaults `.
1615
17- An example of changing a default value is:
18- 
19- .. code-block :: python 
20- 
21-     import  oracledb 
22- 
23-     oracledb.defaults.fetch_lobs =  False   #  return LOBs directly as strings or bytes 
16+ .. _defaultsattributes :
2417
2518Defaults Attributes
2619=================== 
2720
2821.. autoproperty :: Defaults.arraysize 
2922
30-     This is an attribute for tuning the performance of fetching rows from
31-     Oracle Database. It does not affect data insertion. See :ref: `Tuning Fetch 
32-     Performance <tuningfetch>`.
23+     See :ref: `Tuning Fetch Performance  <tuningfetch >`.
3324
3425.. autoproperty :: Defaults.config_dir 
3526
36-     At time of ``import oracledb `` the value of
37-     ``oracledb.defaults.config_dir `` will be set to (first one wins):
38- 
39-     - the value of ``$TNS_ADMIN ``, if ``TNS_ADMIN `` is set.
40- 
41-     - ``$ORACLE_HOME/network/admin ``, if ``$ORACLE_HOME `` is set.
42- 
43-     Otherwise, ``oracledb.defaults.config_dir `` will not be set.
44- 
4527    See :ref: `optnetfiles `.
4628
4729    .. versionchanged :: 3.0.0 
4830
4931        The directory ``$ORACLE_HOME/network/admin `` was added to the
5032        heuristic.
5133
52-         At completion of a call to :meth: `oracledb.init_oracle_client() ` in
53-         Thick mode, the value of :attr: `Defaults.config_dir ` may get changed
54-         by python-oracledb.
55- 
5634.. autoproperty :: Defaults.driver_name 
5735
58-     See :ref: `otherinit `.
36+     See :ref: `otherinit ` and  :ref: ` dbviews ` .
5937
6038    .. versionadded :: 2.5.0 
6139
6240.. autoproperty :: Defaults.fetch_decimals 
6341
64-     An output type handler such as previously required in the obsolete
65-     cx_Oracle driver can alternatively be used to adjust the returned type.  If
66-     a type handler exists and returns a variable (that is,
67-     ``cursor.var(...) ``), then that return variable is used.  If the type
68-     handler returns *None *, then the value of
69-     ``oracledb.defaults.fetch_decimals `` is used to determine whether to return
70-     ``decimal.Decimal `` values.
42+     See `decimal.Decimal <https://docs.python.org 
43+     /3/library/decimal.html#decimal-objects> `__.
7144
7245.. autoproperty :: Defaults.fetch_lobs 
7346
7447    See :ref: `lobdata `.
7548
76-     An output type handler such as the one previously required in the obsolete
77-     cx_Oracle driver can alternatively be used to adjust the returned type.  If
78-     a type handler exists and returns a variable (that is, `cursor.var(...) `),
79-     then that return variable is used. If the type handler returns *None *, then
80-     the value of ``oracledb.defaults.fetch_lobs `` is used.
81- 
8249.. autoproperty :: Defaults.machine 
8350
51+     See :ref: `dbviews `.
52+ 
8453    .. versionadded :: 2.5.0 
8554
8655.. autoproperty :: Defaults.osuser 
8756
57+     See :ref: `dbviews `.
58+ 
8859    .. versionadded :: 2.5.0 
8960
9061.. autoproperty :: Defaults.prefetchrows 
9162
92-     This is an attribute for tuning the performance of fetching rows from
93-     Oracle Database. It does not affect data insertion. See :ref: `Tuning Fetch 
94-     Performance <tuningfetch>`.
63+     See :ref: `tuningfetch `.
9564
9665.. autoproperty :: Defaults.program 
9766
67+     See :ref: `dbviews `.
68+ 
9869    .. versionadded :: 2.5.0 
9970
10071.. autoproperty :: Defaults.stmtcachesize 
10172
102-     This is a tuning attribute, see  :ref: `stmtcache `.
73+     See  :ref: `stmtcache `.
10374
10475.. autoproperty :: Defaults.terminal 
10576
77+     See :ref: `dbviews `.
78+ 
10679    .. versionadded :: 2.5.0 
10780
10881.. autoproperty :: Defaults.thick_mode_dsn_passthrough 
10982
11083    When ``thick_mode_dsn_passthrough `` is the default value `True `, the
111-     behavior of python-oracledb 2.5 and earlier versions occurs: Thick mode 
112-     passes connect strings unchanged to the Oracle Client libraries to 
113-     handle. Those libraries have their own heuristics for locating the optional 
114-     :ref: `tnsnames.ora  <optnetfiles >`, if used.
84+     behavior of python-oracledb 2.5 and earlier versions occurs:
85+     python-oracledb Thick mode  passes connect strings unchanged to the Oracle
86+     Client libraries to  handle. Those libraries have their own heuristics for
87+     locating the optional  :ref: `tnsnames.ora  <optnetfiles >`, if used.
11588
11689    When ``thick_mode_dsn_passthrough `` is `False `, python-oracledb Thick mode
11790    behaves similarly to Thin mode, which can be helpful for applications that
0 commit comments