mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
tqdm: allow disable=None in tqdm.__init__ (#9154)
This commit is contained in:
@@ -32,7 +32,7 @@ class tqdm_asyncio(Generic[_T], std_tqdm[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -64,7 +64,7 @@ class tqdm_asyncio(Generic[_T], std_tqdm[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -93,7 +93,7 @@ class tqdm_asyncio(Generic[_T], std_tqdm[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -124,7 +124,7 @@ class tqdm_asyncio(Generic[_T], std_tqdm[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -158,7 +158,7 @@ def tarange(
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -187,7 +187,7 @@ def tarange(
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
|
||||
@@ -30,7 +30,7 @@ class tqdm_discord(Generic[_T], tqdm_auto[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -61,7 +61,7 @@ class tqdm_discord(Generic[_T], tqdm_auto[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
|
||||
@@ -31,7 +31,7 @@ class tqdm_slack(Generic[_T], tqdm_auto[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -64,7 +64,7 @@ class tqdm_slack(Generic[_T], tqdm_auto[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
|
||||
@@ -36,7 +36,7 @@ class tqdm_telegram(Generic[_T], tqdm_auto[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -69,7 +69,7 @@ class tqdm_telegram(Generic[_T], tqdm_auto[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
|
||||
@@ -36,7 +36,7 @@ class tqdm_gui(Generic[_T], std_tqdm[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -67,7 +67,7 @@ class tqdm_gui(Generic[_T], std_tqdm[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
|
||||
@@ -44,7 +44,7 @@ class tqdm_rich(Generic[_T], std_tqdm[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -75,7 +75,7 @@ class tqdm_rich(Generic[_T], std_tqdm[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
|
||||
@@ -70,7 +70,7 @@ class tqdm(Generic[_T], Iterable[_T], Comparable):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -101,7 +101,7 @@ class tqdm(Generic[_T], Iterable[_T], Comparable):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -143,7 +143,7 @@ class tqdm(Generic[_T], Iterable[_T], Comparable):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -238,7 +238,7 @@ def trange(
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -267,7 +267,7 @@ def trange(
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
|
||||
@@ -22,7 +22,7 @@ class tqdm_tk(Generic[_T], std_tqdm[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
@@ -56,7 +56,7 @@ class tqdm_tk(Generic[_T], std_tqdm[_T]):
|
||||
maxinterval: float = ...,
|
||||
miniters: float | None = ...,
|
||||
ascii: bool | str | None = ...,
|
||||
disable: bool = ...,
|
||||
disable: bool | None = ...,
|
||||
unit: str = ...,
|
||||
unit_scale: bool | float = ...,
|
||||
dynamic_ncols: bool = ...,
|
||||
|
||||
Reference in New Issue
Block a user