From 0a035933c813631f0c523bcc3b603dbd6ebf031e Mon Sep 17 00:00:00 2001 From: Dong Ma Date: Sat, 1 Jul 2017 19:45:52 +0800 Subject: turn on warning-is-error in doc build Change-Id: I0b64c644f40a2da3242274194d1a5d2858813c25 --- doc/source/user/usage.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc') 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 `_ is preferred: -- cgit v1.2.1