def METHOD_NAME(self, request):
    """
    Given a username, full name and password, create a superuser attached
    to the facility that was imported (or create a facility with given facility_name)
    """
    facility_name = request.data.get("facility_name", None)
    # Get the imported facility (assuming its the only one at this point)
    if Facility.objects.count() == 0:
        the_facility = Facility.objects.create(name=facility_name)
    else:
        the_facility = Facility.objects.get()
        if facility_name:
            the_facility.name = facility_name
            the_facility.save()
    try:
        superuser = FacilityUser.objects.create_superuser(
            request.data.get("username"),
            request.data.get("password"),
            facility=the_facility,
            full_name=request.data.get("full_name"),
        )
        return Response({"username": superuser.username})
    except ValidationError:
        raise ValidationError(detail="duplicate", code="duplicate_username")