mattermost/python-sdk/build/lib/mattermost_plugin
Nick Misasi a26942bde1 fix(python-sdk): accept dict responses from ExecuteCommand hook
- Add _to_command_response_proto helper to convert dict/wrapper/protobuf
  to CommandResponse protobuf
- Plugin developers can now return plain dicts with response_type, text, etc.
- Also supports CommandResponse wrapper class and raw protobufs
- Export CommandResponse from mattermost_plugin package

This fixes the "ExecuteCommand returned unexpected type: <class 'dict'>"
error when Python plugin handlers return dict responses.
2026-01-20 10:08:47 -05:00
..
_internal debug: add extensive logging to trace hook registration flow 2026-01-20 09:12:22 -05:00
grpc debug: add extensive logging to trace hook registration flow 2026-01-20 09:12:22 -05:00
servicers fix(python-sdk): accept dict responses from ExecuteCommand hook 2026-01-20 10:08:47 -05:00
__init__.py fix(python-sdk): accept dict responses from ExecuteCommand hook 2026-01-20 10:08:47 -05:00
async_client.py debug: add extensive logging to trace hook registration flow 2026-01-20 09:12:22 -05:00
client.py debug: add extensive logging to trace hook registration flow 2026-01-20 09:12:22 -05:00
exceptions.py debug: add extensive logging to trace hook registration flow 2026-01-20 09:12:22 -05:00
hooks.py debug: add extensive logging to trace hook registration flow 2026-01-20 09:12:22 -05:00
plugin.py debug: add extensive logging to trace hook registration flow 2026-01-20 09:12:22 -05:00
runtime_config.py debug: add extensive logging to trace hook registration flow 2026-01-20 09:12:22 -05:00
server.py debug: add extensive logging to trace hook registration flow 2026-01-20 09:12:22 -05:00