diff options
author | Dong Ma <winterma.dong@gmail.com> | 2017-07-01 19:45:52 +0800 |
---|---|---|
committer | Dong Ma <winterma.dong@gmail.com> | 2017-07-03 11:28:14 +0000 |
commit | 0a035933c813631f0c523bcc3b603dbd6ebf031e (patch) | |
tree | 88913cebef0ed26ad0fb6cddc411831a2875057e /doc | |
parent | bd35a6e841550cb01c4bbf94979805369474db54 (diff) | |
download | oslo-db-0a035933c813631f0c523bcc3b603dbd6ebf031e.tar.gz |
turn on warning-is-error in doc build
Change-Id: I0b64c644f40a2da3242274194d1a5d2858813c25
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/user/usage.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/source/user/usage.rst b/doc/source/user/usage.rst index 1b2d996..2fe883c 100644 --- a/doc/source/user/usage.rst +++ b/doc/source/user/usage.rst @@ -9,7 +9,7 @@ Session Handling Session handling is achieved using the :mod:`oslo_db.sqlalchemy.enginefacade` system. This module presents a function decorator as well as a -context manager approach to delivering :class:`.Session` as well as +context manager approach to delivering :class:`.session.Session` as well as :class:`.Connection` objects to a function or block. Both calling styles require the use of a context object. This object may @@ -76,7 +76,7 @@ decorator. Each function must receive the context argument: some_writer_api_function(context, 5, 10) -``connection`` modifier can be used when a :class:`.Session` object is not +``connection`` modifier can be used when a :class:`.session.Session` object is not needed, e.g. when `SQLAlchemy Core <http://docs.sqlalchemy.org/en/latest/core/>`_ is preferred: |