import{s as Ws,n as Ys,o as Ls}from"../chunks/scheduler.b108d059.js";import{S as Ps,i as Qs,g as i,s as a,r as u,A as Ss,h as p,f as l,c as n,j as As,u as o,x as c,k as Vs,y as Ds,a as t,v as d,d as m,t as r,w as h}from"../chunks/index.008de539.js";import{C as W}from"../chunks/CodeBlock.7b00c886.js";import{H as P,E as Fs}from"../chunks/getInferenceSnippets.88a504ef.js";function Ks(ws){let M,Q,Y,S,f,D,j,$s=`huggingface_hub 库提供了一个 Python 接口，用于与 Hub 上的拉取请求（Pull Request）和讨论互动。
访问 <a href="https://huggingface.co/docs/hub/repositories-pull-requests-discussions" rel="nofollow">相关的文档页面</a>
，了解有关 Hub 上讨论和拉取请求（Pull Request）的更深入的介绍及其工作原理。`,F,g,K,y,Zs="<code>HfApi</code> 类允许您获取给定仓库中的讨论和拉取请求（Pull Request）：",O,b,ss,_,Gs="<code>HfApi.get_repo_discussions</code> 支持按作者、类型（拉取请求或讨论）和状态（<code>open</code> 或 <code>closed</code>）进行过滤：",es,T,ls,J,ks=`<code>HfApi.get_repo_discussions</code> 返回一个 <a href="https://docs.python.org/3.7/howto/functional.html#generators" rel="nofollow">生成器</a> 生成
<code>Discussion</code> 对象。 要获取所有讨论并存储为列表，可以运行：`,ts,U,as,w,vs="<code>HfApi.get_repo_discussions()</code> 返回的 <code>Discussion</code> 对象提供讨论或拉取请求（Pull Request）的高级概览。您还可以使用 <code>HfApi.get_discussion_details()</code> 获取更详细的信息：",ns,$,is,Z,qs="<code>HfApi.get_discussion_details()</code> 返回一个 <code>DiscussionWithDetails</code> 对象，它是 <code>Discussion</code> 的子类，包含有关讨论或拉取请求（Pull Request）的更详细信息。详细信息包括所有评论、状态更改以及讨论的重命名信息，可通过 <code>DiscussionWithDetails.events</code> 获取。",ps,G,Xs="如果是拉取请求（Pull Request），您可以通过 <code>DiscussionWithDetails.diff</code> 获取原始的 git diff。拉取请求（Pull Request）的所有提交都列在 <code>DiscussionWithDetails.events</code> 中。",cs,k,us,v,Cs=`<code>HfApi</code> 类还提供了创建和编辑讨论及拉取请求（Pull Request）的方法。
您需要一个 <a href="https://huggingface.co/docs/hub/security-tokens" rel="nofollow">访问令牌</a> 来创建和编辑讨论或拉取请求（Pull Request）。`,os,q,Hs="在 Hub 上对 repo 提出修改建议的最简单方法是使用 <code>create_commit()</code> API：只需将 <code>create_pr</code> 参数设置为 <code>True</code> 。此参数也适用于其他封装了 <code>create_commit()</code> 的方法：",ds,X,Ns="<li><code>upload_file()</code></li> <li><code>upload_folder()</code></li> <li><code>delete_file()</code></li> <li><code>delete_folder()</code></li> <li><code>metadata_update()</code></li>",ms,C,rs,H,Is="您还可以使用 <code>HfApi.create_discussion()</code>（或 <code>HfApi.create_pull_request()</code>）在仓库上创建讨论（或拉取请求）。以这种方式打开拉取请求在您需要本地处理更改时很有用。以这种方式打开的拉取请求将处于“draft”模式。",hs,N,Ms,I,xs="您可以使用 <code>HfApi</code> 类来方便地管理拉取请求和讨论。例如：",fs,x,Rs="<li><code>comment_discussion()</code> 添加评论</li> <li><code>edit_discussion_comment()</code> 编辑评论</li> <li><code>rename_discussion()</code> 重命名讨论或拉取请求</li> <li><code>change_discussion_status()</code> 打开或关闭讨论/拉取请求</li> <li><code>merge_pull_request()</code> 合并拉取请求</li>",js,R,zs="请访问 <code>HfApi</code> 文档页面，获取所有可用方法的完整参考",gs,z,ys,B,Bs="<em>敬请期待！</em>",bs,E,_s,A,Es='有关更详细的参考，请访问 <a href="../package_reference/community">讨论和拉取请求</a> 和 <a href="../package_reference/hf_api">hf_api</a> 文档页面。',Ts,V,Js,L,Us;return f=new P({props:{title:"互动讨论与拉取请求（Pull Request）",local:"互动讨论与拉取请求pull-request",headingTag:"h1"}}),g=new P({props:{title:"从 Hub 获取讨论和拉取请求（Pull Request）",local:"从-hub-获取讨论和拉取请求pull-request",headingTag:"h2"}}),b=new W({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9yZXBvX2Rpc2N1c3Npb25zJTBBZm9yJTIwZGlzY3Vzc2lvbiUyMGluJTIwZ2V0X3JlcG9fZGlzY3Vzc2lvbnMocmVwb19pZCUzRCUyMmJpZ3NjaWVuY2UlMkZibG9vbSUyMiklM0ElMEElMjAlMjAlMjAlMjBwcmludChmJTIyJTdCZGlzY3Vzc2lvbi5udW0lN0QlMjAtJTIwJTdCZGlzY3Vzc2lvbi50aXRsZSU3RCUyQyUyMHByJTNBJTIwJTdCZGlzY3Vzc2lvbi5pc19wdWxsX3JlcXVlc3QlN0QlMjIpJTBB",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&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 W({props:{code:"ZnJvbSUyMGh1Z2dpbmdmYWNlX2h1YiUyMGltcG9ydCUyMGdldF9yZXBvX2Rpc2N1c3Npb25zJTBBZm9yJTIwZGlzY3Vzc2lvbiUyMGluJTIwZ2V0X3JlcG9fZGlzY3Vzc2lvbnMoJTBBJTIwJTIwJTIwcmVwb19pZCUzRCUyMmJpZ3NjaWVuY2UlMkZibG9vbSUyMiUyQyUwQSUyMCUyMCUyMGF1dGhvciUzRCUyMkFydGh1clolMjIlMkMlMEElMjAlMjAlMjBkaXNjdXNzaW9uX3R5cGUlM0QlMjJwdWxsX3JlcXVlc3QlMjIlMkMlMEElMjAlMjAlMjBkaXNjdXNzaW9uX3N0YXR1cyUzRCUyMm9wZW4lMjIlMkMlMEEpJTNBJTBBJTIwJTIwJTIwJTIwcHJpbnQoZiUyMiU3QmRpc2N1c3Npb24ubnVtJTdEJTIwLSUyMCU3QmRpc2N1c3Npb24udGl0bGUlN0QlMjBieSUyMCU3QmRpc2N1c3Npb24uYXV0aG9yJTdEJTJDJTIwcHIlM0ElMjAlN0JkaXNjdXNzaW9uLmlzX3B1bGxfcmVxdWVzdCU3RCUyMiklMEE=",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(
<span class="hljs-meta">... </span>   repo_id=<span class="hljs-string">&quot;bigscience/bloom&quot;</span>,
<span class="hljs-meta">... </span>   author=<span class="hljs-string">&quot;ArthurZ&quot;</span>,
<span class="hljs-meta">... </span>   discussion_type=<span class="hljs-string">&quot;pull_request&quot;</span>,
<span class="hljs-meta">... </span>   discussion_status=<span class="hljs-string">&quot;open&quot;</span>,
<span class="hljs-meta">... </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> by <span class="hljs-subst">{discussion.author}</span>, pr: <span class="hljs-subst">{discussion.is_pull_request}</span>&quot;</span>)

<span class="hljs-comment"># 19 - Add Flax weights by ArthurZ, pr: True</span>`,wrap:!1}}),U=new W({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}}),$=new W({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}}),k=new P({props:{title:"以编程方式创建和编辑讨论或拉取请求",local:"以编程方式创建和编辑讨论或拉取请求",headingTag:"h2"}}),C=new W({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}}),N=new W({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}}),z=new P({props:{title:"推送更改到拉取请求（Pull Request）",local:"推送更改到拉取请求pull-request",headingTag:"h2"}}),E=new P({props:{title:"参见",local:"参见",headingTag:"h2"}}),V=new Fs({props:{source:"https://github.com/huggingface/huggingface_hub/blob/main/docs/source/cn/guides/community.md"}}),{c(){M=i("meta"),Q=a(),Y=i("p"),S=a(),u(f.$$.fragment),D=a(),j=i("p"),j.innerHTML=$s,F=a(),u(g.$$.fragment),K=a(),y=i("p"),y.innerHTML=Zs,O=a(),u(b.$$.fragment),ss=a(),_=i("p"),_.innerHTML=Gs,es=a(),u(T.$$.fragment),ls=a(),J=i("p"),J.innerHTML=ks,ts=a(),u(U.$$.fragment),as=a(),w=i("p"),w.innerHTML=vs,ns=a(),u($.$$.fragment),is=a(),Z=i("p"),Z.innerHTML=qs,ps=a(),G=i("p"),G.innerHTML=Xs,cs=a(),u(k.$$.fragment),us=a(),v=i("p"),v.innerHTML=Cs,os=a(),q=i("p"),q.innerHTML=Hs,ds=a(),X=i("ul"),X.innerHTML=Ns,ms=a(),u(C.$$.fragment),rs=a(),H=i("p"),H.innerHTML=Is,hs=a(),u(N.$$.fragment),Ms=a(),I=i("p"),I.innerHTML=xs,fs=a(),x=i("ul"),x.innerHTML=Rs,js=a(),R=i("p"),R.innerHTML=zs,gs=a(),u(z.$$.fragment),ys=a(),B=i("p"),B.innerHTML=Bs,bs=a(),u(E.$$.fragment),_s=a(),A=i("p"),A.innerHTML=Es,Ts=a(),u(V.$$.fragment),Js=a(),L=i("p"),this.h()},l(s){const e=Ss("svelte-u9bgzb",document.head);M=p(e,"META",{name:!0,content:!0}),e.forEach(l),Q=n(s),Y=p(s,"P",{}),As(Y).forEach(l),S=n(s),o(f.$$.fragment,s),D=n(s),j=p(s,"P",{"data-svelte-h":!0}),c(j)!=="svelte-1k8p0d6"&&(j.innerHTML=$s),F=n(s),o(g.$$.fragment,s),K=n(s),y=p(s,"P",{"data-svelte-h":!0}),c(y)!=="svelte-1cfobpj"&&(y.innerHTML=Zs),O=n(s),o(b.$$.fragment,s),ss=n(s),_=p(s,"P",{"data-svelte-h":!0}),c(_)!=="svelte-1kt3ote"&&(_.innerHTML=Gs),es=n(s),o(T.$$.fragment,s),ls=n(s),J=p(s,"P",{"data-svelte-h":!0}),c(J)!=="svelte-1s38wct"&&(J.innerHTML=ks),ts=n(s),o(U.$$.fragment,s),as=n(s),w=p(s,"P",{"data-svelte-h":!0}),c(w)!=="svelte-nwdbi5"&&(w.innerHTML=vs),ns=n(s),o($.$$.fragment,s),is=n(s),Z=p(s,"P",{"data-svelte-h":!0}),c(Z)!=="svelte-1eeh46s"&&(Z.innerHTML=qs),ps=n(s),G=p(s,"P",{"data-svelte-h":!0}),c(G)!=="svelte-109hv58"&&(G.innerHTML=Xs),cs=n(s),o(k.$$.fragment,s),us=n(s),v=p(s,"P",{"data-svelte-h":!0}),c(v)!=="svelte-ucc6nc"&&(v.innerHTML=Cs),os=n(s),q=p(s,"P",{"data-svelte-h":!0}),c(q)!=="svelte-1tkynsg"&&(q.innerHTML=Hs),ds=n(s),X=p(s,"UL",{"data-svelte-h":!0}),c(X)!=="svelte-138si5a"&&(X.innerHTML=Ns),ms=n(s),o(C.$$.fragment,s),rs=n(s),H=p(s,"P",{"data-svelte-h":!0}),c(H)!=="svelte-81ol7i"&&(H.innerHTML=Is),hs=n(s),o(N.$$.fragment,s),Ms=n(s),I=p(s,"P",{"data-svelte-h":!0}),c(I)!=="svelte-1jw80dq"&&(I.innerHTML=xs),fs=n(s),x=p(s,"UL",{"data-svelte-h":!0}),c(x)!=="svelte-19zygd2"&&(x.innerHTML=Rs),js=n(s),R=p(s,"P",{"data-svelte-h":!0}),c(R)!=="svelte-1oe1ik4"&&(R.innerHTML=zs),gs=n(s),o(z.$$.fragment,s),ys=n(s),B=p(s,"P",{"data-svelte-h":!0}),c(B)!=="svelte-81tdt9"&&(B.innerHTML=Bs),bs=n(s),o(E.$$.fragment,s),_s=n(s),A=p(s,"P",{"data-svelte-h":!0}),c(A)!=="svelte-1hsby6n"&&(A.innerHTML=Es),Ts=n(s),o(V.$$.fragment,s),Js=n(s),L=p(s,"P",{}),As(L).forEach(l),this.h()},h(){Vs(M,"name","hf:doc:metadata"),Vs(M,"content",Os)},m(s,e){Ds(document.head,M),t(s,Q,e),t(s,Y,e),t(s,S,e),d(f,s,e),t(s,D,e),t(s,j,e),t(s,F,e),d(g,s,e),t(s,K,e),t(s,y,e),t(s,O,e),d(b,s,e),t(s,ss,e),t(s,_,e),t(s,es,e),d(T,s,e),t(s,ls,e),t(s,J,e),t(s,ts,e),d(U,s,e),t(s,as,e),t(s,w,e),t(s,ns,e),d($,s,e),t(s,is,e),t(s,Z,e),t(s,ps,e),t(s,G,e),t(s,cs,e),d(k,s,e),t(s,us,e),t(s,v,e),t(s,os,e),t(s,q,e),t(s,ds,e),t(s,X,e),t(s,ms,e),d(C,s,e),t(s,rs,e),t(s,H,e),t(s,hs,e),d(N,s,e),t(s,Ms,e),t(s,I,e),t(s,fs,e),t(s,x,e),t(s,js,e),t(s,R,e),t(s,gs,e),d(z,s,e),t(s,ys,e),t(s,B,e),t(s,bs,e),d(E,s,e),t(s,_s,e),t(s,A,e),t(s,Ts,e),d(V,s,e),t(s,Js,e),t(s,L,e),Us=!0},p:Ys,i(s){Us||(m(f.$$.fragment,s),m(g.$$.fragment,s),m(b.$$.fragment,s),m(T.$$.fragment,s),m(U.$$.fragment,s),m($.$$.fragment,s),m(k.$$.fragment,s),m(C.$$.fragment,s),m(N.$$.fragment,s),m(z.$$.fragment,s),m(E.$$.fragment,s),m(V.$$.fragment,s),Us=!0)},o(s){r(f.$$.fragment,s),r(g.$$.fragment,s),r(b.$$.fragment,s),r(T.$$.fragment,s),r(U.$$.fragment,s),r($.$$.fragment,s),r(k.$$.fragment,s),r(C.$$.fragment,s),r(N.$$.fragment,s),r(z.$$.fragment,s),r(E.$$.fragment,s),r(V.$$.fragment,s),Us=!1},d(s){s&&(l(Q),l(Y),l(S),l(D),l(j),l(F),l(K),l(y),l(O),l(ss),l(_),l(es),l(ls),l(J),l(ts),l(as),l(w),l(ns),l(is),l(Z),l(ps),l(G),l(cs),l(us),l(v),l(os),l(q),l(ds),l(X),l(ms),l(rs),l(H),l(hs),l(Ms),l(I),l(fs),l(x),l(js),l(R),l(gs),l(ys),l(B),l(bs),l(_s),l(A),l(Ts),l(Js),l(L)),l(M),h(f,s),h(g,s),h(b,s),h(T,s),h(U,s),h($,s),h(k,s),h(C,s),h(N,s),h(z,s),h(E,s),h(V,s)}}}const Os='{"title":"互动讨论与拉取请求（Pull Request）","local":"互动讨论与拉取请求pull-request","sections":[{"title":"从 Hub 获取讨论和拉取请求（Pull Request）","local":"从-hub-获取讨论和拉取请求pull-request","sections":[],"depth":2},{"title":"以编程方式创建和编辑讨论或拉取请求","local":"以编程方式创建和编辑讨论或拉取请求","sections":[],"depth":2},{"title":"推送更改到拉取请求（Pull Request）","local":"推送更改到拉取请求pull-request","sections":[],"depth":2},{"title":"参见","local":"参见","sections":[],"depth":2}],"depth":1}';function se(ws){return Ls(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ne extends Ps{constructor(M){super(),Qs(this,M,se,Ks,Ws,{})}}export{ne as component};
