class_docstr: Describes how the time dimension for metrics should be constrained.
class_docstr_tok: ["Describes","how","the","time","dimension","for","metrics","should","be","constrained","."]
docstr: Return the range representing all time.
  
  This could also be represented with None as the ends, but doing this makes the logic simpler in many cases.
docstr_tok: ["Return","the","range","representing","all","time",".","This","could","also","be","represented","with","None","as","the","ends",",","but","doing","this","makes","the","logic","simpler","in","many","cases","."]
code: def all_time() -> TimeRangeConstraint:
      """Return the range representing all time.
  
      This could also be represented with None as the ends, but doing this makes the logic simpler in many cases.
      """
      return TimeRangeConstraint(
          start_time=TimeRangeConstraint.ALL_TIME_BEGIN(),
          end_time=TimeRangeConstraint.ALL_TIME_END(),
      )
  
imports: from __future__ import annotations
  import datetime
  import logging
  from dataclasses import dataclass
  from typing import Optional
  import pandas
  from dbt_semantic_interfaces.dataclass_serialization import SerializableDataclass
  from dbt_semantic_interfaces.type_enums.time_granularity import TimeGranularity
  from metricflow.time.time_granularity import offset_period
label_desc: Use image node_id 4 for calling the TimeRangeConstraint obj's underlying member method code with example usage: obj.all_time() and returns: TimeRangeConstraint