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(
18661866 field_modes : List [FieldNode ],
18671867 info : GraphQLResolveInfo ,
18681868 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 ,
18721872 ) -> None :
18731873 """Execute stream iterator."""
18741874 index = initial_index
@@ -1912,11 +1912,11 @@ async def execute_stream_iterator(
19121912
19131913 def filter_subsequent_payloads (
19141914 self ,
1915- null_path : Optional [ Path ] = None ,
1915+ null_path : Path ,
19161916 current_async_record : Optional [AsyncPayloadRecord ] = None ,
19171917 ) -> None :
19181918 """Filter subsequent payloads."""
1919- null_path_list = null_path .as_list () if null_path else []
1919+ null_path_list = null_path .as_list ()
19201920 for async_record in list (self .subsequent_payloads ):
19211921 if async_record is current_async_record :
19221922 # don't remove payload from where error originates
You can’t perform that action at this time.
0 commit comments