class_docstr: A naming scheme using a builder syntax like Dimension('metric_time').grain('day').
class_docstr_tok: ["A","naming","scheme","using","a","builder","syntax","like","Dimension","(","'metric_time","'",")",".grain","(","'day","'",")","."]
code: def input_str_follows_scheme(self, input_str: str) -> bool:
      if ObjectBuilderNamingScheme._NAME_REGEX.match(input_str) is None:
          return False
      try:
          call_parameter_sets = (
              WhereFilterParser.parse_call_parameter_sets(
                  "{{ " + input_str + " }}"
              )
          )
          return_value = (
              len(call_parameter_sets.dimension_call_parameter_sets)
              + len(
                  call_parameter_sets.time_dimension_call_parameter_sets
              )
              + len(call_parameter_sets.entity_call_parameter_sets)
          ) == 1
          return return_value
      except ParseWhereFilterException:
          return False
  
file_path: metricflow/metricflow/naming/object_builder_scheme.py
imports: from __future__ import annotations
  import logging
  import re
  from typing import Optional
  from dbt_semantic_interfaces.call_parameter_sets import ParseWhereFilterException
  from dbt_semantic_interfaces.implementations.filters.where_filter import PydanticWhereFilter
  from dbt_semantic_interfaces.parsing.where_filter.where_filter_parser import WhereFilterParser
  from typing_extensions import override
  from metricflow.naming.naming_scheme import QueryItemNamingScheme
  from metricflow.naming.object_builder_str import ObjectBuilderNameConverter
  from metricflow.specs.patterns.entity_link_pattern import EntityLinkPattern, EntityLinkPatternParameterSet, ParameterSetField
  from metricflow.specs.patterns.spec_pattern import SpecPattern
  from metricflow.specs.patterns.typed_patterns import DimensionPattern, TimeDimensionPattern
  from metricflow.specs.specs import InstanceSpec
label_desc: Use image node_id 3 for calling the ObjectBuilderNamingScheme obj's underlying member method code with example usage: obj.input_str_follows_scheme(input_str) and returns: False, return_value, False