code: def before_block_build(self, block: Block) -> None:
      block.data = self.data
      block.training_workspace = self.training_workspace
      if self.serialize_folder is None:
          block.serialize_folder = None
      else:
          block.serialize_folder = self.serialize_folder
  
imports: from typing import Any
  from typing import Dict
  from typing import List
  from typing import Type
  from typing import Optional
  from collections import OrderedDict
  from cftool.misc import safe_execute
  from cftool.misc import print_warning
  from cftool.misc import shallow_copy_dict
  from cftool.pipeline import IBlock
  from cftool.pipeline import IPipeline
  from cftool.pipeline import TPipeline
  from ..schema import IData
  from ..schema import DLConfig
  from ..misc.toolkit import get_ddp_info
label_desc: Use image node_id 6 for calling the Pipeline obj's underlying member method code with example usage: obj.before_block_build(block) without return types