mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	This commit completely eliminates the home-grown data_types.py system for checking types. Now, in our unit tests and schema checkers, we use pydantic types to check the shape of the event objects that are either in our JSON fixtures or that get captured by test_events.py. The code in event_types.py was completely code-generated from the legacy version of event_schema.py, so there shouldn't be any manual errors in how I ported the types over. (The code generation was non-trivial, though, as I had to account for changes from snake_case to CamelCase and deal with some other anomalies.)