rawwar commented on code in PR #50060:
URL: https://github.com/apache/airflow/pull/50060#discussion_r2074511036


##########
airflow-core/src/airflow/api_fastapi/core_api/datamodels/assets.py:
##########
@@ -42,6 +42,13 @@ class TaskOutletAssetReference(StrictBaseModel):
     updated_at: datetime
 
 
+class LastAssetEventResponse(BaseModel):
+    """Last asset event response serializer."""
+
+    id: int | None = None

Review Comment:
   ```suggestion
       id: NonNegativeInt | None = None
   ```
   
   nit. I think we should use NonNegativeInt. Since it definitely shouldn't be 
a negative integer. 
   



-- 
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