File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1866,9 +1866,9 @@ async def execute_stream_iterator(
1866
1866
field_modes : List [FieldNode ],
1867
1867
info : GraphQLResolveInfo ,
1868
1868
item_type : GraphQLOutputType ,
1869
- path : Optional [ Path ] ,
1870
- label : Optional [str ],
1871
- parent_context : Optional [AsyncPayloadRecord ],
1869
+ path : Path ,
1870
+ label : Optional [str ] = None ,
1871
+ parent_context : Optional [AsyncPayloadRecord ] = None ,
1872
1872
) -> None :
1873
1873
"""Execute stream iterator."""
1874
1874
index = initial_index
@@ -1912,11 +1912,11 @@ async def execute_stream_iterator(
1912
1912
1913
1913
def filter_subsequent_payloads (
1914
1914
self ,
1915
- null_path : Optional [ Path ] = None ,
1915
+ null_path : Path ,
1916
1916
current_async_record : Optional [AsyncPayloadRecord ] = None ,
1917
1917
) -> None :
1918
1918
"""Filter subsequent payloads."""
1919
- null_path_list = null_path .as_list () if null_path else []
1919
+ null_path_list = null_path .as_list ()
1920
1920
for async_record in list (self .subsequent_payloads ):
1921
1921
if async_record is current_async_record :
1922
1922
# don't remove payload from where error originates
You can’t perform that action at this time.
0 commit comments