code: def create(cls, data):
      dashboard = Dashboard(
          name=data.get("name"),
          project_key=data.get("project_key"),
          game_width=data.get("game_width"),
          game_height=data.get("game_height"),
      )
  
      commit()
  
      default_metrics = DefaultMetric.select(lambda dm: True)[:]
  
      for default_metric in default_metrics:
          metric = Metric(
              label=default_metric.label,
              display_type=default_metric.display_type,
              event=default_metric.event,
              event_key=default_metric.event_key,
              clear_event=default_metric.clear_event,
              x=default_metric.x,
              y=default_metric.y,
              w=default_metric.w,
              h=default_metric.h,
              dashboard=dashboard,
          )
  
      commit()
  
      return dashboard
  
file_path: SerpentAI/serpent/dashboard/models/entities.py
imports: from uuid import UUID, uuid4
  from pony.orm import *
  import os
label_desc: Use image node_id 5 for calling the Dashboard obj's underlying member method code with example usage: obj.create(cls, data) and returns: dashboard