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