Skip to content

Commit

Permalink
Replace types boolean with bool.
Browse files Browse the repository at this point in the history
Uses the command:

    ag -l 'type ([^:]+): boolean' | \
        xargs gsed -r -i.bak -e 's/type ([^:]+): boolean/type \1: bool/g'
  • Loading branch information
tswast committed Oct 20, 2016
1 parent bc7dd05 commit c92e40d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def group(self, group_id=None, display_name=None, parent_id=None,
The filter string used to determine which monitored resources
belong to this group.
:type is_cluster: boolean
:type is_cluster: bool
:param is_cluster:
If true, the members of this group are considered to be a cluster.
The system can perform additional analysis on groups that are
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ class Group(object):
The filter string used to determine which monitored resources belong to
this group.
:type is_cluster: boolean
:type is_cluster: bool
:param is_cluster:
If true, the members of this group are considered to be a cluster. The
system can perform additional analysis on groups that are clusters.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ def iter(self, headers_only=False, page_size=None):
for timeseries in query.iter():
...
:type headers_only: boolean
:type headers_only: bool
:param headers_only:
Whether to omit the point data from the time series objects.
Expand Down Expand Up @@ -505,7 +505,7 @@ def _build_query_params(self, headers_only=False,
We use a series of key-value pairs (suitable for passing to
``urlencode``) instead of a ``dict`` to allow for repeated fields.
:type headers_only: boolean
:type headers_only: bool
:param headers_only:
Whether to omit the point data from the
:class:`~google.cloud.monitoring.timeseries.TimeSeries` objects.
Expand Down

0 comments on commit c92e40d

Please sign in to comment.