mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	ruff: Fix UP006 Use list instead of List for type annotation.
				
					
				
			Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						 Tim Abbott
						Tim Abbott
					
				
			
			
				
	
			
			
			
						parent
						
							c2214b3904
						
					
				
				
					commit
					e08a24e47f
				
			| @@ -1,4 +1,4 @@ | ||||
| from typing import Any, Dict | ||||
| from typing import Any | ||||
|  | ||||
| from django.db import models | ||||
| from typing_extensions import override | ||||
| @@ -24,7 +24,7 @@ class Draft(models.Model): | ||||
|     def __str__(self) -> str: | ||||
|         return f"{self.user_profile.email} / {self.id} / {self.last_edit_time}" | ||||
|  | ||||
|     def to_dict(self) -> Dict[str, Any]: | ||||
|     def to_dict(self) -> dict[str, Any]: | ||||
|         to, recipient_type_str = get_recipient_ids(self.recipient, self.user_profile_id) | ||||
|         return { | ||||
|             "id": self.id, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user