Description: Python 3.13 deprecates calling `_eval_type` without `type_params`.
Author: Dhyey Mavani <ddmavani2003@gmail.com>
Forwarded: https://github.com/pyg-team/pytorch_geometric/pull/10453
--- a/torch_geometric/inspector.py
+++ b/torch_geometric/inspector.py
@@ -430,7 +430,7 @@
     r"""Returns the type hint of a string."""
     if isinstance(value, str):
         value = typing.ForwardRef(value)
-    return typing._eval_type(value, _globals, None)  # type: ignore
+    return typing._eval_type(value, _globals, None, type_params=())  # type: ignore[attr-defined]
 
 
 def type_repr(obj: Any, _globals: Dict[str, Any]) -> str:
