Thread
#show-us-what-you-got
    Matias Godoy

    Matias Godoy

    2 years ago
    Is there a way to install a "lite" version of the python Prefect Client without having to install the whole Core package? I need it to interact with my Prefect server from another app and a think that adding the whole
    prefect
    python package might be a little overkill.
    Or maybe you recommend using a GraphQL library like
    graphene
    for interaction with Prefect?
    Tyler Wanner

    Tyler Wanner

    2 years ago
    what are you trying to do from the other app?
    nicholas

    nicholas

    2 years ago
    Hi @Matias Godoy! Prefect doesn't have a "lite" version, but any client that can interact with GraphQL should work just fine! On the front end we use the
    vue-apollo
    client.
    Tyler Wanner

    Tyler Wanner

    2 years ago
    ^^ i was going to say that 😀
    nicholas

    nicholas

    2 years ago
    The Prefect UI has the InteractiveAPI (you can find it in the menu at the top left) which will allow you to mock up/tool any calls you'll want to make from your other application and see what results you'll get back ahead of time.
    Matias Godoy

    Matias Godoy

    2 years ago
    what I'm trying to do is to start a flow from another app
    a flow which requires some parameters
    I've never used GraphQL before, but I'll get to read about it 🤓
    any hint on how to run a flow with parameters?
    nicholas

    nicholas

    2 years ago
    Should be very straightforward! The call for that should look like this:
    mutation {
      create_flow_run(input: { flow_id: "", parameters: {} }) {
        id
      }
    }
    In the thread above this one, I posted some links to tutorials on how to get started with GraphQL, I recommend checking those out 🙂
    Matias Godoy

    Matias Godoy

    2 years ago
    excellent, thanks a lot!
    nicholas

    nicholas

    2 years ago
    😄