ResultDocstring Source code in src/library_analyzer/processing/api/model/_docstring.py 65 66 67 68 69 70 71 72 73 74 75@dataclass(frozen=True) class ResultDocstring: type: str = "" description: str = "" @staticmethod def from_dict(d: dict[str, Any]) -> ResultDocstring: return ResultDocstring(**d) def to_dict(self) -> dict[str, Any]: return dataclasses.asdict(self) description: str = '' class-attribute instance-attribute ¶ type: str = '' class-attribute instance-attribute ¶ __init__(type='', description='') ¶ from_dict(d) staticmethod ¶ Source code in src/library_analyzer/processing/api/model/_docstring.py 70 71 72@staticmethod def from_dict(d: dict[str, Any]) -> ResultDocstring: return ResultDocstring(**d) to_dict() ¶ Source code in src/library_analyzer/processing/api/model/_docstring.py 74 75def to_dict(self) -> dict[str, Any]: return dataclasses.asdict(self)