def METHOD_NAME(editors_demoid):
    """
    Returs the DDL for the demo with the given editordemoid
    """
    try:
        resp = post('get_ddl', params={"demo_id": editors_demoid})
        response = resp.json()
        if response['status'] != 'OK':
            print(f"ERROR: get_ddl returned KO for demo {editors_demoid}")
            return
        if response['last_demodescription'] is None:
            return
        last_demodescription = response['last_demodescription']
        ddl_json = last_demodescription['ddl']
        return ddl_json
    except Exception as ex:
        print(f"ERROR: Failed to read DDL from {editors_demoid} - {ex}")