Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cut 0.19.0 release. #2270

Merged
merged 1 commit into from
Sep 19, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,12 @@ after_success:

deploy:
provider: pypi
user: silvolu
user: gcloudpypi
password:
secure: keSFPLzVj/yAAJ8kw4m+U5kpIiGqubpDqhcHPlGAvMohFMIO4D8ffgCqJdbhQshTtb/wiS5ajK1KNpEzq4BKD/5oRXuj/sIRTMENzX/azUXkT/bADLEGocyfE4/NAGQ9mcDOmHntjt7UUhYN6H87rgex22er4V1vD5tGf5Kc1HU=
secure: LR0i9Oeu6kpLTYS5xK/zCng4gmdtPvFfD/XYdQhyY5jBibQkC2WUQU6nJA9bDXRxhBP5bUwXFGkbhOcOJgHNrUfmyPzpDbM8BR29KfY0WfdYv72gsGZOaekqCReFmHbqLE7qOQtHR5U3ey6ivcgw+hZO72Uu6qDCc9B8qwoBfAs=
on:
tags: true
repo: GoogleCloudPlatform/google-cloud-python
# until this is fixed: https://github.com/travis-ci/travis-ci/issues/1675
all_branches: true
# 'bdist_wheel' builds disabled until #1879 et al. are resolved.
distributions: "sdist"
Expand Down
10 changes: 5 additions & 5 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Quick Start

::

$ pip install --upgrade gcloud
$ pip install --upgrade google-cloud

Example Applications
--------------------
Expand Down Expand Up @@ -328,7 +328,7 @@ Apache 2.0 - See `LICENSE`_ for more information.
:target: https://travis-ci.org/GoogleCloudPlatform/google-cloud-python
.. |coverage| image:: https://coveralls.io/repos/GoogleCloudPlatform/google-cloud-python/badge.png?branch=master
:target: https://coveralls.io/r/GoogleCloudPlatform/google-cloud-python?branch=master
.. |pypi| image:: https://img.shields.io/pypi/v/gcloud.svg
:target: https://pypi.python.org/pypi/gcloud
.. |versions| image:: https://img.shields.io/pypi/pyversions/gcloud.svg
:target: https://pypi.python.org/pypi/gcloud
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud.svg
:target: https://pypi.python.org/pypi/google-cloud
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud.svg
:target: https://pypi.python.org/pypi/google-cloud
4 changes: 2 additions & 2 deletions docs/vision-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ Annotate multiple images
.. code-block:: python
>>> import io
>>> from gcloud import vision
>>> from google.cloud import vision
>>> client = vision.Client()
>>> with io.open('./image.png', 'rb') as image_file:
>>> with io.open('./image.png', 'rb') as image_file:
... image_one = client.image(content=image_file.read())
>>> image_two = client.image(source_uri='gs://my-storage-bucket/image.jpg')
>>> with client.batch():
Expand Down
4 changes: 2 additions & 2 deletions google/cloud/bigquery/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ def list_projects(self, max_results=None, page_token=None):
projects.
:rtype: tuple, (list, str)
:returns: list of :class:`gcloud.bigquery.client.Project`, plus a
"next page token" string: if the token is not None,
:returns: list of :class:`~google.cloud.bigquery.client.Project`,
plus a "next page token" string: if the token is not None,
indicates that more projects can be retrieved with another
call (pass that value as ``page_token``).
"""
Expand Down
18 changes: 9 additions & 9 deletions google/cloud/resource_manager/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def new_project(self, project_id, name=None, labels=None):
Use :meth:`Project.reload() \
<google.cloud.resource_manager.project.Project.reload>` to retrieve
project metadata after creating a
:class:`~gcloud.resource_manager.project.Project` instance.
:class:`~google.cloud.resource_manager.project.Project` instance.
.. note:
Expand All @@ -69,9 +69,9 @@ def new_project(self, project_id, name=None, labels=None):
:type labels: dict
:param labels: A list of labels associated with the project.
:rtype: :class:`~gcloud.resource_manager.project.Project`
:rtype: :class:`~google.cloud.resource_manager.project.Project`
:returns: A new instance of a
:class:`~gcloud.resource_manager.project.Project`
:class:`~google.cloud.resource_manager.project.Project`
**without** any metadata loaded.
"""
return Project(project_id=project_id,
Expand All @@ -88,9 +88,9 @@ def fetch_project(self, project_id):
:type project_id: str
:param project_id: The ID for this project.
:rtype: :class:`~gcloud.resource_manager.project.Project`
:returns: A :class:`~gcloud.resource_manager.project.Project` with
metadata fetched from the API.
:rtype: :class:`~google.cloud.resource_manager.project.Project`
:returns: A :class:`~google.cloud.resource_manager.project.Project`
with metadata fetched from the API.
"""
project = self.new_project(project_id)
project.reload()
Expand Down Expand Up @@ -145,7 +145,7 @@ def list_projects(self, filter_params=None, page_size=None):
:returns: A project iterator. The iterator will make multiple API
requests if you continue iterating and there are more
pages of results. Each item returned will be a.
:class:`~gcloud.resource_manager.project.Project`.
:class:`~google.cloud.resource_manager.project.Project`.
"""
extra_params = {}

Expand All @@ -162,10 +162,10 @@ class _ProjectIterator(Iterator):
"""An iterator over a list of Project resources.
You shouldn't have to use this directly, but instead should use the
helper methods on :class:`google.cloud.resource_manager.client.Client`
helper methods on :class:`~google.cloud.resource_manager.client.Client`
objects.
:type client: :class:`google.cloud.resource_manager.client.Client`
:type client: :class:`~google.cloud.resource_manager.client.Client`
:param client: The client to use for making connections.
:type extra_params: dict
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

setup(
name='google-cloud',
version='0.18.0',
version='0.19.0',
description='API Client library for Google Cloud',
author='Google Cloud Platform',
author_email='jjg+google-cloud-python@google.com',
Expand Down