Skip to content

Commit

Permalink
docs: change the documentation for using 'six.moves.collections_abc.M…
Browse files Browse the repository at this point in the history
…apping' instead of 'dict' in 'client_options.from_dict()' (#53)
  • Loading branch information
paul1319 committed Jun 23, 2020
1 parent cc56733 commit c890675
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions google/api_core/client_options.py
Expand Up @@ -33,7 +33,7 @@ def get_client_cert():
client = ImageAnnotatorClient(client_options=options)
You can also pass a dictionary.
You can also pass a mapping object.
.. code-block:: python
Expand Down Expand Up @@ -98,10 +98,10 @@ def __repr__(self):


def from_dict(options):
"""Construct a client options object from a dictionary.
"""Construct a client options object from a mapping object.
Args:
options (Dict[str, Any]): A dictionary with client options.
options (six.moves.collections_abc.Mapping): A mapping object with client options.
See the docstring for ClientOptions for details on valid arguments.
"""

Expand Down

0 comments on commit c890675

Please sign in to comment.