bito-code-review[bot] commented on PR #41391:
URL: https://github.com/apache/superset/pull/41391#issuecomment-4904213056

   <!-- Bito Reply -->
   The flagged issue is correct. The local variable `offset_hours` is 
introduced without an explicit type annotation, which violates the project's 
type hint standards. You can resolve this by adding the `: int` type annotation 
to the variable declaration.
   
   ```python
           offset_hours: int = getattr(self, "offset", 0) or 0
   ```
   
   There are no other comments on this PR to address. Would you like me to 
check for any other potential type hint improvements in the modified file?
   
   **superset/models/helpers.py**
   ```
   offset_hours: int = getattr(self, "offset", 0) or 0
   ```


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


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to