Bases: AbstractAnnotation
Source code in library_analyzer/processing/annotations/model/_annotations.py
| @dataclass
class RemoveAnnotation(AbstractAnnotation):
@staticmethod
def from_json(json: Any) -> RemoveAnnotation:
annotation = AbstractAnnotation.from_json(json)
return RemoveAnnotation(
annotation.target,
annotation.authors,
annotation.reviewers,
annotation.comment,
annotation.reviewResult,
)
|
from_json(json)
staticmethod
Source code in library_analyzer/processing/annotations/model/_annotations.py
| @staticmethod
def from_json(json: Any) -> RemoveAnnotation:
annotation = AbstractAnnotation.from_json(json)
return RemoveAnnotation(
annotation.target,
annotation.authors,
annotation.reviewers,
annotation.comment,
annotation.reviewResult,
)
|