File tree Expand file tree Collapse file tree 6 files changed +15
-6
lines changed Expand file tree Collapse file tree 6 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 11Metadata-Version: 2.1
22Name: ydb
3- Version: 3.18.16
3+ Version: 3.18.17
44Summary: YDB Python SDK
55Home-page: http://github.com/ydb-platform/ydb-python-sdk
66Author: Yandex LLC
Original file line number Diff line number Diff line change 22
33PY3_LIBRARY()
44
5- VERSION(3.18.16 )
5+ VERSION(3.18.17 )
66
77LICENSE(Apache-2.0)
88
Original file line number Diff line number Diff line change @@ -161,7 +161,10 @@ def __iter__(self):
161161 return self
162162
163163 def _next (self ):
164- return self .wrapper (next (self .it ))
164+ res = self .wrapper (next (self .it ))
165+ if res is not None :
166+ return res
167+ return self ._next ()
165168
166169 def next (self ):
167170 return self ._next ()
Original file line number Diff line number Diff line change @@ -17,7 +17,10 @@ def __aiter__(self):
1717 return self
1818
1919 async def _next (self ):
20- return self .wrapper (await self .it .__anext__ ())
20+ res = self .wrapper (await self .it .__anext__ ())
21+ if res is not None :
22+ return res
23+ return await self ._next ()
2124
2225 async def next (self ):
2326 return await self ._next ()
Original file line number Diff line number Diff line change @@ -192,4 +192,7 @@ def wrap_execute_query_response(
192192 elif tx and response_pb .tx_meta and not tx .tx_id :
193193 tx ._move_to_beginned (response_pb .tx_meta .id )
194194
195- return convert .ResultSet .from_message (response_pb .result_set , settings )
195+ if response_pb .HasField ("result_set" ):
196+ return convert .ResultSet .from_message (response_pb .result_set , settings )
197+
198+ return None
Original file line number Diff line number Diff line change 1- VERSION = "3.18.16 "
1+ VERSION = "3.18.17 "
You can’t perform that action at this time.
0 commit comments