mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 12:03:46 +00:00 
			
		
		
		
	mypy: Add assertions of get_realm results when parser requires realm.
This commit is contained in:
		
				
					committed by
					
						 Greg Price
						Greg Price
					
				
			
			
				
	
			
			
			
						parent
						
							7737326cf0
						
					
				
				
					commit
					ab4cbf81f0
				
			| @@ -37,6 +37,7 @@ class Command(ZulipBaseCommand): | ||||
|     def handle(self, *args, **options): | ||||
|         # type: (*Any, **str) -> None | ||||
|         realm = self.get_realm(options) | ||||
|         assert realm is not None  # Should be ensured by parser | ||||
|         stream_to_keep = get_stream(options["stream_to_keep"], realm) | ||||
|         stream_to_destroy = get_stream(options["stream_to_destroy"], realm) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user