From f17624196c0b8c36215f221a7e2d2131514d7829 Mon Sep 17 00:00:00 2001 From: Andrew Truong Date: Fri, 10 Jan 2025 16:46:15 -0500 Subject: [PATCH] test --- weave/trace/weave_client.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/weave/trace/weave_client.py b/weave/trace/weave_client.py index a823f5d47603..1207d2d081cd 100644 --- a/weave/trace/weave_client.py +++ b/weave/trace/weave_client.py @@ -187,6 +187,8 @@ def __iter__(self) -> Iterator[T] | Iterator[R]: return self._get_slice(slice(0, None, 1)) def __len__(self) -> int: + """This method is included for convenience. It includes a network call, which + is typically slower than most other len() operations!""" if not self.size_func: raise TypeError("This iterator does not support len()") return self.size_func()