This repository was archived by the owner on May 28, 2022. It is now read-only.
v1.0.0 #65
yupix
announced in
Announcements
v1.0.0
#65
Replies: 2 comments 2 replies
-
|
This release is currently not available for upload due to the author's environment and does not exist on pypi. |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
As the Loop works great! |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Added
Noteクラスにreplyメソッドを追加しましたrichを使ったデバッグ機能を追加しましたfile_upload関数を追加しましたrunメソッドにdebug引数を追加しましたChatChatContentクラスを追加しましたon_chatイベントを追加しましたNoteContentクラスを追加しました- ノートの受信イベントでは基本このクラスが使用されます。Instanceクラスにget_usersメソッドを追加しましたChanged
今までのNoteクラスに当たるものをNoteContentに変更し別途Noteクラスを作成させるようにしましたこれは不要なデータなどを生成しないようにすることが目的です。Driveクラスのuploadメソッドで例外InvalidParametersを発生させるようにしましたto_file,to_urlの両方がないと変数が定義されず、Driveクラスの生成に失敗する可能性があるからです。get_userメソッドが 非同期になりました。utils.pyの一部を Cython を用いたものに変更DriveActionを廃止し,file_uploadを使用するようにevent_dispatchでクラスにイベントがある場合呼び出すようにしましたdispatchに関連する物を非同期から同期に変更しましたwebsocketsからaiohttpに変更しましたRouterクラスのchannelsメソッドをconnect_channelに変更しましたon_readyを除きwebsocketを引数で渡さないようになりましたNoteクラスのtext変数をcontentと統合しましたReactionクラスとReactionContentを結合させましたChatクラスとChatContentを結合させましたDriveクラスのuploadメソッドで使用できる引数名を変更、キーワード引数を強制するようにしました。url=>to_url,path=>to_fileforce,is_sensitiveFixed
Removed
Routerクラスから以下のメソッドを削除しましたChatContentReactionContentNoteContentUserActionUserProfileUserProfileにあったものはUserに統合され、詳細な情報はUserクラスの detailsオブジェクト(UserDetails) から取得可能ですWebSocketクラスを削除しましたws_connectメソッドを使用しますrequestsライブラリを削除しましたrequestメソッドを使用しますThis discussion was created from the release v1.0.0.
Beta Was this translation helpful? Give feedback.
All reactions