Commit 9db24f5
committed
screenshot_config: cache_ttl is int (seconds), not bool
ScreenshotConfig declared cache_ttl as Optional[bool] in both the field
annotation and the __init__ signature, but the scrape API requires an
integer TTL. Sending anything other than an int raises
ERR::SCRAPE::CONFIG_ERROR at the API layer.
ScrapeConfig.cache_ttl is already typed as int; align the screenshot
config to the same shape.1 parent a34fc29 commit 9db24f5
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
0 commit comments