@@ -431,7 +431,7 @@ class SummaryInputPosition:
431431 offset : int
432432
433433 @classmethod
434- def _from_metadata (cls , metadata : t . Any ) -> te .Self | None :
434+ def _from_metadata (cls , metadata : object ) -> te .Self | None :
435435 if not isinstance (metadata , dict ):
436436 return None
437437 line = metadata .get ("line" )
@@ -515,7 +515,7 @@ class SummaryNotification:
515515 position : SummaryNotificationPosition | None = None
516516
517517 @classmethod
518- def _from_metadata (cls , metadata : t . Any ) -> te .Self :
518+ def _from_metadata (cls , metadata : object ) -> te .Self :
519519 if not isinstance (metadata , dict ):
520520 return cls ()
521521 kwargs : _SummaryNotificationKwargs = {
@@ -631,7 +631,7 @@ def _no_data(cls) -> te.Self:
631631 return obj
632632
633633 @classmethod
634- def _from_status_metadata (cls , metadata : t . Any ) -> te .Self :
634+ def _from_status_metadata (cls , metadata : object ) -> te .Self :
635635 obj = cls ()
636636 if isinstance (metadata , dict ):
637637 obj ._status_metadata = metadata
@@ -640,7 +640,7 @@ def _from_status_metadata(cls, metadata: t.Any) -> te.Self:
640640 return obj
641641
642642 @classmethod
643- def _from_notification_metadata (cls , metadata : t . Any ) -> te .Self :
643+ def _from_notification_metadata (cls , metadata : object ) -> te .Self :
644644 obj = cls ()
645645 if not isinstance (metadata , dict ):
646646 metadata = {}
0 commit comments