diff options
author | Dov Shlachter <dovs@google.com> | 2019-11-19 15:17:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-19 15:17:46 -0800 |
commit | b6cea3c2d4e2d1a35af5246a88a87133bb5eada5 (patch) | |
tree | 83d333a8596323ababdedba3cd315b31866b5c96 /google | |
parent | 74326f4ef4f6697bad3251330c33c4464b8266f1 (diff) | |
download | python-api-core-b6cea3c2d4e2d1a35af5246a88a87133bb5eada5.tar.gz |
Add a repr method for ClientOptions (#9849)
Diffstat (limited to 'google')
-rw-r--r-- | google/api_core/client_options.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/google/api_core/client_options.py b/google/api_core/client_options.py index 1144d2f..137043f 100644 --- a/google/api_core/client_options.py +++ b/google/api_core/client_options.py @@ -50,6 +50,9 @@ class ClientOptions(object): def __init__(self, api_endpoint=None): self.api_endpoint = api_endpoint + def __repr__(self): + return "ClientOptions: " + repr(self.__dict__) + def from_dict(options): """Construct a client options object from a dictionary. |