def get_block(self, block_index): """ Returns Block at block_index. Parameters ---------- block_index : int Index of required block. """ return block.get_block(self, block_index)
def get_block(self, block_index: int) -> SimpleNamespace: """ Retrieves block of events identified by `block_index` from `Sequence`. Parameters ---------- block_index : int Index of block to be retrieved from `Sequence`. Returns ------- SimpleNamespace Block identified by `block_index`. """ return block.get_block(self, block_index)