Create a new script

    Create a new script # noqa: E501

    :param name: Get status of a driver with this name
    :type name: str
    :param create: The data needed to create this script
    :type create: dict | bytes

    :rtype: Response

def create_driver_script(name, create=None):  # noqa: E501
    """Create a new script

    Create a new script # noqa: E501

    :param name: Get status of a driver with this name
    :type name: str
    :param create: The data needed to create this script
    :type create: dict | bytes

    :rtype: Response
    """
    if connexion.request.is_json:
        create = Create1.from_dict(connexion.request.get_json())  # noqa: E501

    response = errorIfUnauthorized(role='developer')
    if response:
        return response
    else:
        response = ApitaxResponse()

    driver: Driver = LoadedDrivers.getDriver(name)
    driver.saveDriverScript(create.script.name, create.script.content)

    return Response(status=200, body=response.getResponseBody())