mattermost/python-sdk
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
..
build/lib/mattermost_plugin fix(python-sdk): accept dict responses from ExecuteCommand hook 2026-01-20 10:08:47 -05:00
scripts chore(10-02): add CI-friendly integration test runner scripts 2026-01-19 15:36:57 -05:00
src fix(python-sdk): accept dict responses from ExecuteCommand hook 2026-01-20 10:08:47 -05:00
tests debug: add extensive logging to trace hook registration flow 2026-01-20 09:12:22 -05:00
pyproject.toml feat(07-01): export hook system public API and add dependencies 2026-01-19 11:18:28 -05:00