Skip to content
Prev Previous commit
Next Next commit
more docs fixups
  • Loading branch information
Bill Prin committed May 9, 2017
commit 5559ba9c9f811f29629963e40f9203863bada942
6 changes: 3 additions & 3 deletions logging/google/cloud/logging/logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ def log_struct(self, info, client=None, labels=None, insert_id=None,
:param http_request: (optional) info about HTTP request associated with
the entry.

:type resource :class:``google.cloud.logging.resource`
:type resource :class:``google.cloud.logging.resource.Resource`

This comment was marked as spam.

This comment was marked as spam.

:param resource: (Optional) Monitored resource of the entry, defaults
to the global resource type.

Expand Down Expand Up @@ -291,7 +291,7 @@ def log_proto(self, message, client=None, labels=None, insert_id=None,
:param http_request: (optional) info about HTTP request associated with
the entry.

:type resource :class:``google.cloud.logging.resource`
:type resource :class:``google.cloud.logging.resource.Resource`

This comment was marked as spam.

This comment was marked as spam.

:param resource: (Optional) Monitored resource of the entry

:type timestamp: :class:`datetime.datetime`
Expand Down Expand Up @@ -473,7 +473,7 @@ def log_proto(self, message, labels=None, insert_id=None, severity=None,
:type timestamp: :class:`datetime.datetime`
:param timestamp: (optional) timestamp of event being logged.

:type resource :class:``google.cloud.logging.resource`
:type resource :class:``google.cloud.logging.resource.Resource`
:param resource: (Optional) Monitored resource of the entry
"""
self.entries.append(
Expand Down
4 changes: 2 additions & 2 deletions logging/nox.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def lint(session):
Returns a failure if flake8 finds linting errors or sufficiently
serious code quality issues.
"""
session.interpreter = 'python3.6'
session.interpreter = 'python3.5'

This comment was marked as spam.

This comment was marked as spam.

This comment was marked as spam.

session.install('flake8', *LOCAL_DEPS)
session.install('.')
session.run('flake8', 'google/cloud/logging')
Expand All @@ -95,7 +95,7 @@ def cover(session):
This outputs the coverage report aggregating coverage from the unit
test runs (not system test runs), and then erases coverage data.
"""
session.interpreter = 'python3.6'
session.interpreter = 'python3.5'

This comment was marked as spam.

session.install('coverage', 'pytest-cov')
session.run('coverage', 'report', '--show-missing', '--fail-under=100')
session.run('coverage', 'erase')