Convert a space-separated list of flag text values into a flags value. Returns an ``int``
(text: str)
| 65 | |
| 66 | |
| 67 | def from_text(text: str) -> int: |
| 68 | """Convert a space-separated list of flag text values into a flags |
| 69 | value. |
| 70 | |
| 71 | Returns an ``int`` |
| 72 | """ |
| 73 | |
| 74 | return _from_text(text, Flag) |
| 75 | |
| 76 | |
| 77 | def to_text(flags: int) -> str: |
nothing calls this directly
no test coverage detected
searching dependent graphs…