mypy: Add non-None session assertion in Zulip API.
This commit is contained in:
		
							parent
							
								
									2a2c8ae25f
								
							
						
					
					
						commit
						13bf6f7262
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -461,6 +461,7 @@ class Client(object):
 | 
			
		|||
            req_files.append((f.name, f))
 | 
			
		||||
 | 
			
		||||
        self.ensure_session()
 | 
			
		||||
        assert(self.session is not None)
 | 
			
		||||
 | 
			
		||||
        query_state = {
 | 
			
		||||
            'had_error_retry': False,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue