chore: NoteManagerに何故か存在する `get` メソッドを削除

pull/82/head
yupix 1 year ago
parent 89c53f3a4f
commit 50477ad576
No known key found for this signature in database
GPG Key ID: 2FF705F5C56D9C06

@ -53,26 +53,3 @@ class NoteManager(AbstractManager):
@property
def action(self) -> NoteActions:
return NoteActions(note_id=self.__note_id, session=self.__session, client=self.__client,)
async def get(
self,
local: bool = True,
reply: bool = False,
renote: bool = True,
with_files: bool = False,
poll: bool = True,
limit: int = 10,
since_id: str | None = None,
until_id: str | None = None,
):
data = {
'local': local,
'reply': reply,
'renote': renote,
'withFiles': with_files,
'poll': poll,
'limit': limit,
'sinceId': since_id,
'untilId': until_id,
}
await self.__session.request(Route('POST', '/api/notes'), json=data, auth=True, lower=True)

Loading…
Cancel
Save