class_docstr: Loads the contents of a Feature Group's offline store or contents at an S3 URI.
class_docstr_tok: ["Loads","the","contents","of","a","Feature","Group","'s","offline","store","or","contents","at","an","S3","URI","."]
docstr: Load the data from a Feature Group's offline store.
  
  Args:
      feature_group_data_source (FeatureGroupDataSource): the feature group source.
  
  Returns:
      T: The contents of the offline store as an instance of type T.
docstr_tok: ["Load","the","data","from","a","Feature","Group","'s","offline","store",".","Args",":","feature_group_data_source","(","FeatureGroupDataSource",")",":","the","feature","group","source",".","Returns",":","T",":","The","contents","of","the","offline","store","as","an","instance","of","type","T","."]
code: def load_from_feature_group(
      self, feature_group_data_source: FeatureGroupDataSource
  ) -> T:
      """Load the data from a Feature Group's offline store.
  
      Args:
          feature_group_data_source (FeatureGroupDataSource): the feature group source.
  
      Returns:
          T: The contents of the offline store as an instance of type T.
      """
  
imports: from __future__ import absolute_import
  import logging
  import re
  from abc import ABC, abstractmethod
  from typing import Generic, Optional, TypeVar, Union
  import attr
  from pyspark.sql import DataFrame
  from sagemaker import Session
  from sagemaker.feature_store.feature_processor._constants import FEATURE_GROUP_ARN_REGEX_PATTERN
  from sagemaker.feature_store.feature_processor._data_source import CSVDataSource, FeatureGroupDataSource, ParquetDataSource, IcebergTableDataSource
  from sagemaker.feature_store.feature_processor._spark_factory import SparkSessionFactory
  from sagemaker.feature_store.feature_processor._input_offset_parser import InputOffsetParser
  from sagemaker.feature_store.feature_processor._env import EnvironmentHelper
label_desc: Use image node_id 1 for calling the InputLoader obj's underlying member method code with example usage: obj.load_from_feature_group(feature_group_data_source) without return types