Skip to content

Commit 90eb8ce

Browse files
committed
Feedback updates
1 parent c5c1164 commit 90eb8ce

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

gcloud/monitoring/query.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ def select_projects(self, *args):
219219
query = query.select_projects('project-1')
220220
query = query.select_projects('project-1', 'project-2')
221221
222-
:type args: str
222+
:type args: tuple
223223
:param args: Project IDs limiting the resources to be included
224224
in the query.
225225
@@ -269,12 +269,12 @@ def select_resources(self, *args, **kwargs):
269269
not a resource label. You would filter on it using
270270
``select_metrics(instance_name=...)``.
271271
272-
:type args: str
272+
:type args: tuple
273273
:param args: Raw filter expression strings to include in the
274274
conjunction. If just one is provided and no keyword arguments
275275
are provided, it can be a disjunction.
276276
277-
:type kwargs: str
277+
:type kwargs: dict
278278
:param kwargs: Label filters to include in the conjunction as
279279
described above.
280280
@@ -312,12 +312,12 @@ def select_metrics(self, *args, **kwargs):
312312
313313
metric.label.<label> = ends_with("<value>")
314314
315-
:type args: str
315+
:type args: tuple
316316
:param args: Raw filter expression strings to include in the
317317
conjunction. If just one is provided and no keyword arguments
318318
are provided, it can be a disjunction.
319319
320-
:type kwargs: str
320+
:type kwargs: dict
321321
:param kwargs: Label filters to include in the conjunction as
322322
described above.
323323

gcloud/monitoring/timeseries.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ class Point(collections.namedtuple('Point', 'end_time start_time value')):
127127
:type start_time: string or None
128128
:param start_time: An optional start time in RFC3339 UTC "Zulu" format.
129129
130-
:type value: int
130+
:type value: object
131131
:param value: The metric value. This can be a scalar or a distribution.
132132
"""
133133
__slots__ = ()

gcloud/streaming/http_wrapper.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -434,7 +434,7 @@ def _register_http_factory(factory):
434434
def get_http(**kwds):
435435
"""Construct an Http instance.
436436
437-
:type kwds: str, int
437+
:type kwds: dict
438438
:param kwds: keyword arguments to pass to factories.
439439
440440
:rtype: :class:`httplib2.Http` (or a workalike)

0 commit comments

Comments
 (0)