def attachment_mimetype()

in remote_settings/client.py [0:0]


    def attachment_mimetype(self, index):
        """Retrieves the determined mimetype of the attachment that will be attached to a newly created record.

        Args:
            index (int): The index of the record.

        Returns:
            Union[None | str]: The determined mimetype
        """
        return self._new_records[index]["attachment"]["mimeType"]