"include/vscode:/vscode.git/clone" did not exist on "f03a1738d93c8ffccc570e8121e0a261e9950fa6"
[Language] make linter and type checker happy with mocking (#407)
* [Language] make linter and type checker happy with mocking * Apply suggestions from code review Co-authored-by:Copilot <175728472+Copilot@users.noreply.github.com> * Refactor BaseTensor class in proxy.py to implement __getitem__ and __setitem__ methods, enhancing type checking and linting compliance. Added method stubs for from_ptr and other subclasses for improved clarity and maintainability. * Refactor type imports in proxy.py to enhance clarity and maintainability by replacing the built-in Self type with the Self type from typing_extensions. --------- Co-authored-by:
Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by:
LeiWang1999 <leiwang1999@outlook.com>
Showing
Please register or sign in to comment