class_docstr: Renders the SQL template in the WhereFilter and converts it to a WhereFilterSpec.
class_docstr_tok: ["Renders","the","SQL","template","in","the","WhereFilter","and","converts","it","to","a","WhereFilterSpec","."]
code: def create_from_where_filter(  # noqa: D
      self,
      filter_location: WhereFilterLocation,
      where_filter: WhereFilter,
  ) -> WhereFilterSpec:
      return self.create_from_where_filter_intersection(
          filter_location=filter_location,
          filter_intersection=PydanticWhereFilterIntersection(
              where_filters=[where_filter]
          ),
      )[0]
  
imports: from __future__ import annotations
  import logging
  from typing import List, Optional, Sequence
  import jinja2
  from dbt_semantic_interfaces.implementations.filters.where_filter import PydanticWhereFilterIntersection
  from dbt_semantic_interfaces.protocols import WhereFilter, WhereFilterIntersection
  from metricflow.query.group_by_item.filter_spec_resolution.filter_location import WhereFilterLocation
  from metricflow.query.group_by_item.filter_spec_resolution.filter_spec_lookup import FilterSpecResolutionLookUp
  from metricflow.specs.column_assoc import ColumnAssociationResolver
  from metricflow.specs.rendered_spec_tracker import RenderedSpecTracker
  from metricflow.specs.specs import LinkableSpecSet, WhereFilterSpec
  from metricflow.specs.where_filter_dimension import WhereFilterDimensionFactory
  from metricflow.specs.where_filter_entity import WhereFilterEntityFactory
  from metricflow.specs.where_filter_time_dimension import WhereFilterTimeDimensionFactory
  from metricflow.sql.sql_bind_parameters import SqlBindParameters
label_desc: Use image node_id 2 for calling the WhereSpecFactory obj's underlying member method code with example usage: obj.create_from_where_filter(filter_location, where_filter) and returns: self