This repository was archived by the owner on Mar 31, 2026. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -79,6 +79,7 @@ class Client(ClientWithProject):
7979 requests. If ``None``, then default info will be used. Generally,
8080 you only need to set this if you're developing your own library
8181 or partner tool.
82+
8283 :type client_options: :class:`~google.api_core.client_options.ClientOptions` or :class:`dict`
8384 :param client_options: (Optional) Client options used to set user options on the client.
8485 API Endpoint should be set through client_options.
@@ -100,15 +101,21 @@ def __init__(
100101 client_options = None ,
101102 ):
102103 self ._base_connection = None
104+
103105 if project is None :
104106 no_project = True
105107 project = "<none>"
106108 else :
107109 no_project = False
110+
108111 if project is _marker :
109112 project = None
113+
110114 super (Client , self ).__init__ (
111- project = project , credentials = credentials , _http = _http
115+ project = project ,
116+ credentials = credentials ,
117+ client_options = client_options ,
118+ _http = _http ,
112119 )
113120
114121 kw_args = {"client_info" : client_info }
@@ -126,6 +133,7 @@ def __init__(
126133
127134 if no_project :
128135 self .project = None
136+
129137 self ._connection = Connection (self , ** kw_args )
130138 self ._batch_stack = _LocalStack ()
131139
Original file line number Diff line number Diff line change 3030release_status = "Development Status :: 5 - Production/Stable"
3131dependencies = [
3232 "google-auth >= 1.11.0, < 2.0dev" ,
33- "google-cloud-core >= 1.2 .0, < 2.0dev" ,
33+ "google-cloud-core >= 1.4 .0, < 2.0dev" ,
3434 "google-resumable-media >= 0.6.0, < 2.0dev" ,
3535]
3636extras = {}
You can’t perform that action at this time.
0 commit comments