We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f7524e8 commit 3ae6de8Copy full SHA for 3ae6de8
1 file changed
tableauserverclient/server/query.py
@@ -41,7 +41,9 @@ def __init__(self, model: "QuerysetEndpoint[T]") -> None:
41
42
def __iter__(self) -> Iterator[T]:
43
# Not built to be re-entrant. Starts back at page 1, and empties
44
- # the result cache.
+ # the result cache. Ensure the result_cache is empty to not yield
45
+ # items from prior usage.
46
+ self._result_cache = []
47
48
for page in count(1):
49
self.request_options.pagenumber = page
0 commit comments