code: def compute_crash_pattern(self) -> str:
      stack_trace = LogAggregator._compute_stack_trace(
          self.log.splitlines()
      )
      # truncate short enough to store in databases, but long enough to keep the
      # pattern unique
      return LogAggregator._compute_signature(stack_trace)[:4000]
  
imports: import re
  from typing import List
label_desc: Use image node_id 2 for calling the LogAggregator obj's underlying member method code with example usage: obj.compute_crash_pattern() and returns: LogAggregator