flowkitpythonclient

package
v0.0.0-...-42d324f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListFunctionsAndSaveToInteralStates

func ListFunctionsAndSaveToInteralStates() (err error)

ListFunctionsAndSaveToInteralStates calls the FlowKit-Python API and saves the functions to internal states This function is used to get the list of available functions from the external function server and save them to internal states

Returns:

  • error: an error message if the API call fails

func RunFunction

func RunFunction(functionName string, inputs map[string]sharedtypes.FilledInputOutput) (outputs map[string]sharedtypes.FilledInputOutput, err error)

RunFunction calls the external function server and returns the outputs This function is used to run an external function

Parameters:

  • functionPath: the path of the function to run
  • inputs: the inputs to the function
  • outputDefinition: the definition of the outputs

Returns:

  • map[string]sharedtypes.FilledInputOutput: the outputs of the function
  • error: an error message if the API call fails

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL