Bases: AbstractAnnotation
Source code in src/library_analyzer/processing/annotations/model/_annotations.py
| @dataclass
class RemoveAnnotation(AbstractAnnotation):
@staticmethod
def from_dict(d: dict[str, Any]) -> RemoveAnnotation:
annotation = AbstractAnnotation.from_dict(d)
return RemoveAnnotation(
annotation.target,
annotation.authors,
annotation.reviewers,
annotation.comment,
annotation.reviewResult,
)
|
__init__(target, authors, reviewers, comment, reviewResult)
from_dict(d)
staticmethod
Source code in src/library_analyzer/processing/annotations/model/_annotations.py
| @staticmethod
def from_dict(d: dict[str, Any]) -> RemoveAnnotation:
annotation = AbstractAnnotation.from_dict(d)
return RemoveAnnotation(
annotation.target,
annotation.authors,
annotation.reviewers,
annotation.comment,
annotation.reviewResult,
)
|