Method
__init__
(
self,
ver,
python_min_ver=None,
python_max_ver=None,
alias=None,
dependencies=None,
constraints: list[str] = [],
python_free_threaded: bool | None = None,
)
Source from the content-addressed store, hash-verified
| 49 | """ |
| 50 | |
| 51 | def __init__( |
| 52 | self, |
| 53 | ver, |
| 54 | python_min_ver=None, |
| 55 | python_max_ver=None, |
| 56 | alias=None, |
| 57 | dependencies=None, |
| 58 | constraints: list[str] = [], |
| 59 | python_free_threaded: bool | None = None, |
| 60 | ): |
| 61 | self.ver = ver |
| 62 | self.python_min_ver = python_min_ver |
| 63 | self.python_max_ver = python_max_ver |
| 64 | self.name_alias = alias |
| 65 | self.dependent_packages = dependencies |
| 66 | self.constraint_list = constraints |
| 67 | self.python_free_threaded = python_free_threaded |
| 68 | |
| 69 | def __bool__(self): |
| 70 | return ( |
Tested by
no test coverage detected