[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-04-26 UTC."],[],[],null,["# tf.compat.v1.flags.EnumClassFlag\n\n\u003cbr /\u003e\n\nBasic enum flag; its value is an enum class's member.\n\nInherits From: [`Flag`](../../../../tf/compat/v1/flags/Flag) \n\n tf.compat.v1.flags.EnumClassFlag(\n name: Text,\n default: Union[Optional[_ET], Text],\n help: Optional[Text],\n enum_class: Type[_ET],\n short_name: Optional[Text] = None,\n case_sensitive: bool = False,\n **args\n )\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Attributes ---------- ||\n|---------|---------------|\n| `value` | \u003cbr /\u003e \u003cbr /\u003e |\n\n\u003cbr /\u003e\n\nMethods\n-------\n\n### `flag_type`\n\n flag_type() -\u003e Text\n\nReturns a str that describes the type of the flag.\n| **Note:** we use strings, and not the types.\\*Type constants because our flags can have more exotic types, e.g., 'comma separated list of strings', 'whitespace separated list of strings', etc.\n\n### `parse`\n\n parse(\n argument: Union[Text, Optional[_T]]\n ) -\u003e None\n\nParses string and sets flag value.\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ||\n|------------|------------------------------------------------------------|\n| `argument` | str or the correct flag value type, argument to be parsed. |\n\n\u003cbr /\u003e\n\n### `serialize`\n\n serialize() -\u003e Text\n\nSerializes the flag.\n\n### `unparse`\n\n unparse() -\u003e None\n\n### `__bool__`\n\n __bool__()\n\n### `__eq__`\n\n __eq__(\n other\n )\n\nReturn self==value.\n\n### `__ge__`\n\n __ge__(\n other, NotImplemented=NotImplemented\n )\n\nReturn a \\\u003e= b. Computed by @total_ordering from (not a \\\u003c b).\n\n### `__gt__`\n\n __gt__(\n other, NotImplemented=NotImplemented\n )\n\nReturn a \\\u003e b. Computed by @total_ordering from (not a \\\u003c b) and (a != b).\n\n### `__le__`\n\n __le__(\n other, NotImplemented=NotImplemented\n )\n\nReturn a \\\u003c= b. Computed by @total_ordering from (a \\\u003c b) or (a == b).\n\n### `__lt__`\n\n __lt__(\n other\n )\n\nReturn self\\\u003cvalue."]]