Git repo integration for API Designer

Options
Antal
Antal Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 85 Neuron
edited June 27 in Product Ideas

It would be great if there was a way to connect a remote git repo to the API designer, like it is for the project library.

That way we could easily backup and sync python API code to a remote repo. Versioning is a bit iffy right now for pure code python API endpoint development.

1
1 votes

Gathering Input · Last Updated

Comments

  • fsergot
    fsergot Dataiker, Registered, Product Ideas Manager Posts: 117 Dataiker
    Options

    Hello @Antal
    ,

    I understand the need but I would like to challenge it as it does not really fit in what we see for Git integrations. Broadly speaking, you have 2 types of git integrations: for the whole project & for the project libraries.
    Both are answering different needs: the whole project is for history and rollback. The project lib is for standard development practices.
    API endpoints but also other python pieces in a project (such as python recipes or custom python model metrics) do not have dedicated git integrations because they are supposed to be simple pieces of code leveraging Project libraries for the more complex part.
    In this approach, the project lib does require more advanced workflows, hence the dedicated Git integration. Whereas other parts do not require it, and might even make them more complex to use.
    That being said, there are probably cases and working organizations where this would be beneficial, and that may be your case. Do not hesitate to elaborate.

  • Antal
    Antal Dataiku DSS Core Designer, Dataiku DSS ML Practitioner, Neuron, Dataiku DSS Adv Designer, Registered, Neuron 2023 Posts: 85 Neuron
    Options

    Yes, I understand.

    We might have to refactor some APIs then to move more code into the project library. I think that would be workable as well.

    Still... It would make sense to also be able to back up the API code itself to not have to write out and reimplement the code integrating those functions after a calamity. Hoping that one can remember how that was done.

Setup Info
    Tags
      Help me…