import{s as De,n as Ie,o as Xe}from"../chunks/scheduler.6062bdaf.js";import{S as Pe,i as Ne,g as i,s as l,r as p,A as Be,h as c,f as a,c as n,j as Ge,u as r,x as u,k as Ce,y as Ee,a as t,v as o,d as h,t as g,w as f}from"../chunks/index.4bca734e.js";import{C as E}from"../chunks/CodeBlock.fa01571c.js";import{H as W}from"../chunks/Heading.723dceba.js";function We(Me){let d,Y,N,V,m,z,_,je=`The <code>huggingface_hub</code> library provides a Python interface to interact with Pull Requests and Discussions on the Hub.
Visit <a href="https://huggingface.co/docs/hub/repositories-pull-requests-discussions" rel="nofollow">the dedicated documentation page</a>
for a deeper view of what Discussions and Pull Requests on the Hub are, and how they work under the hood.`,L,b,S,M,ye="The <code>HfApi</code> class allows you to retrieve Discussions and Pull Requests on a given repo:",Q,j,F,y,Te=`<code>HfApi.get_repo_discussions</code> returns a <a href="https://docs.python.org/3.7/howto/functional.html#generators" rel="nofollow">generator</a> that yields
<a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/community#huggingface_hub.Discussion">Discussion</a> objects. To get all the Discussions in a single list, run:`,K,T,O,v,ve=`The <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/community#huggingface_hub.Discussion">Discussion</a> object returned by <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.get_repo_discussions">HfApi.get_repo_discussions()</a> contains high-level overview of the
Discussion or Pull Request. You can also get more detailed information using <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.get_discussion_details">HfApi.get_discussion_details()</a>:`,ee,w,se,J,we=`<a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.get_discussion_details">HfApi.get_discussion_details()</a> returns a <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/community#huggingface_hub.DiscussionWithDetails">DiscussionWithDetails</a> object, which is a subclass of <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/community#huggingface_hub.Discussion">Discussion</a>
with more detailed information about the Discussion or Pull Request. Information includes all the comments, status changes,
and renames of the Discussion via <code>DiscussionWithDetails.events</code>.`,ae,k,Je=`In case of a Pull Request, you can retrieve the raw git diff with <code>DiscussionWithDetails.diff</code>. All the commits of the
Pull Request are listed in <code>DiscussionWithDetails.events</code>.`,te,U,le,$,ke=`The <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi">HfApi</a> class also offers ways to create and edit Discussions and Pull Requests.
You will need an <a href="https://huggingface.co/docs/hub/security-tokens" rel="nofollow">access token</a> to create and edit Discussions
or Pull Requests.`,ne,H,Ue=`The simplest way to propose changes on a repo on the Hub is via the <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a> API: just
set the <code>create_pr</code> parameter to <code>True</code>. This parameter is also available on other methods that wrap <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a>:`,ie,q,$e='<li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.upload_file">upload_file()</a></li> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.upload_folder">upload_folder()</a></li> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.delete_file">delete_file()</a></li> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.delete_folder">delete_folder()</a></li> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/cards#huggingface_hub.metadata_update">metadata_update()</a></li>',ce,Z,ue,R,He=`You can also use <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_discussion">HfApi.create_discussion()</a> (respectively <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.create_pull_request">HfApi.create_pull_request()</a>) to create a Discussion (respectively a Pull Request) on a repo.
Opening a Pull Request this way can be useful if you need to work on changes locally. Pull Requests opened this way will be in <code>&quot;draft&quot;</code> mode.`,pe,A,re,x,qe='Managing Pull Requests and Discussions can be done entirely with the <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi">HfApi</a> class. For example:',oe,G,Ze='<li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.comment_discussion">comment_discussion()</a> to add comments</li> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.edit_discussion_comment">edit_discussion_comment()</a> to edit comments</li> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.rename_discussion">rename_discussion()</a> to rename a Discussion or Pull Request</li> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.change_discussion_status">change_discussion_status()</a> to open or close a Discussion / Pull Request</li> <li><a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi.merge_pull_request">merge_pull_request()</a> to merge a Pull Request</li>',he,C,Re='Visit the <a href="/docs/huggingface_hub/v0.18.0.rc0/en/package_reference/hf_api#huggingface_hub.HfApi">HfApi</a> documentation page for an exhaustive reference of all available methods.',ge,D,fe,I,Ae="<em>Coming soon !</em>",de,X,me,P,xe='For a more detailed reference, visit the <a href="../package_reference/community">Discussions and Pull Requests</a> and the <a href="../package_reference/hf_api">hf_api</a> documentation page.',_e,B,be;return m=new W({props:{title:"Interact with Discussions and Pull Requests",local:"interact-with-discussions-and-pull-requests",headingTag:"h1"}}),b=new W({props:{title:"Retrieve Discussions and Pull Requests from the Hub",local:"retrieve-discussions-and-pull-requests-from-the-hub",headingTag:"h2"}}),j=new E({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9yZXBvX2Rpc2N1c3Npb25zJTBBZm9yJTIwZGlzY3Vzc2lvbiUyMGluJTIwZ2V0X3JlcG9fZGlzY3Vzc2lvbnMocmVwb19pZCUzRCUyMmJpZ3NjaWVuY2UlMkZibG9vbS0xYjMlMjIpJTNBJTBBJTIwJTIwJTIwJTIwcHJpbnQoZiUyMiU3QmRpc2N1c3Npb24ubnVtJTdEJTIwLSUyMCU3QmRpc2N1c3Npb24udGl0bGUlN0QlMkMlMjBwciUzQSUyMCU3QmRpc2N1c3Npb24uaXNfcHVsbF9yZXF1ZXN0JTdEJTIyKSUwQQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> get_repo_discussions
<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">for</span> discussion <span class="hljs-keyword">in</span> get_repo_discussions(repo_id=<span class="hljs-string">&quot;bigscience/bloom-1b3&quot;</span>):
<span class="hljs-meta">... </span>    <span class="hljs-built_in">print</span>(<span class="hljs-string">f&quot;<span class="hljs-subst">{discussion.num}</span> - <span class="hljs-subst">{discussion.title}</span>, pr: <span class="hljs-subst">{discussion.is_pull_request}</span>&quot;</span>)

<span class="hljs-comment"># 11 - Add Flax weights, pr: True</span>
<span class="hljs-comment"># 10 - Update README.md, pr: True</span>
<span class="hljs-comment"># 9 - Training languages in the model card, pr: True</span>
<span class="hljs-comment"># 8 - Update tokenizer_config.json, pr: True</span>
<span class="hljs-comment"># 7 - Slurm training script, pr: False</span>
[...]`,wrap:!1}}),T=new E({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9yZXBvX2Rpc2N1c3Npb25zJTBBZGlzY3Vzc2lvbnNfbGlzdCUyMCUzRCUyMGxpc3QoZ2V0X3JlcG9fZGlzY3Vzc2lvbnMocmVwb19pZCUzRCUyMmJlcnQtYmFzZS11bmNhc2VkJTIyKSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> get_repo_discussions
<span class="hljs-meta">&gt;&gt;&gt; </span>discussions_list = <span class="hljs-built_in">list</span>(get_repo_discussions(repo_id=<span class="hljs-string">&quot;bert-base-uncased&quot;</span>))`,wrap:!1}}),w=new E({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9kaXNjdXNzaW9uX2RldGFpbHMlMEElMEFnZXRfZGlzY3Vzc2lvbl9kZXRhaWxzKCUwQSUyMCUyMCUyMCUyMHJlcG9faWQlM0QlMjJiaWdzY2llbmNlJTJGYmxvb20tMWIzJTIyJTJDJTBBJTIwJTIwJTIwJTIwZGlzY3Vzc2lvbl9udW0lM0QyJTBBKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> get_discussion_details

<span class="hljs-meta">&gt;&gt;&gt; </span>get_discussion_details(
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;bigscience/bloom-1b3&quot;</span>,
<span class="hljs-meta">... </span>    discussion_num=<span class="hljs-number">2</span>
<span class="hljs-meta">... </span>)
DiscussionWithDetails(
    num=<span class="hljs-number">2</span>,
    author=<span class="hljs-string">&#x27;cakiki&#x27;</span>,
    title=<span class="hljs-string">&#x27;Update VRAM memory for the V100s&#x27;</span>,
    status=<span class="hljs-string">&#x27;open&#x27;</span>,
    is_pull_request=<span class="hljs-literal">True</span>,
    events=[
        DiscussionComment(<span class="hljs-built_in">type</span>=<span class="hljs-string">&#x27;comment&#x27;</span>, author=<span class="hljs-string">&#x27;cakiki&#x27;</span>, ...),
        DiscussionCommit(<span class="hljs-built_in">type</span>=<span class="hljs-string">&#x27;commit&#x27;</span>, author=<span class="hljs-string">&#x27;cakiki&#x27;</span>, summary=<span class="hljs-string">&#x27;Update VRAM memory for the V100s&#x27;</span>, oid=<span class="hljs-string">&#x27;1256f9d9a33fa8887e1c1bf0e09b4713da96773a&#x27;</span>, ...),
    ],
    conflicting_files=[],
    target_branch=<span class="hljs-string">&#x27;refs/heads/main&#x27;</span>,
    merge_commit_oid=<span class="hljs-literal">None</span>,
    diff=<span class="hljs-string">&#x27;diff --git a/README.md b/README.md\\nindex a6ae3b9294edf8d0eda0d67c7780a10241242a7e..3a1814f212bc3f0d3cc8f74bdbd316de4ae7b9e3 100644\\n--- a/README.md\\n+++ b/README.md\\n@@ -132,7 +132,7 [...]&#x27;</span>,
)`,wrap:!1}}),U=new W({props:{title:"Create and edit a Discussion or Pull Request programmatically",local:"create-and-edit-a-discussion-or-pull-request-programmatically",headingTag:"h2"}}),Z=new E({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMG1ldGFkYXRhX3VwZGF0ZSUwQSUwQW1ldGFkYXRhX3VwZGF0ZSglMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIydXNlcm5hbWUlMkZyZXBvX25hbWUlMjIlMkMlMEElMjAlMjAlMjAlMjBtZXRhZGF0YSUzRCU3QiUyMnRhZ3MlMjIlM0ElMjAlNUIlMjJjb21wdXRlci12aXNpb24lMjIlMkMlMjAlMjJhd2Vzb21lLW1vZGVsJTIyJTVEJTdEJTJDJTBBJTIwJTIwJTIwJTIwY3JlYXRlX3ByJTNEVHJ1ZSUyQyUwQSk=",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> metadata_update

<span class="hljs-meta">&gt;&gt;&gt; </span>metadata_update(
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;username/repo_name&quot;</span>,
<span class="hljs-meta">... </span>    metadata={<span class="hljs-string">&quot;tags&quot;</span>: [<span class="hljs-string">&quot;computer-vision&quot;</span>, <span class="hljs-string">&quot;awesome-model&quot;</span>]},
<span class="hljs-meta">... </span>    create_pr=<span class="hljs-literal">True</span>,
<span class="hljs-meta">... </span>)`,wrap:!1}}),A=new E({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGNyZWF0ZV9kaXNjdXNzaW9uJTJDJTIwY3JlYXRlX3B1bGxfcmVxdWVzdCUwQSUwQWNyZWF0ZV9kaXNjdXNzaW9uKCUwQSUyMCUyMCUyMCUyMHJlcG9faWQlM0QlMjJ1c2VybmFtZSUyRnJlcG8tbmFtZSUyMiUyQyUwQSUyMCUyMCUyMCUyMHRpdGxlJTNEJTIySGklMjBmcm9tJTIwdGhlJTIwaHVnZ2luZ2ZhY2VfaHViJTIwbGlicmFyeSElMjIlMkMlMEElMjAlMjAlMjAlMjB0b2tlbiUzRCUyMiUzQ2luc2VydCUyMHlvdXIlMjBhY2Nlc3MlMjB0b2tlbiUyMGhlcmUlM0UlMjIlMkMlMEEpJTBBJTBBY3JlYXRlX3B1bGxfcmVxdWVzdCglMEElMjAlMjAlMjAlMjByZXBvX2lkJTNEJTIydXNlcm5hbWUlMkZyZXBvLW5hbWUlMjIlMkMlMEElMjAlMjAlMjAlMjB0aXRsZSUzRCUyMkhpJTIwZnJvbSUyMHRoZSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGxpYnJhcnkhJTIyJTJDJTBBJTIwJTIwJTIwJTIwdG9rZW4lM0QlMjIlM0NpbnNlcnQlMjB5b3VyJTIwYWNjZXNzJTIwdG9rZW4lMjBoZXJlJTNFJTIyJTJDJTBBKQ==",highlighted:`<span class="hljs-meta">&gt;&gt;&gt; </span><span class="hljs-keyword">from</span> huggingface_hub <span class="hljs-keyword">import</span> create_discussion, create_pull_request

<span class="hljs-meta">&gt;&gt;&gt; </span>create_discussion(
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;username/repo-name&quot;</span>,
<span class="hljs-meta">... </span>    title=<span class="hljs-string">&quot;Hi from the huggingface_hub library!&quot;</span>,
<span class="hljs-meta">... </span>    token=<span class="hljs-string">&quot;&lt;insert your access token here&gt;&quot;</span>,
<span class="hljs-meta">... </span>)
DiscussionWithDetails(...)

<span class="hljs-meta">&gt;&gt;&gt; </span>create_pull_request(
<span class="hljs-meta">... </span>    repo_id=<span class="hljs-string">&quot;username/repo-name&quot;</span>,
<span class="hljs-meta">... </span>    title=<span class="hljs-string">&quot;Hi from the huggingface_hub library!&quot;</span>,
<span class="hljs-meta">... </span>    token=<span class="hljs-string">&quot;&lt;insert your access token here&gt;&quot;</span>,
<span class="hljs-meta">... </span>)
DiscussionWithDetails(..., is_pull_request=<span class="hljs-literal">True</span>)`,wrap:!1}}),D=new W({props:{title:"Push changes to a Pull Request",local:"push-changes-to-a-pull-request",headingTag:"h2"}}),X=new W({props:{title:"See also",local:"see-also",headingTag:"h2"}}),{c(){d=i("meta"),Y=l(),N=i("p"),V=l(),p(m.$$.fragment),z=l(),_=i("p"),_.innerHTML=je,L=l(),p(b.$$.fragment),S=l(),M=i("p"),M.innerHTML=ye,Q=l(),p(j.$$.fragment),F=l(),y=i("p"),y.innerHTML=Te,K=l(),p(T.$$.fragment),O=l(),v=i("p"),v.innerHTML=ve,ee=l(),p(w.$$.fragment),se=l(),J=i("p"),J.innerHTML=we,ae=l(),k=i("p"),k.innerHTML=Je,te=l(),p(U.$$.fragment),le=l(),$=i("p"),$.innerHTML=ke,ne=l(),H=i("p"),H.innerHTML=Ue,ie=l(),q=i("ul"),q.innerHTML=$e,ce=l(),p(Z.$$.fragment),ue=l(),R=i("p"),R.innerHTML=He,pe=l(),p(A.$$.fragment),re=l(),x=i("p"),x.innerHTML=qe,oe=l(),G=i("ul"),G.innerHTML=Ze,he=l(),C=i("p"),C.innerHTML=Re,ge=l(),p(D.$$.fragment),fe=l(),I=i("p"),I.innerHTML=Ae,de=l(),p(X.$$.fragment),me=l(),P=i("p"),P.innerHTML=xe,_e=l(),B=i("p"),this.h()},l(e){const s=Be("svelte-u9bgzb",document.head);d=c(s,"META",{name:!0,content:!0}),s.forEach(a),Y=n(e),N=c(e,"P",{}),Ge(N).forEach(a),V=n(e),r(m.$$.fragment,e),z=n(e),_=c(e,"P",{"data-svelte-h":!0}),u(_)!=="svelte-1wn47li"&&(_.innerHTML=je),L=n(e),r(b.$$.fragment,e),S=n(e),M=c(e,"P",{"data-svelte-h":!0}),u(M)!=="svelte-6bkla6"&&(M.innerHTML=ye),Q=n(e),r(j.$$.fragment,e),F=n(e),y=c(e,"P",{"data-svelte-h":!0}),u(y)!=="svelte-139wfra"&&(y.innerHTML=Te),K=n(e),r(T.$$.fragment,e),O=n(e),v=c(e,"P",{"data-svelte-h":!0}),u(v)!=="svelte-19vgjgi"&&(v.innerHTML=ve),ee=n(e),r(w.$$.fragment,e),se=n(e),J=c(e,"P",{"data-svelte-h":!0}),u(J)!=="svelte-59d7du"&&(J.innerHTML=we),ae=n(e),k=c(e,"P",{"data-svelte-h":!0}),u(k)!=="svelte-1pbvmum"&&(k.innerHTML=Je),te=n(e),r(U.$$.fragment,e),le=n(e),$=c(e,"P",{"data-svelte-h":!0}),u($)!=="svelte-s76pff"&&($.innerHTML=ke),ne=n(e),H=c(e,"P",{"data-svelte-h":!0}),u(H)!=="svelte-xpkvaw"&&(H.innerHTML=Ue),ie=n(e),q=c(e,"UL",{"data-svelte-h":!0}),u(q)!=="svelte-iysv27"&&(q.innerHTML=$e),ce=n(e),r(Z.$$.fragment,e),ue=n(e),R=c(e,"P",{"data-svelte-h":!0}),u(R)!=="svelte-463vxl"&&(R.innerHTML=He),pe=n(e),r(A.$$.fragment,e),re=n(e),x=c(e,"P",{"data-svelte-h":!0}),u(x)!=="svelte-16rzfgb"&&(x.innerHTML=qe),oe=n(e),G=c(e,"UL",{"data-svelte-h":!0}),u(G)!=="svelte-16tu9ub"&&(G.innerHTML=Ze),he=n(e),C=c(e,"P",{"data-svelte-h":!0}),u(C)!=="svelte-1kafi86"&&(C.innerHTML=Re),ge=n(e),r(D.$$.fragment,e),fe=n(e),I=c(e,"P",{"data-svelte-h":!0}),u(I)!=="svelte-1j277qo"&&(I.innerHTML=Ae),de=n(e),r(X.$$.fragment,e),me=n(e),P=c(e,"P",{"data-svelte-h":!0}),u(P)!=="svelte-19t3fo7"&&(P.innerHTML=xe),_e=n(e),B=c(e,"P",{}),Ge(B).forEach(a),this.h()},h(){Ce(d,"name","hf:doc:metadata"),Ce(d,"content",Ye)},m(e,s){Ee(document.head,d),t(e,Y,s),t(e,N,s),t(e,V,s),o(m,e,s),t(e,z,s),t(e,_,s),t(e,L,s),o(b,e,s),t(e,S,s),t(e,M,s),t(e,Q,s),o(j,e,s),t(e,F,s),t(e,y,s),t(e,K,s),o(T,e,s),t(e,O,s),t(e,v,s),t(e,ee,s),o(w,e,s),t(e,se,s),t(e,J,s),t(e,ae,s),t(e,k,s),t(e,te,s),o(U,e,s),t(e,le,s),t(e,$,s),t(e,ne,s),t(e,H,s),t(e,ie,s),t(e,q,s),t(e,ce,s),o(Z,e,s),t(e,ue,s),t(e,R,s),t(e,pe,s),o(A,e,s),t(e,re,s),t(e,x,s),t(e,oe,s),t(e,G,s),t(e,he,s),t(e,C,s),t(e,ge,s),o(D,e,s),t(e,fe,s),t(e,I,s),t(e,de,s),o(X,e,s),t(e,me,s),t(e,P,s),t(e,_e,s),t(e,B,s),be=!0},p:Ie,i(e){be||(h(m.$$.fragment,e),h(b.$$.fragment,e),h(j.$$.fragment,e),h(T.$$.fragment,e),h(w.$$.fragment,e),h(U.$$.fragment,e),h(Z.$$.fragment,e),h(A.$$.fragment,e),h(D.$$.fragment,e),h(X.$$.fragment,e),be=!0)},o(e){g(m.$$.fragment,e),g(b.$$.fragment,e),g(j.$$.fragment,e),g(T.$$.fragment,e),g(w.$$.fragment,e),g(U.$$.fragment,e),g(Z.$$.fragment,e),g(A.$$.fragment,e),g(D.$$.fragment,e),g(X.$$.fragment,e),be=!1},d(e){e&&(a(Y),a(N),a(V),a(z),a(_),a(L),a(S),a(M),a(Q),a(F),a(y),a(K),a(O),a(v),a(ee),a(se),a(J),a(ae),a(k),a(te),a(le),a($),a(ne),a(H),a(ie),a(q),a(ce),a(ue),a(R),a(pe),a(re),a(x),a(oe),a(G),a(he),a(C),a(ge),a(fe),a(I),a(de),a(me),a(P),a(_e),a(B)),a(d),f(m,e),f(b,e),f(j,e),f(T,e),f(w,e),f(U,e),f(Z,e),f(A,e),f(D,e),f(X,e)}}}const Ye='{"title":"Interact with Discussions and Pull Requests","local":"interact-with-discussions-and-pull-requests","sections":[{"title":"Retrieve Discussions and Pull Requests from the Hub","local":"retrieve-discussions-and-pull-requests-from-the-hub","sections":[],"depth":2},{"title":"Create and edit a Discussion or Pull Request programmatically","local":"create-and-edit-a-discussion-or-pull-request-programmatically","sections":[],"depth":2},{"title":"Push changes to a Pull Request","local":"push-changes-to-a-pull-request","sections":[],"depth":2},{"title":"See also","local":"see-also","sections":[],"depth":2}],"depth":1}';function Ve(Me){return Xe(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class Fe extends Pe{constructor(d){super(),Ne(this,d,Ve,We,De,{})}}export{Fe as component};
