From 711503541fc746caf8f93ea7de10b9b712966f6d Mon Sep 17 00:00:00 2001 From: Kyle Barron Date: Wed, 30 Oct 2024 16:57:37 -0400 Subject: [PATCH] Add `__len__` to typing --- arro3-core/python/arro3/core/_core.pyi | 1 + 1 file changed, 1 insertion(+) diff --git a/arro3-core/python/arro3/core/_core.pyi b/arro3-core/python/arro3/core/_core.pyi index 2e67b55..562c348 100644 --- a/arro3-core/python/arro3/core/_core.pyi +++ b/arro3-core/python/arro3/core/_core.pyi @@ -210,6 +210,7 @@ class Buffer: """An Arrow Buffer""" def __init__(self, buffer) -> None: ... def __buffer__(self, flags: int) -> memoryview: ... + def __len__(self) -> int: ... def as_bytes(self) -> bytes: """Copy this buffer into a Python `bytes` object."""