def delete(self, id):
        db_obj = objects.registry.Assembly.get_by_uuid(self.context, id)

        conductor_api.API(context=self.context).update_assembly(
            db_obj.id, {'status': ASSEMBLY_STATES.DELETING})

        deploy_api.API(context=self.context).destroy_assembly(
            assem_id=db_obj.id)
Renderers don't include a charset unless set explicitly.
dataset/ETHPy150Open openstack/solum/solum/api/handlers/assembly_handler.py/AssemblyHandler.delete--crossover with--dataset/ETHPy150Open tomchristie/django-rest-framework/tests/test_response.py/Issue807Tests.test_does_not_append_charset_by_default