From 844c2c69ab34294142978424d9835b0fe1db644d Mon Sep 17 00:00:00 2001 From: Joshua Harlow Date: Wed, 11 Mar 2015 15:25:41 -0700 Subject: [PATCH] Put underscore in-front of alchemist helper Since this is a internal helper object we should put a underscore infront of its class name to make sure this is obvious (the docstring says the same thing but this will help). Change-Id: I3aeb6a178c8ceda0c36d5f5bb57bb765260cbd3c --- taskflow/persistence/backends/impl_sqlalchemy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/taskflow/persistence/backends/impl_sqlalchemy.py b/taskflow/persistence/backends/impl_sqlalchemy.py index 4368b78a..24fedc04 100644 --- a/taskflow/persistence/backends/impl_sqlalchemy.py +++ b/taskflow/persistence/backends/impl_sqlalchemy.py @@ -180,7 +180,7 @@ def _ping_listener(dbapi_conn, connection_rec, connection_proxy): raise -class Alchemist(object): +class _Alchemist(object): """Internal <-> external row <-> objects + other helper functions. NOTE(harlowja): for internal usage only. @@ -343,7 +343,7 @@ class Connection(base.Connection): self._engine = backend.engine self._metadata = sa.MetaData() self._tables = tables.fetch(self._metadata) - self._converter = Alchemist(self._tables) + self._converter = _Alchemist(self._tables) @property def backend(self):