Skip to content

Commit

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

    ag -l 'type ([^:]+): integer' | \
        xargs gsed -r -i.bak -e 's/type ([^:]+): integer/type \1: int/g'
  • Loading branch information
tswast committed Oct 20, 2016
1 parent 9a5e79a commit 0b4bd9c
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,13 +102,13 @@ def query(self,
:meth:`~google.cloud.monitoring.query.Query.select_interval`
must be called before the query is executed.
:type days: integer
:type days: int
:param days: The number of days in the time interval.
:type hours: integer
:type hours: int
:param hours: The number of hours in the time interval.
:type minutes: integer
:type minutes: int
:param minutes: The number of minutes in the time interval.
:rtype: :class:`~google.cloud.monitoring.query.Query`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,13 @@ class Query(object):
:meth:`~google.cloud.monitoring.query.Query.select_interval`
must be called before the query is executed.
:type days: integer
:type days: int
:param days: The number of days in the time interval.
:type hours: integer
:type hours: int
:param hours: The number of hours in the time interval.
:type minutes: integer
:type minutes: int
:param minutes: The number of minutes in the time interval.
:raises: :exc:`ValueError` if ``end_time`` is specified but
Expand Down Expand Up @@ -368,13 +368,13 @@ def align(self, per_series_aligner, seconds=0, minutes=0, hours=0):
See :class:`Aligner` and the descriptions of the `supported
aligners`_.
:type seconds: integer
:type seconds: int
:param seconds: The number of seconds in the alignment period.
:type minutes: integer
:type minutes: int
:param minutes: The number of minutes in the alignment period.
:type hours: integer
:type hours: int
:param hours: The number of hours in the alignment period.
:rtype: :class:`Query`
Expand Down Expand Up @@ -446,7 +446,7 @@ def iter(self, headers_only=False, page_size=None):
:param headers_only:
Whether to omit the point data from the time series objects.
:type page_size: integer or None
:type page_size: int or None
:param page_size:
An optional positive number specifying the maximum number of
points to return per page. This can be used to control how far
Expand Down Expand Up @@ -510,7 +510,7 @@ def _build_query_params(self, headers_only=False,
Whether to omit the point data from the
:class:`~google.cloud.monitoring.timeseries.TimeSeries` objects.
:type page_size: integer or None
:type page_size: int or None
:param page_size: A limit on the number of points to return per page.
:type page_token: string or None
Expand Down

0 comments on commit 0b4bd9c

Please sign in to comment.