class_docstr: Helper class for managing tutorial related actions (ie., generating sample files).
docstr: Generates the sample model files to the given dbt model path.
docstr_tok: ["Generates","the","sample","model","files","to","the","given","dbt","model","path","."]
code: def generate_model_files(
      model_path: pathlib.Path, profile_schema: str
  ) -> None:
      """Generates the sample model files to the given dbt model path."""
      sample_model_path = (
          pathlib.Path(__file__).parent
          / dbtMetricFlowTutorialHelper.SAMPLE_MODELS_DIRECTORY
      )
      shutil.copytree(src=sample_model_path, dst=model_path)
  
      # Generate the sources.yml file with the schema given in profiles.yml
      sample_sources_path = (
          pathlib.Path(__file__).parent
          / dbtMetricFlowTutorialHelper.SAMPLE_DBT_MODEL_DIRECTORY
          / dbtMetricFlowTutorialHelper.SAMPLE_SOURCES_FILE
      )
      with open(sample_sources_path) as file:
          contents = Template(file.read()).substitute(
              {"system_schema": profile_schema}
          )
      dest_sources_path = (
          pathlib.Path(model_path)
          / dbtMetricFlowTutorialHelper.SAMPLE_SOURCES_FILE
      )
      with open(dest_sources_path, "w") as file:
          file.write(contents)
  
file_path: metricflow/metricflow/cli/tutorial.py
imports: from __future__ import annotations
  import pathlib
  import shutil
  from string import Template
  from typing import Sequence
label_desc: Use image node_id 1 for calling the dbtMetricFlowTutorialHelper obj's underlying member method code with example usage: obj.generate_model_files(model_path, profile_schema) without return types