Skip to content

Commit

Permalink
Adding table module to autodoc sections.
Browse files Browse the repository at this point in the history
  • Loading branch information
dhermes committed Jul 28, 2015
1 parent 8bfcf4e commit 87f5300
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
1 change: 1 addition & 0 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ Documented Modules
table-connection
client
cluster
table

Indices and tables
~~~~~~~~~~~~~~~~~~
Expand Down
7 changes: 7 additions & 0 deletions docs/table.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Table
~~~~~

.. automodule:: gcloud_bigtable.table
:members:
:undoc-members:
:show-inheritance:
3 changes: 2 additions & 1 deletion gcloud_bigtable/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,12 @@ def name(self):
"""Table name used in requests.
.. note::
This property will not change if ``table_id`` does not, but the
return value is not cached.
The table name is of the form
"projects/*/zones/*/clusters/*/tables/{table_id}"
"projects/../zones/../clusters/../tables/{table_id}"
:rtype: string
:returns: The table name.
Expand Down

0 comments on commit 87f5300

Please sign in to comment.