From 04789aad96cf085657f5132a82a44b2c3d4a114c Mon Sep 17 00:00:00 2001 From: Sylvain Bellemare Date: Thu, 12 Jan 2017 13:41:27 +0100 Subject: [PATCH] Add docs for TABLES constant --- bigchaindb/backend/schema.py | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/bigchaindb/backend/schema.py b/bigchaindb/backend/schema.py index 8112bd14..0012d1df 100644 --- a/bigchaindb/backend/schema.py +++ b/bigchaindb/backend/schema.py @@ -1,4 +1,15 @@ -"""Database creation and schema-providing interfaces for backends.""" +"""Database creation and schema-providing interfaces for backends. + +Attributes: + TABLES (tuple): The three standard tables BigchainDB relies on: + + * ``backlog`` for incoming transactions awaiting to be put into + a block. + * ``bigchain`` for blocks. + * ``votes`` to store votes for each block by each federation + node. + +""" from functools import singledispatch import logging