Skip to content

Commit

Permalink
Merge pull request #882 from tseaver/845-document__implicit_environ
Browse files Browse the repository at this point in the history
Improve autodocs for top-level package names.
  • Loading branch information
tseaver committed May 18, 2015
2 parents 9c4867a + fbba1c4 commit 6bc4e02
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 12 deletions.
7 changes: 3 additions & 4 deletions docs/datastore-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ Datastore
:mod:`gcloud.datastore`
~~~~~~~~~~~~~~~~~~~~~~~

.. automodule:: gcloud.datastore.__init__
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gcloud.datastore
:members: get_connection, get_default_connection, get_default_dataset_id,
set_default_connection, set_default_dataset_id, set_defaults

Connections
~~~~~~~~~~~
Expand Down
7 changes: 3 additions & 4 deletions docs/pubsub-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ Pub/Sub
:mod:`gcloud.pubsub`
~~~~~~~~~~~~~~~~~~~~~~~

.. automodule:: gcloud.pubsub.__init__
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gcloud.pubsub
:members: get_connection, get_default_connection,
set_default_connection, set_defaults

Connections
~~~~~~~~~~~
Expand Down
7 changes: 3 additions & 4 deletions docs/storage-api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,9 @@ Storage
:mod:`gcloud.storage`
~~~~~~~~~~~~~~~~~~~~~

.. automodule:: gcloud.storage.__init__
:members:
:undoc-members:
:show-inheritance:
.. automodule:: gcloud.storage
:members: get_connection, get_default_connection, get_default_bucket,
set_default_connection, set_default_bucket, set_defaults

Connections
~~~~~~~~~~~
Expand Down
2 changes: 2 additions & 0 deletions gcloud/datastore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,10 +71,12 @@ def set_defaults(dataset_id=None, connection=None):
"""Set defaults either explicitly or implicitly as fall-back.
Uses the arguments to call the individual default methods
- set_default_dataset_id
- set_default_connection
In the future we will likely enable methods like
- set_default_namespace
:type dataset_id: string
Expand Down

0 comments on commit 6bc4e02

Please sign in to comment.