(self, attributes: dict[str, Any])
| 176 | } |
| 177 | |
| 178 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 179 | if "first_patched_version" in attributes: # pragma no branch |
| 180 | self._first_patched_version = self._makeStringAttribute(attributes["first_patched_version"]) |
| 181 | if "package" in attributes: # pragma no branch |
| 182 | self._package = self._makeClassAttribute( |
| 183 | github.AdvisoryVulnerabilityPackage.AdvisoryVulnerabilityPackage, |
| 184 | attributes["package"], |
| 185 | ) |
| 186 | if "patched_versions" in attributes: # pragma no branch |
| 187 | self._patched_versions = self._makeStringAttribute(attributes["patched_versions"]) |
| 188 | if "vulnerable_functions" in attributes: # pragma no branch |
| 189 | self._vulnerable_functions = self._makeListOfStringsAttribute(attributes["vulnerable_functions"]) |
| 190 | if "vulnerable_version_range" in attributes: # pragma no branch |
| 191 | self._vulnerable_version_range = self._makeStringAttribute(attributes["vulnerable_version_range"]) |
nothing calls this directly
no test coverage detected