class_docstr: MetricFlow Python client for running basic queries and other standard commands.
docstr: Retrieves a list of dimension values given a [metric_name, dimension_name].
  
  Args:
      metric_names: Names of metrics that contain the group_by.
      dimension_name: Name of group_by to get values from.
      start_time: Get data for the start of this time range.
      end_time: Get data for the end of this time range.
  
  Returns:
      A list of dimension values as string.
docstr_tok: ["Retrieves","a","list","of","dimension","values","given","a","[","metric_name",",","dimension_name","]",".","Args",":","metric_names",":","Names","of","metrics","that","contain","the","group_by",".","dimension_name",":","Name","of","group_by","to","get","values","from",".","start_time",":","Get","data","for","the","start","of","this","time","range",".","end_time",":","Get","data","for","the","end","of","this","time","range",".","Returns",":","A","list","of","dimension","values","as","string","."]
code: def get_dimension_values(
      self,
      metric_names: List[str],
      dimension_name: str,
      start_time: Optional[str] = None,
      end_time: Optional[str] = None,
  ) -> List[str]:
      """Retrieves a list of dimension values given a [metric_name, dimension_name].
  
      Args:
          metric_names: Names of metrics that contain the group_by.
          dimension_name: Name of group_by to get values from.
          start_time: Get data for the start of this time range.
          end_time: Get data for the end of this time range.
  
      Returns:
          A list of dimension values as string.
      """
      parsed_start_time = _convert_to_datetime(start_time)
      parsed_end_time = _convert_to_datetime(end_time)
      return self.engine.get_dimension_values(
          metric_names=metric_names,
          get_group_by_values=dimension_name,
          time_constraint_start=parsed_start_time,
          time_constraint_end=parsed_end_time,
      )
  
imports: from __future__ import annotations
  import datetime
  import logging
  from typing import Dict, List, Optional
  from dateutil.parser import parse
  from dbt_semantic_interfaces.protocols.semantic_manifest import SemanticManifest
  from dbt_semantic_interfaces.validations.semantic_manifest_validator import SemanticManifestValidator
  from dbt_semantic_interfaces.validations.validator_helpers import SemanticManifestValidationResults
  from metricflow.engine.metricflow_engine import MetricFlowEngine, MetricFlowExplainResult, MetricFlowQueryRequest, MetricFlowQueryResult
  from metricflow.engine.models import Dimension, Metric
  from metricflow.model.semantic_manifest_lookup import SemanticManifestLookup
  from metricflow.protocols.sql_client import SqlClient
  from metricflow.sql.optimizer.optimization_levels import SqlQueryOptimizationLevel
label_desc: Use image node_id 7 for calling the MetricFlowClient obj's underlying member method code with example usage: obj.get_dimension_values(metric_names, dimension_name, start_time, end_time) and returns: self