summaryrefslogtreecommitdiff
path: root/heat/db/sqlalchemy/models.py
diff options
context:
space:
mode:
Diffstat (limited to 'heat/db/sqlalchemy/models.py')
-rw-r--r--heat/db/sqlalchemy/models.py26
1 files changed, 14 insertions, 12 deletions
diff --git a/heat/db/sqlalchemy/models.py b/heat/db/sqlalchemy/models.py
index 287bf4b2b..fe03c2f89 100644
--- a/heat/db/sqlalchemy/models.py
+++ b/heat/db/sqlalchemy/models.py
@@ -10,9 +10,8 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
-"""
-SQLAlchemy models for heat data.
-"""
+
+"""SQLAlchemy models for heat data."""
import uuid
@@ -119,6 +118,7 @@ class StackTag(BASE, HeatBase):
class SyncPoint(BASE, HeatBase):
"""Represents an syncpoint for an stack that is being worked on."""
+
__tablename__ = 'sync_point'
__table_args__ = (
sqlalchemy.PrimaryKeyConstraint('entity_id',
@@ -198,9 +198,9 @@ class StackLock(BASE, HeatBase):
class UserCreds(BASE, HeatBase):
- """
- Represents user credentials and mirrors the 'context'
- handed in by wsgi.
+ """Represents user credentials.
+
+ Also, mirrors the 'context' handed in by wsgi.
"""
__tablename__ = 'user_creds'
@@ -347,9 +347,10 @@ class WatchData(BASE, HeatBase):
class SoftwareConfig(BASE, HeatBase):
- """
- Represents a software configuration resource to be applied to
- one or more servers.
+ """Represents a software configuration resource.
+
+ Represents a software configuration resource to be applied to one or more
+ servers.
"""
__tablename__ = 'software_config'
@@ -364,9 +365,10 @@ class SoftwareConfig(BASE, HeatBase):
class SoftwareDeployment(BASE, HeatBase, StateAware):
- """
- Represents applying a software configuration resource to a
- single server resource.
+ """Represents a software deployment resource.
+
+ Represents applying a software configuration resource to a single server
+ resource.
"""
__tablename__ = 'software_deployment'