class_docstr: Abstract assignor implementation which does some common grunt work (in particular collecting
  partition counts which are always needed in assignors).
docstr: Callback that runs on each assignment.
  
  This method can be used to update internal state, if any, of the
  partition assignor.
  
  Arguments:
      assignment (MemberAssignment): the member's assignment
code: def on_assignment(self, assignment):
      """Callback that runs on each assignment.
  
      This method can be used to update internal state, if any, of the
      partition assignor.
  
      Arguments:
          assignment (MemberAssignment): the member's assignment
      """
      pass
  
file_path: kafka-python/kafka/coordinator/assignors/abstract.py
imports: from __future__ import absolute_import
  import abc
  import logging
label_desc: Use image node_id 4 for calling the AbstractPartitionAssignor obj's underlying member method code with example usage: obj.on_assignment(assignment) without return types