zen-xu / pyarrow-stubs

Type annotations for pyarrow
BSD 2-Clause "Simplified" License
15 stars 14 forks source link

import from collections.abc instead of typing with dropped python 3.8 support #116

Closed deanm0000 closed 1 month ago

deanm0000 commented 1 month ago

I didn't want to put in a PR for this until https://github.com/zen-xu/pyarrow-stubs/pull/115 is merged so this is a place holder.

deanm0000 commented 1 month ago

Iterable, Iterator, Generator, Mapping, MutableMapping, Sequence, MutableSequence, Set, MutableSet, MappingView, KeysView, ItemsView, ValuesView, Callable, Collection, Reversible, Container, Awaitable, Coroutine, AsyncIterable, AsyncIterator, AsyncGenerator

This is the list of things I can find that should be collections.abc imports instead of typing.