Add a container block example (example01) modeled on the container
block reference page: a collapsible bulk-update summary grouping section,
divider, context, and actions child blocks (all built with slack_sdk
model classes).
slack_sdk does not yet export ContainerBlock, so mypy and pytest
(collection) fail by design on the missing import — the honest signal
that the block is not yet available, unblocking when the SDK ships it.
Ruff and formatting pass. Mirrors the JS container example
(slack-samples/bolt-js-examples#165).
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
Summary
Adds a container Block Kit example to the block-kit collection, closing the last block-coverage gap for Python (the JS collection already has one via slack-samples/bolt-js-examples#165). example01 models the container block reference page: a collapsible bulk update container grouping section, divider, context, and actions child blocks (all built with slack_sdk model classes).
⚠️ Draft — CI fails by design
slack_sdk does not yet export ContainerBlock (verified against slack_sdk==3.42.0), so:
This is intentional — the example imports the real (unshipped) block class rather than hand-rolling one, so the red CI is an honest signal the SDK is missing the type. The child blocks (section/divider/context/actions) all use real slack_sdk model classes. Ruff check + format pass. Unblocks once slack_sdk ships ContainerBlock.
Related
🤖 Generated with Claude Code