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