You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: blueprint_helpers.rs
    path of file: ./repos/rerun/crates/re_viewer_context/src
    
    the code of the file until where you have to start completion: use re_log_types::{DataCell, DataRow, EntityPath, RowId, Time, TimePoint, Timeline};
use re_types::{components::InstanceKey, AsComponents, ComponentBatch, ComponentName};

use crate::{SystemCommand, SystemCommandSender as _, ViewerContext};

#[inline]
pub fn blueprint_timeline() -> Timeline {
    Timeline::new_temporal("blueprint")
}

/// The timepoint to use when writing an update to the blueprint.
#[inline]
pub fn blueprint_timepoint_for_writes() -> TimePoint {
    TimePoint::from([(blueprint_timeline(), Time::now().into())])
}

impl ViewerContext<'_> {
    pub fn save_blueprint_archetype(&self, 
    
    pub fn save_blueprint_archetype(&self, entity_path: EntityPath, components: &dyn AsComponents) {
        let timepoint = blueprint_timepoint_for_writes();

        let data_row =
            match DataRow::from_archetype(RowId::new(), timepoint.clone(), entity_path, components)
            {
                Ok(data_cell) => data_cell,
                Err(err) => {
                    re_log::error_once!(
                        "Failed to create DataRow for blueprint components: {}",
                        err
                    );
                    return;
                }
            };

        self.command_sender
            .send_system(SystemCommand::UpdateBlueprint(
                self.store_context.blueprint.store_id().clone(),
                vec![data_row],
            ));
    }