docstr: Convert the feature metadata to a dictionary.
  
  :return: Dictionary of feature metadata.
  :rtype: Dict[str, Any]
docstr_tok: ["Convert","the","feature","metadata","to","a","dictionary",".",":","return",":","Dictionary","of","feature","metadata",".",":","rtype",":","Dict","[","str",",","Any","]"]
code: def to_dict(self) -> Dict[str, Any]:
      """Convert the feature metadata to a dictionary.
  
      :return: Dictionary of feature metadata.
      :rtype: Dict[str, Any]
      """
      return {
          "identity_feature_name": self.identity_feature_name,
          "datetime_features": self.datetime_features,
          "categorical_features": self.categorical_features,
          "dropped_features": self.dropped_features,
          "time_series_id_features": self.time_series_id_features,
      }
  
file_path: responsible-ai-toolbox/responsibleai/responsibleai/feature_metadata.py
imports: from typing import Any, Dict, List, Optional
  from raiutils.exceptions import UserConfigValidationException
label_desc: Use image node_id 3 for calling the FeatureMetadata obj's underlying member method code with example usage: obj.to_dict() and returns: dict