Gist¶
-
class
github.Gist.
Gist
¶ This class represents Gists.
The reference can be found here https://docs.github.com/en/rest/reference/gists
-
create_comment
(body: str) → GistComment¶
-
create_fork
() → github.Gist.Gist¶ - Calls
-
delete
() → None¶ - Calls
-
edit
(description: Opt[str] = NotSet, files: Opt[dict[str, InputFileContent | None]] = NotSet) → None¶ - Calls
-
get_comment
(id: int) → GistComment¶
-
get_comments
() → PaginatedList[GistComment]¶
-
is_starred
() → bool¶ - Calls
-
reset_starred
() → None¶ - Calls
-
set_starred
() → None¶ - Calls
-