Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions stubs/tqdm/tqdm/contrib/concurrent.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,19 @@ class _TqdmCommonKwargs(TypedDict, total=False):
# TODO: refactor this, when `TypedDict` will support conditional fields
if sys.version_info >= (3, 14):
@type_check_only
class _TqdmKwargs(_TqdmCommonKwargs):
class _TqdmKwargs(_TqdmCommonKwargs, total=False):
buffersize: int | None

else:
_TqdmKwargs = _TqdmCommonKwargs

@type_check_only
class _TqdmProcessKwargs(_TqdmKwargs):
class _TqdmProcessKwargs(_TqdmKwargs, total=False):
mp_context: BaseContext | None
max_tasks_per_child: int | None

@type_check_only
class _TqdmThreadKwargs(_TqdmKwargs):
class _TqdmThreadKwargs(_TqdmKwargs, total=False):
thread_name_prefix: str | None
# Not techically for threading, but just a signature difference:
lock_name: str
Expand Down