File: collections.md

package info (click to toggle)
huggingface-hub 0.31.1-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 5,092 kB
  • sloc: python: 40,321; makefile: 54
file content (24 lines) | stat: -rw-r--r-- 866 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<!--⚠️ Note that this file is in Markdown but contains specific syntax for our doc-builder (similar to MDX) that may not be
rendered properly in your Markdown viewer.
-->

# 컬렉션 관리[[managing-collections]]

Hub에서 Space를 관리하는 메소드에 대한 자세한 설명은 [`HfApi`] 페이지를 확인하세요.

- 컬렉션 내용 가져오기: [`get_collection`]
- 새로운 컬렉션 생성: [`create_collection`]
- 컬렉션 업데이트: [`update_collection_metadata`]
- 컬렉션 삭제: [`delete_collection`]
- 컬렉션에 항목 추가: [`add_collection_item`]
- 컬렉션의 항목 업데이트: [`update_collection_item`]
- 컬렉션에서 항목 제거: [`delete_collection_item`]


### Collection[[huggingface_hub.Collection]]

[[autodoc]] Collection

### CollectionItem[[huggingface_hub.CollectionItem]]

[[autodoc]] CollectionItem