core, python: fix refused renames, extend the client API (#7379)

* core: do not commit refused name changes

* feat(python): add error base and missing commands

* feat(python): let callers drive startup themselves

* style(python): satisfy the linter, skip generated types

* feat(python): expose the message of a command error

* core: update query plans

* core: fix the batch limit parse error on GHC 8.10

* feat(python): reject profile images no client can render
This commit is contained in:
sh
2026-08-17 09:02:14 +01:00
committed by GitHub
parent caac5a61a9
commit 55d18efe24
19 changed files with 718 additions and 82 deletions
@@ -1,5 +1,6 @@
"""SimpleX Chat — Python client library for chat bots."""
from . import util as util # re-export the util namespace
from ._version import __version__
from .api import (
ChatApi,
@@ -32,17 +33,16 @@ from .bot import (
VideoMessage,
VoiceMessage,
)
from .core import ChatAPIError, ChatInitError, CryptoArgs, MigrationConfirmation
from . import util as util # re-export the util namespace
from .core import ChatAPIError, ChatError, ChatInitError, CryptoArgs, MigrationConfirmation
__all__ = [
"__version__",
"Bot",
"BotCommand",
"BotProfile",
"ChatAPIError",
"ChatApi",
"ChatCommandError",
"ChatError",
"ChatInitError",
"ChatMessage",
"Client",
@@ -68,5 +68,6 @@ __all__ = [
"UnknownMessage",
"VideoMessage",
"VoiceMessage",
"__version__",
"util",
]