class_docstr: Base enumeration class that handles
  input as strings ignoring case.
docstr: Handles finding the enumeration
  ignoring case if provided as a string.
docstr_tok: ["Handles","finding","the","enumeration","ignoring","case","if","provided","as","a","string","."]
code: def create(cls, item):
      """
      Handles finding the enumeration
      ignoring case if provided as a string.
      """
      try:
          return cls(item)
      except ValueError:
          pass
      if isinstance(item, str):
          item = item.upper()
      for member in cls:
          if member.value == item:
              return member
      raise ValueError(
          f"Invalid value supplied '{item}'. "
          f"Only {tuple(version.value for version in cls)} are supported."
      )
  
file_path: pyproj/pyproj/enums.py
imports: from enum import Enum, IntFlag
label_desc: Use image node_id 1 for calling the BaseEnum obj's underlying member method code with example usage: obj.create(cls, item) and returns: cls, member