code: def visit_enums(
      self,
      key: Union[str, Enum],
      enum_type: Type[Enum],
      consumer: Callable[[List[Enum]], Any],
  ) -> "FluentDict":
      consumer(
          self.get_fluent_list(key)
          .map(lambda enum_str: self._to_enum(enum_str, enum_type))
          .list()
      )
      return self
  
imports: from enum import Enum
  from typing import Union, Callable, Any, Dict, Optional, Type, List, Generic, TypeVar
label_desc: Use image node_id 17 for calling the FluentDict obj's underlying member method code with example usage: obj.visit_enums(key, enum_type, consumer) and returns: self