original_docstring: Creates a property of enum type to add to the CSDL schema.
docstring: Creates a property of enum type to add to the CSDL schema.
docstring_tokens: Creates a property of enum type to add to the CSDL schema .
code: def create_enum_property(property_name, enum_values, enum_description=None, enum_longDescription=None):
      """Creates a property of enum type to add to the CSDL schema."""
      enum_property_entry = etree.Element("EnumType", attrib={"Name": property_name})
  
      for value in enum_values:
          value_entry = etree.SubElement(enum_property_entry, "Member", attrib={"Name": value})
          description = enum_description.get(value) if enum_description else "TBD"
          longDescripton = enum_longDescription.get(value) if enum_longDescription else "TBD"
          etree.SubElement(value_entry, "Annotation", attrib={"Term": "OData.Description", "String": description})
  
      return enum_property_entry
code_tokens: def create_enum_property ( property_name , enum_values , enum_description = None , enum_longDescription = None ) : enum_property_entry = etree . Element ( "EnumType" , attrib = { "Name" : property_name } ) for value in enum_values : value_entry = etree . SubElement ( enum_property_entry , "Member" , attrib = { "Name" : value } ) description = enum_description . get ( value ) if enum_description else "TBD" longDescripton = enum_longDescription . get ( value ) if enum_longDescription else "TBD" etree . SubElement ( value_entry , "Annotation" , attrib = { "Term" : "OData.Description" , "String" : description } ) return enum_property_entry
short_docstring: Creates a property of enum type to add to the CSDL schema.
short_docstring_tokens: Creates a property of enum type to add to the CSDL schema .
comment: """Creates a property of enum type to add to the CSDL schema."""