def get_mime_for_format(self, format):
        try:
            return self.content_types[format]
        except KeyError:
            return 'application/json'
Add several objects.
dataset/ETHPy150Open mozilla/inventory/vendor-local/src/django-tastypie/tastypie/serializers.py/Serializer.get_mime_for_format--crossover with--dataset/ETHPy150Open algolia/algoliasearch-client-python/algoliasearch/index.py/Index.add_objects