@@ -375,7 +375,7 @@ def _creation_frame(self) -> t.Literal[False] | inspect.FrameInfo:
375375 assert self ._creation_frame_cache is not None # help mypy a little
376376 return self ._creation_frame_cache
377377
378- @AsyncNonConcurrentMethodChecker .non_concurrent_iter
378+ @AsyncNonConcurrentMethodChecker ._non_concurrent_iter
379379 async def __aiter__ (self ) -> t .AsyncIterator [Record ]:
380380 """
381381 Create an iterator returning records.
@@ -408,7 +408,7 @@ async def __aiter__(self) -> t.AsyncIterator[Record]:
408408 if self ._consumed :
409409 raise ResultConsumedError (self , _RESULT_CONSUMED_ERROR )
410410
411- @AsyncNonConcurrentMethodChecker .non_concurrent_method
411+ @AsyncNonConcurrentMethodChecker ._non_concurrent_method
412412 async def __anext__ (self ) -> Record :
413413 """
414414 Advance the result stream and return the record.
@@ -498,7 +498,7 @@ def _tx_failure(self, exc):
498498 self ._attached = False
499499 self ._exception = exc
500500
501- @AsyncNonConcurrentMethodChecker .non_concurrent_method
501+ @AsyncNonConcurrentMethodChecker ._non_concurrent_method
502502 async def consume (self ) -> ResultSummary :
503503 """
504504 Consume the remainder of this result and return the summary.
@@ -565,7 +565,7 @@ async def single(
565565 @t .overload
566566 async def single (self , strict : te .Literal [True ]) -> Record : ...
567567
568- @AsyncNonConcurrentMethodChecker .non_concurrent_method
568+ @AsyncNonConcurrentMethodChecker ._non_concurrent_method
569569 async def single (self , strict : bool = False ) -> Record | None :
570570 """
571571 Obtain the next and only remaining record or None.
@@ -631,7 +631,7 @@ async def single(self, strict: bool = False) -> Record | None:
631631 )
632632 return buffer .popleft ()
633633
634- @AsyncNonConcurrentMethodChecker .non_concurrent_method
634+ @AsyncNonConcurrentMethodChecker ._non_concurrent_method
635635 async def fetch (self , n : int ) -> list [Record ]:
636636 """
637637 Obtain up to n records from this result.
@@ -655,7 +655,7 @@ async def fetch(self, n: int) -> list[Record]:
655655 for _ in range (min (n , len (self ._record_buffer )))
656656 ]
657657
658- @AsyncNonConcurrentMethodChecker .non_concurrent_method
658+ @AsyncNonConcurrentMethodChecker ._non_concurrent_method
659659 async def peek (self ) -> Record | None :
660660 """
661661 Obtain the next record from this result without consuming it.
@@ -677,7 +677,7 @@ async def peek(self) -> Record | None:
677677 return self ._record_buffer [0 ]
678678 return None
679679
680- @AsyncNonConcurrentMethodChecker .non_concurrent_method
680+ @AsyncNonConcurrentMethodChecker ._non_concurrent_method
681681 async def graph (self ) -> Graph :
682682 """
683683 Turn the result into a :class:`.Graph`.
@@ -701,7 +701,7 @@ async def graph(self) -> Graph:
701701 await self ._buffer_all ()
702702 return self ._hydration_scope .get_graph ()
703703
704- @AsyncNonConcurrentMethodChecker .non_concurrent_method
704+ @AsyncNonConcurrentMethodChecker ._non_concurrent_method
705705 async def value (
706706 self , key : _TResultKey = 0 , default : object = None
707707 ) -> list [t .Any ]:
@@ -725,7 +725,7 @@ async def value(
725725 """
726726 return [record .value (key , default ) async for record in self ]
727727
728- @AsyncNonConcurrentMethodChecker .non_concurrent_method
728+ @AsyncNonConcurrentMethodChecker ._non_concurrent_method
729729 async def values (self , * keys : _TResultKey ) -> list [list [t .Any ]]:
730730 """
731731 Return the remainder of the result as a list of values lists.
@@ -746,7 +746,7 @@ async def values(self, *keys: _TResultKey) -> list[list[t.Any]]:
746746 """
747747 return [record .values (* keys ) async for record in self ]
748748
749- @AsyncNonConcurrentMethodChecker .non_concurrent_method
749+ @AsyncNonConcurrentMethodChecker ._non_concurrent_method
750750 async def data (self , * keys : _TResultKey ) -> list [dict [str , t .Any ]]:
751751 """
752752 Return the remainder of the result as a list of dictionaries.
@@ -776,7 +776,7 @@ async def data(self, *keys: _TResultKey) -> list[dict[str, t.Any]]:
776776 """
777777 return [record .data (* keys ) async for record in self ]
778778
779- @AsyncNonConcurrentMethodChecker .non_concurrent_method
779+ @AsyncNonConcurrentMethodChecker ._non_concurrent_method
780780 async def to_eager_result (self ) -> EagerResult :
781781 """
782782 Convert this result to an :class:`.EagerResult`.
@@ -801,7 +801,7 @@ async def to_eager_result(self) -> EagerResult:
801801 summary = await self .consume (),
802802 )
803803
804- @AsyncNonConcurrentMethodChecker .non_concurrent_method
804+ @AsyncNonConcurrentMethodChecker ._non_concurrent_method
805805 async def to_df (
806806 self , expand : bool = False , parse_dates : bool = False
807807 ) -> pandas .DataFrame :
0 commit comments