docs: fix missing arguments in get_metrics() (#19629)
This commit is contained in:
parent
afff598dc9
commit
75553845c6
|
@ -326,7 +326,7 @@ if you are using a logger. These defaults can be customized by overriding the
|
||||||
class CustomProgressBar(TQDMProgressBar):
|
class CustomProgressBar(TQDMProgressBar):
|
||||||
def get_metrics(self, *args, **kwargs):
|
def get_metrics(self, *args, **kwargs):
|
||||||
# don't show the version number
|
# don't show the version number
|
||||||
items = super().get_metrics()
|
items = super().get_metrics(*args, **kwargs)
|
||||||
items.pop("v_num", None)
|
items.pop("v_num", None)
|
||||||
return items
|
return items
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue