sjyangkevin commented on code in PR #55463:
URL: https://github.com/apache/airflow/pull/55463#discussion_r2338351368


##########
airflow-core/tests/unit/api_fastapi/core_api/routes/public/test_hitl.py:
##########
@@ -77,7 +78,7 @@ def sample_hitl_detail(sample_ti: TaskInstance, session: 
Session) -> HITLDetail:
         defaults=["Approve"],
         multiple=False,
         params={"input_1": 1},
-        respondents=None,
+        assignees=None,

Review Comment:
   In `airflow-core/src/airflow/api_fastapi/core_api/datamodels/hitl.py`, the 
`assigned_users` is defined as follow. From my understanding the default value 
should probably be a list instead of `None` :thinking: 
   
   ```python
   assigned_users: list[HITLUser] = Field(default_factory=list)
   ```



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to