Get the content of an item in the EmbeddedFiles array. Args: item: number or name of item. Returns: (bytes) The file content.
(self, item: typing.Union[int, str])
| 4479 | return self._embfile_del(idx) |
| 4480 | |
| 4481 | def embfile_get(self, item: typing.Union[int, str]) -> bytes: |
| 4482 | """Get the content of an item in the EmbeddedFiles array. |
| 4483 | |
| 4484 | Args: |
| 4485 | item: number or name of item. |
| 4486 | Returns: |
| 4487 | (bytes) The file content. |
| 4488 | """ |
| 4489 | idx = self._embeddedFileIndex(item) |
| 4490 | return self._embeddedFileGet(idx) |
| 4491 | |
| 4492 | def embfile_info(self, item: typing.Union[int, str]) -> dict: |
| 4493 | """Get information of an item in the EmbeddedFiles array. |