@@ -184,7 +184,7 @@ async def _setup_message_execution(
184184 """
185185 # Create task manager and validate existing task
186186 task_manager = TaskManager (
187- task_id = params .message .taskId ,
187+ task_id = params .message .task_id ,
188188 context_id = params .message .context_id ,
189189 task_store = self .task_store ,
190190 initial_message = params .message ,
@@ -218,10 +218,10 @@ async def _setup_message_execution(
218218 if (
219219 self ._push_config_store
220220 and params .configuration
221- and params .configuration .pushNotificationConfig
221+ and params .configuration .push_notification_config
222222 ):
223223 await self ._push_config_store .set_info (
224- task_id , params .configuration .pushNotificationConfig
224+ task_id , params .configuration .push_notification_config
225225 )
226226
227227 queue = await self ._queue_manager .create_or_tap (task_id )
@@ -366,13 +366,13 @@ async def on_set_task_push_notification_config(
366366 if not self ._push_config_store :
367367 raise ServerError (error = UnsupportedOperationError ())
368368
369- task : Task | None = await self .task_store .get (params .taskId )
369+ task : Task | None = await self .task_store .get (params .task_id )
370370 if not task :
371371 raise ServerError (error = TaskNotFoundError ())
372372
373373 await self ._push_config_store .set_info (
374- params .taskId ,
375- params .pushNotificationConfig ,
374+ params .task_id ,
375+ params .push_notification_config ,
376376 )
377377
378378 return params
@@ -404,7 +404,8 @@ async def on_get_task_push_notification_config(
404404 )
405405
406406 return TaskPushNotificationConfig (
407- taskId = params .id , pushNotificationConfig = push_notification_config [0 ]
407+ task_id = params .id ,
408+ pushNotificationConfig = push_notification_config [0 ],
408409 )
409410
410411 async def on_resubscribe_to_task (
@@ -470,7 +471,7 @@ async def on_list_task_push_notification_config(
470471 for config in push_notification_config_list :
471472 task_push_notification_config .append (
472473 TaskPushNotificationConfig (
473- taskId = params .id , pushNotificationConfig = config
474+ task_id = params .id , pushNotificationConfig = config
474475 )
475476 )
476477
@@ -493,5 +494,5 @@ async def on_delete_task_push_notification_config(
493494 raise ServerError (error = TaskNotFoundError ())
494495
495496 await self ._push_config_store .delete_info (
496- params .id , params .pushNotificationConfigId
497+ params .id , params .push_notification_configId
497498 )
0 commit comments