File tree Expand file tree Collapse file tree 4 files changed +46
-2
lines changed
Expand file tree Collapse file tree 4 files changed +46
-2
lines changed Original file line number Diff line number Diff line change 3232
3333.. autoclass :: scapi.ProjectFeatured
3434
35- .. autoclass :: scapi.ProjectVisibility
35+ .. autoclass :: scapi.ProjectVisibility
36+
37+ スタジオ
38+ -------------------------
39+
40+ .. autofunction :: scapi.get_studio
41+
42+ .. autofunction :: scapi.Session.get_studio
43+ :no-index:
44+
45+ .. autoclass :: scapi.Studio
46+
47+ .. autoclass :: scapi.StudioStatus
48+
49+ ユーザー
50+ -------------------------
51+
52+ .. autofunction :: scapi.get_user
53+
54+ .. autofunction :: scapi.Session.get_user
55+ :no-index:
56+
57+ .. autoclass :: scapi.User
58+
59+ コメント
60+ -------------------------
61+
62+ .. autoclass :: scapi.Comment
Original file line number Diff line number Diff line change 2020
2121from .sites .studio import (
2222 Studio ,
23+ StudioStatus ,
2324 get_studio
2425)
2526
Original file line number Diff line number Diff line change 1010)
1111
1212class Studio (base ._BaseSiteAPI [int ]):
13+ """
14+ スタジオを表す
15+
16+ Attributes:
17+ id (int): スタジオのID
18+ title (common.MAYBE_UNKNOWN[str]): スタジオの名前
19+ host_id (common.MAYBE_UNKNOWN[int]): スタジオの所有者のユーザーID
20+ description (common.MAYBE_UNKNOWN[str]): スタジオの説明欄
21+ open_to_all (common.MAYBE_UNKNOWN[bool]): 誰でもプロジェクトを追加できるか
22+ comments_allowed (common.MAYBE_UNKNOWN[bool]): コメント欄が開いているか
23+
24+ comment_count (common.MAYBE_UNKNOWN[int]): コメントの数(<=100)
25+ follower_count (common.MAYBE_UNKNOWN[int]): フォロワーの数
26+ manager_count (common.MAYBE_UNKNOWN[int]): マネージャーの数
27+ project_count (common.MAYBE_UNKNOWN[int]): プロジェクトの数(<=100)
28+ """
1329 def __repr__ (self ) -> str :
1430 return f"<Studio id:{ self .id } session:{ self .session } >"
1531
Original file line number Diff line number Diff line change 77
88from . import error ,client ,config
99
10- __version__ = "3.0.0a "
10+ __version__ = "3.0.0.dev1 "
1111
1212_KT = TypeVar ("_KT" )
1313_VT = TypeVar ("_VT" )
You can’t perform that action at this time.
0 commit comments