Skip to content

Commit b0ae6a4

Browse files
committed
Docstring normalization / cleanup.
Addresses: #1820 (comment) #1820 (comment)
1 parent ffa4934 commit b0ae6a4

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

gcloud/logging/connection.py

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def list_entries(self, projects, filter_=None, order_by=None,
9292
:rtype: tuple, (list, str)
9393
:returns: list of mappings, plus a "next page token" string:
9494
if not None, indicates that more entries can be retrieved
95-
with another call (pass that value as ``page_token``).
95+
with another call (pass that value as ``page_token``).
9696
"""
9797
params = {'projectIds': projects}
9898

@@ -115,7 +115,7 @@ def list_entries(self, projects, filter_=None, order_by=None,
115115

116116
def write_entries(self, entries, logger_name=None, resource=None,
117117
labels=None):
118-
"""API call: log an entry resourc3 via a POST request
118+
"""API call: log an entry resource via a POST request
119119
120120
See:
121121
https://cloud.google.com/logging/docs/api/ref_v2beta1/rest/v2beta1/entries/write
@@ -196,10 +196,9 @@ def list_sinks(self, project, page_size=None, page_token=None):
196196
sinks.
197197
198198
:rtype: tuple, (list, str)
199-
:returns: list of :class:`gcloud.logging.sink.Sink`, plus a
200-
"next page token" string: if not None, indicates that
201-
more sinks can be retrieved with another call (pass that
202-
value as ``page_token``).
199+
:returns: list of mappings, plus a "next page token" string:
200+
if not None, indicates that more sinks can be retrieved
201+
with another call (pass that value as ``page_token``).
203202
"""
204203
params = {}
205204

@@ -333,10 +332,9 @@ def list_metrics(self, project, page_size=None, page_token=None):
333332
metrics.
334333
335334
:rtype: tuple, (list, str)
336-
:returns: list of :class:`gcloud.logging.metric.Metric`, plus a
337-
"next page token" string: if not None, indicates that
338-
more metrics can be retrieved with another call (pass that
339-
value as ``page_token``).
335+
:returns: list of mappings, plus a "next page token" string:
336+
if not None, indicates that more metrics can be retrieved
337+
with another call (pass that value as ``page_token``).
340338
"""
341339
params = {}
342340

0 commit comments

Comments
 (0)