def _add_artifacts(self, cef_key, input_set, artifact_name, start_index, artifacts):
    added_artifacts = 0
    for entry in input_set:
        if (not entry):
            continue
        artifact = {}
        artifact.update(_artifact_common)
        artifact['source_data_identifier'] = (start_index + added_artifacts)
        artifact['cef'] = {cef_key: entry}
        artifact['name'] = artifact_name
        self._base_connector.debug_print('Artifact:', artifact)
        artifacts.append(artifact)
        added_artifacts += 1
    return added_artifacts
def _add_artifacts(self, cef_key, input_set, artifact_name, start_index, artifacts):
    added_artifacts = 0
    for entry in input_set:
        if (not entry):
            continue
        artifact = {}
        artifact.update(_artifact_common)
        artifact['source_data_identifier'] = (start_index + added_artifacts)
        artifact['cef'] = {cef_key: entry}
        artifact['name'] = artifact_name
        self._base_connector.debug_print('Artifact:', artifact)
        artifacts.append(artifact)
        added_artifacts += 1
    return added_artifacts