(self)
| 87 | ) |
| 88 | |
| 89 | def copy(self) -> "AttachmentRef": |
| 90 | return AttachmentRef( |
| 91 | attachment_id=self.attachment_id, |
| 92 | mime_type=self.mime_type, |
| 93 | name=self.name, |
| 94 | size=self.size, |
| 95 | sha256=self.sha256, |
| 96 | local_path=self.local_path, |
| 97 | remote_file_id=self.remote_file_id, |
| 98 | data_uri=self.data_uri, |
| 99 | metadata=dict(self.metadata), |
| 100 | ) |
| 101 | |
| 102 | |
| 103 | @dataclass |
nothing calls this directly
no test coverage detected