Return `PatchData` from the Patch.
(self)
| 2885 | } |
| 2886 | |
| 2887 | def to_patch_data(self): |
| 2888 | """Return `PatchData` from the Patch.""" |
| 2889 | from vulnerabilities.importer import PatchData |
| 2890 | |
| 2891 | return PatchData.from_dict(self.to_dict()) |
| 2892 | |
| 2893 | |
| 2894 | class PackageCommitPatch(models.Model): |
no test coverage detected