def _load_data_from_shared_memory_parallelizable(
  scoringArgsSharedMemory: c.ScoringArgsSharedMemory, scoringArgs: ScoringArgs
) -> ScoringArgs:
  """
  Load data from shared memory into the scoringArgs object. This function is designed to be run
  in a multiprocessing pool.
  """
  scoringArgs.noteTopics = get_df_from_shared_memory(scoringArgsSharedMemory.noteTopics)
  scoringArgs.ratings = get_df_from_shared_memory(scoringArgsSharedMemory.ratings)
  scoringArgs.noteStatusHistory = get_df_from_shared_memory(
    scoringArgsSharedMemory.noteStatusHistory
  )
  scoringArgs.userEnrollment = get_df_from_shared_memory(scoringArgsSharedMemory.userEnrollment)

  if type(scoringArgs) == FinalScoringArgs:
    assert type(scoringArgsSharedMemory) == c.FinalScoringArgsSharedMemory
    scoringArgs.prescoringNoteModelOutput = get_df_from_shared_memory(
      scoringArgsSharedMemory.prescoringNoteModelOutput
    )
    scoringArgs.prescoringRaterModelOutput = get_df_from_shared_memory(
      scoringArgsSharedMemory.prescoringRaterModelOutput
    )
  return scoringArgs

  Load data from shared memory into the scoringArgs object. This function is designed to be run
  in a multiprocessing pool.
  
sourcecode/scoring/run_scoring.py