File tree Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Expand file tree Collapse file tree 1 file changed +0
-10
lines changed Original file line number Diff line number Diff line change @@ -181,16 +181,6 @@ def __init__(self, **configs):
181
181
self .config = copy .copy (self .DEFAULT_CONFIG )
182
182
self .config .update (configs )
183
183
184
- # api_version was previously a str. accept old format for now
185
- if isinstance (self .config ['api_version' ], str ):
186
- deprecated = self .config ['api_version' ]
187
- if deprecated == 'auto' :
188
- self .config ['api_version' ] = None
189
- else :
190
- self .config ['api_version' ] = tuple (map (int , deprecated .split ('.' )))
191
- log .warning ('use api_version=%s [tuple] -- "%s" as str is deprecated' ,
192
- str (self .config ['api_version' ]), deprecated )
193
-
194
184
# Configure metrics
195
185
metrics_tags = {'client-id' : self .config ['client_id' ]}
196
186
metric_config = MetricConfig (samples = self .config ['metrics_num_samples' ],
You can’t perform that action at this time.
0 commit comments