kaxil commented on code in PR #44843:
URL: https://github.com/apache/airflow/pull/44843#discussion_r1880397924


##########
task_sdk/src/airflow/sdk/execution_time/comms.py:
##########
@@ -170,13 +170,17 @@ class PutVariable(BaseModel):
     type: Literal["PutVariable"] = "PutVariable"
 
 
+"""Defines the types that the RTIF payload's dictionary values can take. These 
are all JsonAble types """
+JsonAbleValueTypes = Union[str, dict[str, str], list[str], int, float, None]

Review Comment:
   ```
   
{"timestamp":"2024-12-11T10:54:52.942049","logger":"task","error_detail":[{"exc_type":"ValidationError","exc_value":"2
 validation errors for SetRenderedFields\nrendered_fields.op_args\n  Input 
should be a valid string [type=string_type, input_value=(), input_type=tuple]\n 
   For further information visit 
https://errors.pydantic.dev/2.10/v/string_type\nrendered_fields.op_kwargs\n  
Input should be a valid string [type=string_type, input_value={}, 
input_type=dict]\n    For further information visit 
https://errors.pydantic.dev/2.10/v/string_type","syntax_error":null,"is_cause":false,"frames":[{"filename":"/opt/airflow/task_sdk/src/airflow/sdk/execution_time/task_runner.py","lineno":234,"name":"main"},{"filename":"/opt/airflow/task_sdk/src/airflow/sdk/execution_time/task_runner.py","lineno":165,"name":"startup"},{"filename":"/usr/local/lib/python3.9/site-packages/pydantic/main.py","lineno":214,"name":"__init__"}]}],"event":"Top
 level error","level":"error"}
   ```



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@airflow.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to