File tree Expand file tree Collapse file tree 14 files changed +18
-19
lines changed
audio_spectrogram_transformer Expand file tree Collapse file tree 14 files changed +18
-19
lines changed Original file line number Diff line number Diff line change @@ -193,7 +193,7 @@ def __call__(
193193 )
194194 else :
195195 logger .warning (
196- "It is strongly recommended to pass the `sampling_rate` argument to this function . "
196+ f "It is strongly recommended to pass the `sampling_rate` argument to ` { self . __class__ . __name__ } ()` . "
197197 "Failing to do so can result in silent errors that might be hard to debug."
198198 )
199199
Original file line number Diff line number Diff line change @@ -308,7 +308,7 @@ def __call__(
308308 )
309309 else :
310310 logger .warning (
311- "It is strongly recommended to pass the `sampling_rate` argument to this function . "
311+ f "It is strongly recommended to pass the `sampling_rate` argument to ` { self . __class__ . __name__ } ()` . "
312312 "Failing to do so can result in silent errors that might be hard to debug."
313313 )
314314
Original file line number Diff line number Diff line change @@ -188,7 +188,7 @@ def __call__(
188188 )
189189 else :
190190 logger .warning (
191- "It is strongly recommended to pass the `sampling_rate` argument to this function . "
191+ f "It is strongly recommended to pass the `sampling_rate` argument to ` { self . __class__ . __name__ } ()` . "
192192 "Failing to do so can result in silent errors that might be hard to debug."
193193 )
194194
Original file line number Diff line number Diff line change @@ -108,7 +108,7 @@ def __call__(
108108 )
109109 else :
110110 logger .warning (
111- "It is strongly recommended to pass the `sampling_rate` argument to this function . "
111+ f "It is strongly recommended to pass the `sampling_rate` argument to ` { self . __class__ . __name__ } ()` . "
112112 "Failing to do so can result in silent errors that might be hard to debug."
113113 )
114114
Original file line number Diff line number Diff line change @@ -132,7 +132,7 @@ def __call__(
132132 )
133133 else :
134134 logger .warning (
135- "It is strongly recommended to pass the `sampling_rate` argument to this function . "
135+ f "It is strongly recommended to pass the `sampling_rate` argument to ` { self . __class__ . __name__ } ()` . "
136136 "Failing to do so can result in silent errors that might be hard to debug."
137137 )
138138
Original file line number Diff line number Diff line change @@ -242,7 +242,7 @@ def __call__(
242242
243243 if sampling_rate is None :
244244 logger .warning_once (
245- "It is strongly recommended to pass the `sampling_rate` argument to this function . "
245+ f "It is strongly recommended to pass the `sampling_rate` argument to ` { self . __class__ . __name__ } ()` . "
246246 "Failing to do so can result in silent errors that might be hard to debug."
247247 )
248248
Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ def __call__(
225225 )
226226 else :
227227 logger .warning (
228- "It is strongly recommended to pass the `sampling_rate` argument to this function . "
228+ f "It is strongly recommended to pass the `sampling_rate` argument to ` { self . __class__ . __name__ } ()` . "
229229 "Failing to do so can result in silent errors that might be hard to debug."
230230 )
231231
Original file line number Diff line number Diff line change @@ -248,7 +248,7 @@ def __call__(
248248 )
249249 else :
250250 logger .warning (
251- "It is strongly recommended to pass the `sampling_rate` argument to this function . "
251+ f "It is strongly recommended to pass the `sampling_rate` argument to ` { self . __class__ . __name__ } ()` . "
252252 "Failing to do so can result in silent errors that might be hard to debug."
253253 )
254254
Original file line number Diff line number Diff line change @@ -252,7 +252,7 @@ def __call__(
252252 )
253253 else :
254254 logger .warning (
255- "It is strongly recommended to pass the `` sampling_rate`` argument to this function . "
255+ f "It is strongly recommended to pass the `sampling_rate` argument to ` { self . __class__ . __name__ } ()` . "
256256 "Failing to do so can result in silent errors that might be hard to debug."
257257 )
258258
Original file line number Diff line number Diff line change @@ -370,7 +370,7 @@ def __call__(
370370 )
371371 else :
372372 logger .warning (
373- "It is strongly recommended to pass the `sampling_rate` argument to this function . "
373+ f "It is strongly recommended to pass the `sampling_rate` argument to ` { self . __class__ . __name__ } ()` . "
374374 "Failing to do so can result in silent errors that might be hard to debug."
375375 )
376376
You can’t perform that action at this time.
0 commit comments