chore: format

pull/109/head
yupix 7 months ago
parent e6748caa7d
commit 787813ecbc
No known key found for this signature in database
GPG Key ID: 2FF705F5C56D9C06

@ -20,7 +20,7 @@ class Channel:
@property @property
def id(self) -> str: def id(self) -> str:
"""チャンネルID """チャンネルID
Returns Returns
------- -------
str str
@ -30,7 +30,7 @@ class Channel:
@property @property
def created_at(self) -> datetime: def created_at(self) -> datetime:
"""チャンネルが作成された日時 """チャンネルが作成された日時
Returns Returns
------- -------
datetime datetime
@ -40,7 +40,7 @@ class Channel:
@property @property
def last_noted_at(self) -> datetime | None: def last_noted_at(self) -> datetime | None:
"""チャンネルに最後にノートが投稿された日時 """チャンネルに最後にノートが投稿された日時
Returns Returns
------- -------
datetime | None datetime | None
@ -51,7 +51,7 @@ class Channel:
@property @property
def name(self) -> str: def name(self) -> str:
"""チャンネル名 """チャンネル名
Returns Returns
------- -------
str str
@ -61,7 +61,7 @@ class Channel:
@property @property
def description(self) -> str | None: def description(self) -> str | None:
"""チャンネルの説明 """チャンネルの説明
Returns Returns
------- -------
str | None str | None
@ -71,7 +71,7 @@ class Channel:
@property @property
def user_id(self) -> str | None: def user_id(self) -> str | None:
"""チャンネルを作成したユーザーのID """チャンネルを作成したユーザーのID
Returns Returns
------- -------
str | None str | None
@ -81,7 +81,7 @@ class Channel:
@property @property
def banner_url(self) -> str | None: def banner_url(self) -> str | None:
"""チャンネルのバナー画像URL """チャンネルのバナー画像URL
Returns Returns
------- -------
str | None str | None
@ -91,7 +91,7 @@ class Channel:
@property @property
def pinned_note_ids(self) -> list[str]: def pinned_note_ids(self) -> list[str]:
"""ピン留めされているートのIDのリスト """ピン留めされているートのIDのリスト
Returns Returns
------- -------
list[str] list[str]
@ -101,7 +101,7 @@ class Channel:
@property @property
def color(self) -> str: def color(self) -> str:
"""チャンネルの色 """チャンネルの色
Returns Returns
------- -------
str str
@ -111,7 +111,7 @@ class Channel:
@property @property
def is_archived(self) -> bool: def is_archived(self) -> bool:
"""チャンネルがアーカイブされているかどうか """チャンネルがアーカイブされているかどうか
Returns Returns
------- -------
bool bool
@ -121,7 +121,7 @@ class Channel:
@property @property
def users_count(self) -> int: def users_count(self) -> int:
"""チャンネルに参加しているユーザー数 """チャンネルに参加しているユーザー数
Returns Returns
------- -------
int int
@ -151,7 +151,7 @@ class Channel:
@property @property
def allow_renote_to_external(self) -> bool: def allow_renote_to_external(self) -> bool:
"""外部へのリノートを許可するかどうか """外部へのリノートを許可するかどうか
Returns Returns
------- -------
bool bool
@ -161,7 +161,7 @@ class Channel:
@property @property
def is_following(self) -> bool | None: def is_following(self) -> bool | None:
"""自身がフォローしているかどうか """自身がフォローしているかどうか
Returns Returns
------- -------
bool bool
@ -171,7 +171,7 @@ class Channel:
@property @property
def is_favorited(self) -> bool | None: def is_favorited(self) -> bool | None:
"""自身がお気に入り登録しているかどうか """自身がお気に入り登録しているかどうか
Returns Returns
------- -------
bool bool
@ -181,7 +181,7 @@ class Channel:
@property @property
def pinned_notes(self) -> list[Note]: def pinned_notes(self) -> list[Note]:
"""ピン留めされているノートのリスト """ピン留めされているノートのリスト
Returns Returns
------- -------
list[Note] list[Note]
@ -193,7 +193,7 @@ class Channel:
@property @property
def api(self) -> ClientChannelManager: def api(self) -> ClientChannelManager:
"""チャンネルに関するAPIを利用するためのクライアント """チャンネルに関するAPIを利用するためのクライアント
Returns Returns
------- -------
ClientChannelManager ClientChannelManager

Loading…
Cancel
Save