mirror of
https://github.com/stoatchat/python-client-sdk.git
synced 2026-07-21 10:05:22 -04:00
[PR #74] [CLOSED] fix: Server.create_role raising a KeyError #87
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/stoatchat/python-client-sdk/pull/74
Author: @andrewthederp
Created: 4/10/2024
Status: ❌ Closed
Base:
master← Head:master📝 Commits (2)
ea55ce1Fix KeyError when usingServer.create_roleadd5b6dAdd some typehints📊 Changes
1 file changed (+5 additions, -2 deletions)
View changed files
📝
revolt/server.py(+5 -2)📄 Description
Server.state.http.create_rolereturns a payload in a format different from whatRoleexpects. This pr extracts the needed information fromServer.state.http.create_roleto feed intoRolePlease make sure to check the following tasks before opening and submitting a PR
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.