def test_only_media_thread_count_given(self):
        """Media count set, image None -> image equals media."""
        params = AddDocsParams(
            docs=self.sample_docs,
            index_name="test_index",
            image_download_thread_count=None,
            media_download_thread_count=4,
            device=None
        )

        self.assertEqual(4, params.media_download_thread_count)
        self.assertEqual(4, params.image_download_thread_count)
Media count set, image None -> image equals media.
tests/unit_tests/marqo/core/models/test_add_docs_params_model.py