Check the HfApi documentation page for the reference of methods enabling
Discussions and Pull Requests
Check the HfApi documentation page for the reference of methods enabling
interaction with Pull Requests and Discussions on the Hub.
get_repo_discussionsget_discussion_detailscreate_discussioncreate_pull_requestrename_discussioncomment_discussionedit_discussion_commentchange_discussion_statusmerge_pull_request
Data structures
[[autodoc]] Discussion
[[autodoc]] DiscussionWithDetails
[[autodoc]] DiscussionEvent
[[autodoc]] DiscussionComment
[[autodoc]] DiscussionStatusChange
[[autodoc]] DiscussionCommit
[[autodoc]] DiscussionTitleChange
Source and license
Source: Hub Python Library documentation, adapted for this site. Licensing and attribution follow the terms of the upstream project.