@@ -252,7 +252,7 @@ async def coro() -> str:
252252 await handler .handle_task (coro (), sample_record , sample_message ) # ty: ignore[invalid-argument-type]
253253
254254 assert len (handler ._tracked_tasks ) == 1
255- sent_commit_task : typing .Final = handler ._committer .send_task .call_args [0 ][0 ] # ty: ignore[unresolved -attribute]
255+ sent_commit_task : typing .Final = handler ._committer .send_task .call_args [0 ][0 ] # ty: ignore[missing -attribute]
256256 assert isinstance (sent_commit_task .asyncio_task , asyncio .Task )
257257 assert len (sent_commit_task .asyncio_task ._callbacks ) > 0
258258
@@ -275,7 +275,7 @@ async def coro() -> str:
275275
276276 await handler .handle_task (coro (), sample_record , sample_message ) # ty: ignore[invalid-argument-type]
277277
278- sent_commit_task : typing .Final = handler ._committer .send_task .call_args [0 ][0 ] # ty: ignore[unresolved -attribute]
278+ sent_commit_task : typing .Final = handler ._committer .send_task .call_args [0 ][0 ] # ty: ignore[missing -attribute]
279279 assert commit_structure_validate ({sent_commit_task .topic_partition : 0 })
280280
281281
@@ -299,14 +299,14 @@ async def coro() -> str:
299299 return "result"
300300
301301 await handler .handle_task (coro (), sample_record , sample_message ) # ty: ignore[invalid-argument-type]
302- handler ._committer .send_task .assert_called_once () # ty: ignore[unresolved -attribute]
302+ handler ._committer .send_task .assert_called_once () # ty: ignore[missing -attribute]
303303
304304
305305async def test_concurrent_handles_committer_dead_error (
306306 handler : KafkaConcurrentHandler , sample_message : MockKafkaMessage , sample_record : MockConsumerRecord
307307) -> None :
308308 await handler .start ()
309- handler ._committer .send_task .side_effect = CommitterIsDeadError ("Dead" ) # ty: ignore[unresolved -attribute]
309+ handler ._committer .send_task .side_effect = CommitterIsDeadError ("Dead" ) # ty: ignore[missing -attribute]
310310
311311 with pytest .raises (CommitterIsDeadError ):
312312 await handler .handle_task (asyncio .sleep (0 ), sample_record , sample_message ) # ty: ignore[invalid-argument-type]
@@ -322,7 +322,7 @@ async def test_concurrent_start_sets_running(handler: KafkaConcurrentHandler) ->
322322
323323async def test_concurrent_start_creates_committer_when_enabled (handler : KafkaConcurrentHandler ) -> None :
324324 await handler .start ()
325- handler ._committer .spawn .assert_called_once () # ty: ignore[unresolved -attribute]
325+ handler ._committer .spawn .assert_called_once () # ty: ignore[missing -attribute]
326326 assert handler .is_healthy
327327
328328
@@ -346,7 +346,7 @@ async def test_concurrent_stop_base(handler: KafkaConcurrentHandler) -> None:
346346async def test_concurrent_stop_closes_committer (handler : KafkaConcurrentHandler ) -> None :
347347 await handler .start ()
348348 await handler .stop ()
349- handler ._committer .close .assert_called_once () # ty: ignore[unresolved -attribute]
349+ handler ._committer .close .assert_called_once () # ty: ignore[missing -attribute]
350350
351351
352352async def test_concurrent_stop_when_not_running (
0 commit comments