Args: *arg_blocks: Group to add to report blocks: Allows providing the report blocks as a single list name: A unique id for the blocks to aid querying (optional) label: A label used when displaying the block (optional)
(
self,
*arg_blocks: BlockOrPrimitive,
blocks: t.List[BlockOrPrimitive] = None,
name: BlockId = None,
label: str = None,
)
| 204 | report_minimum_blocks = 1 |
| 205 | |
| 206 | def __init__( |
| 207 | self, |
| 208 | *arg_blocks: BlockOrPrimitive, |
| 209 | blocks: t.List[BlockOrPrimitive] = None, |
| 210 | name: BlockId = None, |
| 211 | label: str = None, |
| 212 | ): |
| 213 | """ |
| 214 | Args: |
| 215 | *arg_blocks: Group to add to report |
| 216 | blocks: Allows providing the report blocks as a single list |
| 217 | name: A unique id for the blocks to aid querying (optional) |
| 218 | label: A label used when displaying the block (optional) |
| 219 | """ |
| 220 | super().__init__(*arg_blocks, blocks=blocks, name=name, label=label) |
| 221 | self._wrap_blocks() |
| 222 | |
| 223 | def _wrap_blocks(self) -> None: |
| 224 | """Wrap the list of blocks in a top-level block element if needed""" |
nothing calls this directly
no test coverage detected