class_docstr: A Block serves as the foundation class for all graph-based optimization techniques.
class_docstr_tok: ["A","Block","serves","as","the","foundation","class","for","all","graph-based","optimization","techniques","."]
docstr: Type of the block.
docstr_tok: ["Type","of","the","block","."]
code: def type(self) -> str:
      """Type of the block."""
  
      return self._type
  
imports: import opytimizer.utils.exception
label_desc: Use image node_id 3 for calling the Block obj's underlying member method code with example usage: obj.type() and returns: self