(self, attachment_id: str)
| 223 | return self._records.get(attachment_id) |
| 224 | |
| 225 | def to_message_block(self, attachment_id: str) -> MessageBlock: |
| 226 | record = self._records.get(attachment_id) |
| 227 | if not record: |
| 228 | raise KeyError(f"Attachment '{attachment_id}' not found") |
| 229 | return record.as_message_block() |
| 230 | |
| 231 | def list_records(self) -> Dict[str, AttachmentRecord]: |
| 232 | return dict(self._records) |
nothing calls this directly
no test coverage detected