import{s as Ws,n as Ps,o as Vs}from"../chunks/scheduler.6062bdaf.js";import{S as Ys,i as Ls,g as i,s as t,r as u,A as Qs,h as p,f as a,c as n,j as Bs,u as r,x as c,k as Es,y as Ss,a as l,v as h,d as o,t as g,w as f}from"../chunks/index.4bca734e.js";import{C as W}from"../chunks/CodeBlock.fa01571c.js";import{H as Y,E as Fs}from"../chunks/EditOnGithub.74ab2baa.js";function Ks(Us){let m,L,P,Q,d,S,_,ws=`<code>huggingface_hub</code> 라이브러리는 Hub의 Pull Requests 및 Discussions와 상호작용할 수 있는 Python 인터페이스를 제공합니다.
<a href="https://huggingface.co/docs/hub/repositories-pull-requests-discussions" rel="nofollow">전용 문서 페이지</a>를 방문하여 Hub의 Discussions와 Pull Requests가 무엇이고 어떻게 작동하는지 자세히 살펴보세요.`,F,M,K,b,$s="<code>HfApi</code> 클래스를 사용하면 지정된 리포지토리에 대한 Discussions 및 Pull Requests를 검색할 수 있습니다:",O,j,ss,y,qs="<code>HfApi.get_repo_discussion</code>은 작성자, 유형(Pull Requests 또는 Discussion) 및 상태(<code>open</code> 또는 <code>closed</code>)별로 필터링을 지원합니다:",es,T,as,k,Hs='<code>HfApi.get_repo_discussions</code>는 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/community#huggingface_hub.Discussion">Discussion</a> 객체를 생성하는 <a href="https://docs.python.org/3.7/howto/functional.html#generators" rel="nofollow">생성자</a>를 반환합니다. 모든 Discussions를 하나의 리스트로 가져오려면 다음을 실행합니다:',ls,J,ts,U,Zs='<a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.get_repo_discussions">HfApi.get_repo_discussions()</a>가 반환하는 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/community#huggingface_hub.Discussion">Discussion</a> 객체에는 Discussions 또는 Pull Request에 대한 개략적인 개요가 포함되어 있습니다. <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.get_discussion_details">HfApi.get_discussion_details()</a>를 사용하여 더 자세한 정보를 얻을 수도 있습니다:',ns,w,is,$,vs='<a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.get_discussion_details">HfApi.get_discussion_details()</a>는 Discussion 또는 Pull Request에 대한 자세한 정보가 포함된 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/community#huggingface_hub.Discussion">Discussion</a>의 하위 클래스인 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/community#huggingface_hub.DiscussionWithDetails">DiscussionWithDetails</a> 객체를 반환합니다. 해당 정보는 <code>DiscussionWithDetails.events</code>를 통해 Discussion의 모든 댓글, 상태 변경 및 이름 변경을 포함하고 있습니다.',ps,q,Gs="Pull Request의 경우, <code>DiscussionWithDetails.diff</code>를 통해 원시 git diff를 검색할 수 있습니다. Pull Request의 모든 커밋은 <code>DiscussionWithDetails.events</code>에 나열됩니다.",cs,H,us,Z,As=`<a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi">HfApi</a> 클래스는 Discussions 및 Pull Requests를 생성하고 수정하는 방법도 제공합니다.
Discussions와 Pull Requests를 만들고 편집하려면 <a href="https://huggingface.co/docs/hub/security-tokens" rel="nofollow">접근 토큰</a>이 필요합니다.`,rs,v,Rs='Hub의 리포지토리에 변경 사항을 제안하는 가장 간단한 방법은 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a> API를 사용하는 것입니다. <code>create_pr</code> 매개변수를 <code>True</code>로 설정하기만 하면 됩니다. 이 매개변수는 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.create_commit">create_commit()</a>을 래핑하는 다른 함수에서도 사용할 수 있습니다:',hs,G,Xs='<li><a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.upload_file">upload_file()</a></li> <li><a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.upload_folder">upload_folder()</a></li> <li><a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.delete_file">delete_file()</a></li> <li><a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.delete_folder">delete_folder()</a></li> <li><a href="/docs/huggingface_hub/pr_2396/ko/package_reference/cards#huggingface_hub.metadata_update">metadata_update()</a></li>',os,A,gs,R,Cs=`리포지토리에 대한 Discussion(또는 Pull Request)을 만들려면 [<code>HfApi.create_discussion</code>](또는 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.create_pull_request">HfApi.create_pull_request()</a>)을 사용할 수도 있습니다.
이 방법으로 Pull Request를 열면 로컬에서 변경 작업을 해야 하는 경우에 유용할 수 있습니다. 이 방법으로 열린 Pull Request는 <code>&quot;draft&quot;</code> 모드가 됩니다.`,fs,X,ms,C,zs='Pull Requests 및 Discussions 관리는 전적으로 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi">HfApi</a> 클래스로 할 수 있습니다. 예를 들어:',ds,z,Ns='<li>댓글을 추가하려면 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.comment_discussion">comment_discussion()</a></li> <li>댓글을 수정하려면 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.edit_discussion_comment">edit_discussion_comment()</a></li> <li>Discussion 또는 Pull Request의 이름을 바꾸려면 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.rename_discussion">rename_discussion()</a></li> <li>Discussion / Pull Request를 열거나 닫으려면 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.change_discussion_status">change_discussion_status()</a></li> <li>Pull Request를 병합하려면 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi.merge_pull_request">merge_pull_request()</a>를 사용합니다.</li>',_s,N,xs='사용 가능한 모든 메소드에 대한 전체 참조는 <a href="/docs/huggingface_hub/pr_2396/ko/package_reference/hf_api#huggingface_hub.HfApi">HfApi</a> 문서 페이지를 참조하세요.',Ms,x,bs,I,Is="<em>곧 공개됩니다!</em>",js,D,ys,B,Ds='더 자세한 내용은 <a href="../package_reference/community">Discussions 및 Pull Requests</a>와 <a href="../package_reference/hf_api">hf_api</a> 문서 페이지를 참조하세요.',Ts,E,ks,V,Js;return d=new Y({props:{title:"Discussions 및 Pull Requests를 이용하여 상호작용하기",local:"interact-with-discussions-and-pull-requests",headingTag:"h1"}}),M=new Y({props:{title:"Hub에서 Discussions 및 Pull Requests 가져오기",local:"retrieve-discussions-and-pull-requests-from-the-hub",headingTag:"h2"}}),j=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}}),J=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}}),w=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}}),H=new Y({props:{title:"프로그래밍 방식으로 Discussion 또는 Pull Request를 생성하고 수정하기",local:"create-and-edit-a-discussion-or-pull-request-programmatically",headingTag:"h2"}}),A=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}}),X=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}}),x=new Y({props:{title:"Pull Request에 변경 사항 푸시",local:"push-changes-to-a-pull-request",headingTag:"h2"}}),D=new Y({props:{title:"참고 항목",local:"see-also",headingTag:"h2"}}),E=new Fs({props:{source:"https://github.com/huggingface/huggingface_hub/blob/main/docs/source/ko/guides/community.md"}}),{c(){m=i("meta"),L=t(),P=i("p"),Q=t(),u(d.$$.fragment),S=t(),_=i("p"),_.innerHTML=ws,F=t(),u(M.$$.fragment),K=t(),b=i("p"),b.innerHTML=$s,O=t(),u(j.$$.fragment),ss=t(),y=i("p"),y.innerHTML=qs,es=t(),u(T.$$.fragment),as=t(),k=i("p"),k.innerHTML=Hs,ls=t(),u(J.$$.fragment),ts=t(),U=i("p"),U.innerHTML=Zs,ns=t(),u(w.$$.fragment),is=t(),$=i("p"),$.innerHTML=vs,ps=t(),q=i("p"),q.innerHTML=Gs,cs=t(),u(H.$$.fragment),us=t(),Z=i("p"),Z.innerHTML=As,rs=t(),v=i("p"),v.innerHTML=Rs,hs=t(),G=i("ul"),G.innerHTML=Xs,os=t(),u(A.$$.fragment),gs=t(),R=i("p"),R.innerHTML=Cs,fs=t(),u(X.$$.fragment),ms=t(),C=i("p"),C.innerHTML=zs,ds=t(),z=i("ul"),z.innerHTML=Ns,_s=t(),N=i("p"),N.innerHTML=xs,Ms=t(),u(x.$$.fragment),bs=t(),I=i("p"),I.innerHTML=Is,js=t(),u(D.$$.fragment),ys=t(),B=i("p"),B.innerHTML=Ds,Ts=t(),u(E.$$.fragment),ks=t(),V=i("p"),this.h()},l(s){const e=Qs("svelte-u9bgzb",document.head);m=p(e,"META",{name:!0,content:!0}),e.forEach(a),L=n(s),P=p(s,"P",{}),Bs(P).forEach(a),Q=n(s),r(d.$$.fragment,s),S=n(s),_=p(s,"P",{"data-svelte-h":!0}),c(_)!=="svelte-1ivcu03"&&(_.innerHTML=ws),F=n(s),r(M.$$.fragment,s),K=n(s),b=p(s,"P",{"data-svelte-h":!0}),c(b)!=="svelte-1ss3cr2"&&(b.innerHTML=$s),O=n(s),r(j.$$.fragment,s),ss=n(s),y=p(s,"P",{"data-svelte-h":!0}),c(y)!=="svelte-6nzq9z"&&(y.innerHTML=qs),es=n(s),r(T.$$.fragment,s),as=n(s),k=p(s,"P",{"data-svelte-h":!0}),c(k)!=="svelte-e5zf0e"&&(k.innerHTML=Hs),ls=n(s),r(J.$$.fragment,s),ts=n(s),U=p(s,"P",{"data-svelte-h":!0}),c(U)!=="svelte-jgz92y"&&(U.innerHTML=Zs),ns=n(s),r(w.$$.fragment,s),is=n(s),$=p(s,"P",{"data-svelte-h":!0}),c($)!=="svelte-1wjsrze"&&($.innerHTML=vs),ps=n(s),q=p(s,"P",{"data-svelte-h":!0}),c(q)!=="svelte-123r7dh"&&(q.innerHTML=Gs),cs=n(s),r(H.$$.fragment,s),us=n(s),Z=p(s,"P",{"data-svelte-h":!0}),c(Z)!=="svelte-13yyns6"&&(Z.innerHTML=As),rs=n(s),v=p(s,"P",{"data-svelte-h":!0}),c(v)!=="svelte-1h3vrsj"&&(v.innerHTML=Rs),hs=n(s),G=p(s,"UL",{"data-svelte-h":!0}),c(G)!=="svelte-1seuydz"&&(G.innerHTML=Xs),os=n(s),r(A.$$.fragment,s),gs=n(s),R=p(s,"P",{"data-svelte-h":!0}),c(R)!=="svelte-1nphtwt"&&(R.innerHTML=Cs),fs=n(s),r(X.$$.fragment,s),ms=n(s),C=p(s,"P",{"data-svelte-h":!0}),c(C)!=="svelte-1aodxuw"&&(C.innerHTML=zs),ds=n(s),z=p(s,"UL",{"data-svelte-h":!0}),c(z)!=="svelte-1u2bwrq"&&(z.innerHTML=Ns),_s=n(s),N=p(s,"P",{"data-svelte-h":!0}),c(N)!=="svelte-tt8z2t"&&(N.innerHTML=xs),Ms=n(s),r(x.$$.fragment,s),bs=n(s),I=p(s,"P",{"data-svelte-h":!0}),c(I)!=="svelte-95s5jn"&&(I.innerHTML=Is),js=n(s),r(D.$$.fragment,s),ys=n(s),B=p(s,"P",{"data-svelte-h":!0}),c(B)!=="svelte-172vasr"&&(B.innerHTML=Ds),Ts=n(s),r(E.$$.fragment,s),ks=n(s),V=p(s,"P",{}),Bs(V).forEach(a),this.h()},h(){Es(m,"name","hf:doc:metadata"),Es(m,"content",Os)},m(s,e){Ss(document.head,m),l(s,L,e),l(s,P,e),l(s,Q,e),h(d,s,e),l(s,S,e),l(s,_,e),l(s,F,e),h(M,s,e),l(s,K,e),l(s,b,e),l(s,O,e),h(j,s,e),l(s,ss,e),l(s,y,e),l(s,es,e),h(T,s,e),l(s,as,e),l(s,k,e),l(s,ls,e),h(J,s,e),l(s,ts,e),l(s,U,e),l(s,ns,e),h(w,s,e),l(s,is,e),l(s,$,e),l(s,ps,e),l(s,q,e),l(s,cs,e),h(H,s,e),l(s,us,e),l(s,Z,e),l(s,rs,e),l(s,v,e),l(s,hs,e),l(s,G,e),l(s,os,e),h(A,s,e),l(s,gs,e),l(s,R,e),l(s,fs,e),h(X,s,e),l(s,ms,e),l(s,C,e),l(s,ds,e),l(s,z,e),l(s,_s,e),l(s,N,e),l(s,Ms,e),h(x,s,e),l(s,bs,e),l(s,I,e),l(s,js,e),h(D,s,e),l(s,ys,e),l(s,B,e),l(s,Ts,e),h(E,s,e),l(s,ks,e),l(s,V,e),Js=!0},p:Ps,i(s){Js||(o(d.$$.fragment,s),o(M.$$.fragment,s),o(j.$$.fragment,s),o(T.$$.fragment,s),o(J.$$.fragment,s),o(w.$$.fragment,s),o(H.$$.fragment,s),o(A.$$.fragment,s),o(X.$$.fragment,s),o(x.$$.fragment,s),o(D.$$.fragment,s),o(E.$$.fragment,s),Js=!0)},o(s){g(d.$$.fragment,s),g(M.$$.fragment,s),g(j.$$.fragment,s),g(T.$$.fragment,s),g(J.$$.fragment,s),g(w.$$.fragment,s),g(H.$$.fragment,s),g(A.$$.fragment,s),g(X.$$.fragment,s),g(x.$$.fragment,s),g(D.$$.fragment,s),g(E.$$.fragment,s),Js=!1},d(s){s&&(a(L),a(P),a(Q),a(S),a(_),a(F),a(K),a(b),a(O),a(ss),a(y),a(es),a(as),a(k),a(ls),a(ts),a(U),a(ns),a(is),a($),a(ps),a(q),a(cs),a(us),a(Z),a(rs),a(v),a(hs),a(G),a(os),a(gs),a(R),a(fs),a(ms),a(C),a(ds),a(z),a(_s),a(N),a(Ms),a(bs),a(I),a(js),a(ys),a(B),a(Ts),a(ks),a(V)),a(m),f(d,s),f(M,s),f(j,s),f(T,s),f(J,s),f(w,s),f(H,s),f(A,s),f(X,s),f(x,s),f(D,s),f(E,s)}}}const Os='{"title":"Discussions 및 Pull Requests를 이용하여 상호작용하기","local":"interact-with-discussions-and-pull-requests","sections":[{"title":"Hub에서 Discussions 및 Pull Requests 가져오기","local":"retrieve-discussions-and-pull-requests-from-the-hub","sections":[],"depth":2},{"title":"프로그래밍 방식으로 Discussion 또는 Pull Request를 생성하고 수정하기","local":"create-and-edit-a-discussion-or-pull-request-programmatically","sections":[],"depth":2},{"title":"Pull Request에 변경 사항 푸시","local":"push-changes-to-a-pull-request","sections":[],"depth":2},{"title":"참고 항목","local":"see-also","sections":[],"depth":2}],"depth":1}';function se(Us){return Vs(()=>{new URLSearchParams(window.location.search).get("fw")}),[]}class ne extends Ys{constructor(m){super(),Ls(this,m,se,Ks,Ws,{})}}export{ne as component};
