mattermost/python-sdk/src
Nick Misasi ef13892007 feat(07-01): add hook runner utility with timeout support
- Create hook_runner.py with run_hook_async function
- Support both sync and async handlers via asyncio.to_thread
- Enforce timeouts with asyncio.wait_for (default 30s)
- Convert exceptions to gRPC status codes
- Add HookRunner class for convenient invocation

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 11:18:11 -05:00
..
mattermost_plugin feat(07-01): add hook runner utility with timeout support 2026-01-19 11:18:11 -05:00