code: def store_job_artifacts(artifact_data):
      
      for artifact in artifact_data:
          # Determine what type of artifact we have received
          if artifact:
              artifact_name = artifact.get('name')
              if not artifact_name:
                  logger.error("load_job_artifacts: Unnamed job artifact, skipping")
                  continue
              job_guid = artifact.get('job_guid')
              if not job_guid:
                  logger.error("load_job_artifacts: Artifact '%s' with no "
                               "job guid set, skipping", artifact_name)
                  continue
  
              try:
                  job = Job.objects.get(guid=job_guid)
              except Job.DoesNotExist:
                  logger.error('load_job_artifacts: No job_id for guid %s', job_guid)
                  continue
  
              if artifact_name == 'performance_data':
                  store_performance_artifact(job, artifact)
              elif artifact_name == 'Job Info':
                  store_job_info_artifact(job, artifact)
              elif artifact_name == 'text_log_summary':
                  try:
                      store_text_log_summary_artifact(job, artifact)
                  except IntegrityError:
                      logger.warning("Couldn't insert text log information "
                                     "for job with guid %s, this probably "
                                     "means the job was already parsed",
                                     job_guid)
              else:
                  logger.warning("Unknown artifact type: %s submitted with job %s",
                                 artifact_name, job.guid)
          else:
              logger.error('store_job_artifacts: artifact type %s not understood', artifact_name)
docs: Store a list of job artifacts. All of the datums in artifact_data need
      to be in the following format:
  
          {
              'type': 'json',
              'name': 'my-artifact-name',
              # blob can be any kind of structured data
              'blob': { 'stuff': [1, 2, 3, 4, 5] },
              'job_guid': 'd22c74d4aa6d2a1dcba96d95dccbd5fdca70cf33'
          }