strong-airline-94938
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 correctstrong-airline-94938
09/02/2022, 11:41 PM{
"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]:strong-airline-94938
09/02/2022, 11:41 PMfreezing-airport-6809
freezing-airport-6809
tall-lock-23197
strong-airline-94938
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 outtall-lock-23197
string_value instead of string_literal?strong-airline-94938
09/06/2022, 2:09 AM