mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	The main purpose of this commit is to demonstrate end-to-end that our setup for type stubs works. I picked this library more or less arbitrarily as one where the API surface we use is tiny, so that the stub would be extra easy to write.
		
			
				
	
	
		
			8 lines
		
	
	
		
			155 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			155 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from typing import Any, TextIO
 | 
						|
 | 
						|
class YamoleParser:
 | 
						|
  data: Any  # A blob of data parsed from YAML.
 | 
						|
 | 
						|
  def __init__(self, file: TextIO) -> None:
 | 
						|
      ...
 |