[Python] How to setup plastic scm python api wrapper

Discussão em 'Python' iniciado por Stack, Julho 7, 2025.

  1. Stack

    Stack Membro Participativo

    From the plasticscm python api, I'm trying to construct a plasticscm.Plastic which takes an url "The endpoint of the API". What should the url be? I can't find anywhere on google for examples of using this library. When getting workspaces, it seems to add "/api/v1/wkspaces" to the url

    I tried this format https://repo_name@organization_name@cloud and calling get_workspaces which gives an "Max retries exceeded with url" error.

    import plasticscm
    wrapper = plasticscm.Plastic('https://repo_name@organization_name@cloud')
    print(wrapper.get_workspaces())

    Continue reading...

Compartilhe esta Página