Sign up to take part
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
Registered users can ask their own questions, contribute to discussions, and be part of the Community!
from dataikuapi import DSSClient
import pandas as pd
client = DSSClient(host, apiKey)
client._session.verify = False
instance = client.get_app("<< Application Name >>").create_temporary_instance()
project = instance.get_as_project()
project.get_scenario("<< Scenario Name >>").run_and_wait()
Giving error while using scenerio
Hi @DGarg ,
Can you confirm the exact error you are seeing? The code itself seems fine
with instance as client.get_app("myapp").create_temporary_instance() as inst:
inst.get_as_project().get_scenario("xxx").run_and_wait()