redhat-et / ilab-on-ocp

12 stars 16 forks source link

standalone: make change_dsl_function_to_normal_function() more robust #110

Open leseb opened 2 weeks ago

leseb commented 2 weeks ago

In:

    replacements = {
        "dsl.Input[dsl.Dataset]": "str",
        "dsl.Input[dsl.Model]": "str",
        "dsl.Input[dsl.Artifact]": "str",
        "dsl.Output[dsl.Dataset]": "str",
        "dsl.Output[dsl.Model]": "str",
        "Output[Artifact]": "str",
        "Input[Dataset]": "str",
        "import kfp": "",
        "from kfp import dsl": "",
        "from kfp.dsl import *": "",
    }

We should have all the possible Class from KFP.