Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc890675

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

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 adictionary.
36+
You can also pass amapping object.
3737
3838
.. code-block:: python
3939
@@ -98,10 +98,10 @@ def __repr__(self):
9898

9999

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

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp