From 4e70836dddcd74468457e5e816eaaf07c92c2450 Mon Sep 17 00:00:00 2001 From: "Gavin M. Roy" Date: Fri, 10 Apr 2020 16:37:23 -0400 Subject: [PATCH] More documentaiton updates --- sprockets_postgres.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sprockets_postgres.py b/sprockets_postgres.py index 6747e28..a2d2942 100644 --- a/sprockets_postgres.py +++ b/sprockets_postgres.py @@ -359,7 +359,8 @@ class ApplicationMixin: loop: ioloop.IOLoop) -> None: """Setup the Postgres pool of connections and log if there is an error. - This is invoked by the Application on start callback mechanism. + This is invoked by the :class:`sprockets.http.app.Application` on start + callback mechanism. """ if 'POSTGRES_URL' not in os.environ: @@ -403,7 +404,8 @@ class ApplicationMixin: async def _postgres_shutdown(self, _ioloop: ioloop.IOLoop) -> None: """Shutdown the Postgres connections and wait for them to close. - This is invoked by the Application shutdown callback mechanism. + This is invoked by the :class:`sprockets.http.app.Application` shutdown + callback mechanism. """ if self._postgres_pool is not None: