Thread
#ask-the-community
    George D. Torres

    George D. Torres

    1 week ago
    Is there schema documentation for api requests that execute a launch plan? I found the protocol documentation , but I can't find any specific schema for what the inputs should look like when they are not primitives (e.g. a dataclass type that my workflow defines)
    Yee

    Yee

    1 week ago
    what language are you calling the api from?
    George D. Torres

    George D. Torres

    1 week ago
    python (and later will be doing golang)
    Yee

    Yee

    1 week ago
    python is not bad.
    use the
    FlyteRemote
    object
    George D. Torres

    George D. Torres

    1 week ago
    ah I see. I was trying to build my own body by hand and then post via
    requests
    . Is there a similar tool for golang?
    Yee

    Yee

    1 week ago
    sorry was in a meeting. golang is a bit trickier, cuz there’s no SDK right? so there’s no
    TypeEngine
    but the protobuf generated code is also captured into a higher level client capable of emitting FlyteAdmin requests and understanding responses
    that client lives here. I will note however that flytectl is written in go and is capable of doing things like sending a launch plan execution request.
    it does so by parsing a yaml input to create the admin request protobuf messag
    in that repo you might find code which is helpful to do that type engine conversion if you want to write it
    George D. Torres

    George D. Torres

    1 week ago
    Yes, I think that's what I need. Thank you!
    Yee

    Yee

    1 week ago
    can treat that whole repo as a library if you want, probably has a lot of helper functions you’d find helpful
    also please keep in mind that this is kinda internal flyte code
    so it may be subject to change… think of it as code you can use but not a strict API we’re gonna commit to. the go bits that is. The Python
    FlyteRemote
    object we will not break