class_docstr: MetricFlow Python client for running basic queries and other standard commands.
docstr: Initializer for MetricFlowClient.
  
  Args:
      sql_client: Client that is connected to your data warehouse.
      semantic_manifest: Model containing all the information about your metric configs.
docstr_tok: ["Initializer","for","MetricFlowClient",".","Args",":","sql_client",":","Client","that","is","connected","to","your","data","warehouse",".","semantic_manifest",":","Model","containing","all","the","information","about","your","metric","configs","."]
code: def __init__(
      self,
      sql_client: SqlClient,
      semantic_manifest: SemanticManifest,
  ):
      """Initializer for MetricFlowClient.
  
      Args:
          sql_client: Client that is connected to your data warehouse.
          semantic_manifest: Model containing all the information about your metric configs.
      """
      self.sql_client = sql_client
      self.semantic_manifest = semantic_manifest
      self.semantic_manifest_lookup = SemanticManifestLookup(
          self.semantic_manifest
      )
      self.engine = MetricFlowEngine(
          semantic_manifest_lookup=self.semantic_manifest_lookup,
          sql_client=self.sql_client,
      )
  
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 1 to create a new MetricFlowClient object  with example: obj = MetricFlowClient(sql_client, semantic_manifest)