Repository navigation
Commit 1195f3d
feat(web-api): accept typed blocks/view on blocks_validate
Bring blocks_validate to parity with chat_postMessage / views_open: accept
Block objects (Union[str, Sequence[Union[Dict, Block]]]) and a View/dict for
view, serialize them via _parse_web_class_objects and view.to_dict(), and
send as json. message accepts a dict or JSON string.
client.py is the source of truth; async_client.py and legacy_client.py are
regenerated via scripts/codegen.py.
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>1 parent 20fa877 commit 1195f3d
3 files changed
Lines changed: 39 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2235 | 2235 | | |
2236 | 2236 | | |
2237 | 2237 | | |
2238 | | - | |
2239 | | - | |
2240 | | - | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
2241 | 2241 | | |
2242 | 2242 | | |
2243 | 2243 | | |
2244 | | - | |
| 2244 | + | |
2245 | 2245 | | |
2246 | 2246 | | |
2247 | 2247 | | |
2248 | | - | |
2249 | | - | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
2250 | 2257 | | |
2251 | 2258 | | |
2252 | 2259 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2225 | 2225 | | |
2226 | 2226 | | |
2227 | 2227 | | |
2228 | | - | |
2229 | | - | |
2230 | | - | |
| 2228 | + | |
| 2229 | + | |
| 2230 | + | |
2231 | 2231 | | |
2232 | 2232 | | |
2233 | 2233 | | |
2234 | | - | |
| 2234 | + | |
2235 | 2235 | | |
2236 | 2236 | | |
2237 | 2237 | | |
2238 | | - | |
2239 | | - | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
| 2241 | + | |
| 2242 | + | |
| 2243 | + | |
| 2244 | + | |
| 2245 | + | |
| 2246 | + | |
2240 | 2247 | | |
2241 | 2248 | | |
2242 | 2249 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2235 | 2235 | | |
2236 | 2236 | | |
2237 | 2237 | | |
2238 | | - | |
2239 | | - | |
2240 | | - | |
| 2238 | + | |
| 2239 | + | |
| 2240 | + | |
2241 | 2241 | | |
2242 | 2242 | | |
2243 | 2243 | | |
2244 | | - | |
| 2244 | + | |
2245 | 2245 | | |
2246 | 2246 | | |
2247 | 2247 | | |
2248 | | - | |
2249 | | - | |
| 2248 | + | |
| 2249 | + | |
| 2250 | + | |
| 2251 | + | |
| 2252 | + | |
| 2253 | + | |
| 2254 | + | |
| 2255 | + | |
| 2256 | + | |
2250 | 2257 | | |
2251 | 2258 | | |
2252 | 2259 | | |
| |||
0 commit comments