From 293bd9ad178d842a5d810dd70984dd7d6f689c87 Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Sat, 3 May 2025 12:31:10 +0500 Subject: [PATCH] stub - remove deprecated and removed Object.hex and Object.oid Removed in 1.15, see https://github.com/libgit2/pygit2/blob/master/CHANGELOG.md#1150-2024-05-18 --- pygit2/_pygit2.pyi | 2 -- 1 file changed, 2 deletions(-) diff --git a/pygit2/_pygit2.pyi b/pygit2/_pygit2.pyi index 4895bade..406bb96b 100644 --- a/pygit2/_pygit2.pyi +++ b/pygit2/_pygit2.pyi @@ -36,10 +36,8 @@ LIBGIT2_VER_REVISION: int class Object: _pointer: bytes filemode: FileMode - hex: str id: Oid name: str | None - oid: Oid raw_name: bytes | None short_id: str type: 'Literal[GIT_OBJ_COMMIT] | Literal[GIT_OBJ_TREE] | Literal[GIT_OBJ_TAG] | Literal[GIT_OBJ_BLOB]'