@@ -100,14 +100,15 @@ def __init__(
100
100
self ._config = ConfigBuilder .build (
101
101
api_key = api_key , host = host , additional_headers = additional_headers , ** kwargs
102
102
)
103
- openapi_config = ConfigBuilder .build_openapi_config (self ._config , openapi_config )
103
+ self ._openapi_config = ConfigBuilder .build_openapi_config (self ._config , openapi_config )
104
+ self ._pool_threads = pool_threads
104
105
105
106
self ._vector_api = setup_openapi_client (
106
107
api_client_klass = ApiClient ,
107
108
api_klass = DataPlaneApi ,
108
109
config = self ._config ,
109
- openapi_config = openapi_config ,
110
- pool_threads = pool_threads ,
110
+ openapi_config = self . _openapi_config ,
111
+ pool_threads = self . _pool_threads ,
111
112
api_version = API_VERSION ,
112
113
)
113
114
@@ -121,8 +122,8 @@ def _load_plugins(self):
121
122
# halt client initialization.
122
123
openapi_client_builder = build_plugin_setup_client (
123
124
config = self ._config ,
124
- openapi_config = self .openapi_config ,
125
- pool_threads = self .pool_threads ,
125
+ openapi_config = self ._openapi_config ,
126
+ pool_threads = self ._pool_threads ,
126
127
)
127
128
install_plugins (self , openapi_client_builder )
128
129
except Exception as e :
0 commit comments