build all flow using API in scenario

Reema
Reema Registered Posts: 1

Hello,

I am working on scenario to rebuild projects using the API. I couldn't find a way for 'Build all' using API same as the one in flow actions.

Answers

  • Grixis
    Grixis PartnerApplicant, Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Dataiku DSS Adv Designer, Registered Posts: 80 ✭✭✭✭✭

    Hello Reema,

    You mean using the api python of Dataiku for launch a build ?

    In this case you have a lot of alternative on https://developer.dataiku.com/12/api-reference/ to run scripts to build your flow as a custom python recipe in your scenario.$

    Through your word of "build all" I guess the solution could be to define with the API a list of output to build, dataset or DSS's Object identified as the last element (aka output stage) of your flow and define jobs as RECURSIVE_BUILD or RECURSIVE_FORCED_BUILD mode. It will rebuild all of your dependancy from scratch. (cf. in doc project_flow.get_graph() get_flow() start_job() )

Setup Info
    Tags
      Help me…