(cls, version_array: Any)
| 1131 | |
| 1132 | @classmethod |
| 1133 | def from_version_array(cls, version_array: Any) -> Version: |
| 1134 | version = list(version_array) |
| 1135 | if version[-1] < 0: |
| 1136 | version[-1] = -1 |
| 1137 | version = cls._padded(version, 3) |
| 1138 | return Version(*version) |
| 1139 | |
| 1140 | def at_least(self, *other_version: Any) -> bool: |
| 1141 | return self >= Version(*other_version) |
no test coverage detected