Skip to content

Commit c890675

Browse files
authored
docs: change the documentation for using 'six.moves.collections_abc.Mapping' instead of 'dict' in 'client_options.from_dict()' (#53)
1 parent cc56733 commit c890675

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

google/api_core/client_options.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def get_client_cert():
3333
3434
client = ImageAnnotatorClient(client_options=options)
3535
36-
You can also pass a dictionary.
36+
You can also pass a mapping object.
3737
3838
.. code-block:: python
3939
@@ -98,10 +98,10 @@ def __repr__(self):
9898

9999

100100
def from_dict(options):
101-
"""Construct a client options object from a dictionary.
101+
"""Construct a client options object from a mapping object.
102102
103103
Args:
104-
options (Dict[str, Any]): A dictionary with client options.
104+
options (six.moves.collections_abc.Mapping): A mapping object with client options.
105105
See the docstring for ClientOptions for details on valid arguments.
106106
"""
107107

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy