Skip to content

[peewee] add typing for peewee.chunked#15957

Open
Psycojoker wants to merge 1 commit into
python:mainfrom
Psycojoker:peewee-add-typing-for-peewee-chunked
Open

[peewee] add typing for peewee.chunked#15957
Psycojoker wants to merge 1 commit into
python:mainfrom
Psycojoker:peewee-add-typing-for-peewee-chunked

Conversation

@Psycojoker

Copy link
Copy Markdown
Contributor

Hello,

Another small PR for peewee.

Reference: https://docs.peewee-orm.com/en/latest/peewee/api.html#chunked

chunked(iterable, n)
Parameters * iterable – an iterable that is the source of the data to be chunked.
* n (int) – chunk size

Returns    a new iterable that yields n-length chunks of the source data.

Kind regards,

@github-actions

This comment has been minimized.

@Psycojoker Psycojoker force-pushed the peewee-add-typing-for-peewee-chunked branch from 9622c04 to d4ee138 Compare June 27, 2026 20:58
@github-actions

This comment has been minimized.

Reference: https://docs.peewee-orm.com/en/latest/peewee/api.html#chunked

> chunked(iterable, n)
>     Parameters * iterable – an iterable that is the source of the data to be chunked.
>                * n (int) – chunk size
>
>     Returns    a new iterable that yields n-length chunks of the source data.
@Psycojoker Psycojoker force-pushed the peewee-add-typing-for-peewee-chunked branch from d4ee138 to 226f3ca Compare June 27, 2026 23:44
@github-actions

Copy link
Copy Markdown
Contributor

According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant