Augie Palacios
09/02/2022, 11:38 PMExecutionCreateRequest
via a POST to the /api/v1/executions
endpoint (sorry if this is the wrong place to post this). Having trouble getting the payload for the inputs LiteralMap
correct{
"project": "flytesnacks",
"domain": "development",
"spec": {...},
"inputs": {
"literals": {
"username": {
"scalar": {
"primitive": {
"string_literal": "testuser"
}
}
}
}
}
}
I keep getting invalid username input wrong type
....I'm assuming I am creating the inputs
object incorrectly. Have played around with omitting keys and things like that but usually get the same error or the admin pod panics and restarts. Any help is much appreciated!
@workflow
def workflow(username: str) -> Union[dict, bool]:
Ketan (kumare3)
09/03/2022, 3:53 AMSamhita Alla
09/03/2022, 7:51 AMAugie Palacios
09/05/2022, 1:31 AMpostman
. have my kind cluster forwarding 30081. hitting this endpoint localhost:30081/api/v1/executions
so just need to get the POST body sorted outSamhita Alla
09/05/2022, 3:55 AMstring_value
instead of string_literal
?Augie Palacios
09/06/2022, 2:09 AM