mirror of
https://github.com/anthropics/claude-code-sdk-python.git
synced 2025-12-23 09:19:52 +00:00
Fix: Fix HookMatcher.timeout type to float (#357)
According to https://www.schemastore.org/claude-code-settings.json, the `timeout` type is `number`, not `integer` Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
This commit is contained in:
parent
23183a2698
commit
7a5b413159
1 changed files with 1 additions and 1 deletions
|
|
@ -367,7 +367,7 @@ class HookMatcher:
|
|||
hooks: list[HookCallback] = field(default_factory=list)
|
||||
|
||||
# Timeout in seconds for all hooks in this matcher (default: 60)
|
||||
timeout: int | None = None
|
||||
timeout: float | None = None
|
||||
|
||||
|
||||
# MCP Server config
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue