Typing Lint

Co-authored-by: Andrew Murray <3112309+radarhere@users.noreply.github.com>
This commit is contained in:
wiredfool 2025-01-25 13:43:01 +00:00 committed by GitHub
parent af64250144
commit 244dded7a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -3360,7 +3360,7 @@ def fromarray(obj: SupportsArrayInterface, mode: str | None = None) -> Image:
return frombuffer(mode, size, obj, "raw", rawmode, 0, 1)
def fromarrow(obj: SupportsArrowArrayIngerface, mode, size) -> ImageFile.ImageFile:
def fromarrow(obj: SupportsArrowArrayInterface, mode, size) -> Image:
if not hasattr(obj, "__arrow_c_array__"):
msg = "arrow_c_array interface not found"
raise ValueError(msg)