(obj: Any)
| 14151 | |
| 14152 | @staticmethod |
| 14153 | def from_dict(obj: Any) -> 'PushAttachmentGitHubSide': |
| 14154 | assert isinstance(obj, dict) |
| 14155 | repo = PushGitHubRepoRef.from_dict(obj.get("repo")) |
| 14156 | path = from_union([from_str, from_none], obj.get("path")) |
| 14157 | ref = from_union([from_str, from_none], obj.get("ref")) |
| 14158 | revision = from_union([from_str, from_none], obj.get("revision")) |
| 14159 | return PushAttachmentGitHubSide(repo, path, ref, revision) |
| 14160 | |
| 14161 | def to_dict(self) -> dict: |
| 14162 | result: dict = {} |
nothing calls this directly
no test coverage detected