code: def set_block_type(self, block_type):
      for line in self.lines:
          for span in line.spans:
              span.block_type = block_type
  
imports: from collections import Counter
  from typing import List, Optional, Tuple
  from pydantic import BaseModel, field_validator
  import ftfy
  from marker.bbox import boxes_intersect_pct, multiple_boxes_intersect
  from marker.settings import settings
label_desc: Use image node_id 6 for calling the Block obj's underlying member method code with example usage: obj.set_block_type(block_type) without return types