mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-04 05:53:43 +00:00 
			
		
		
		
	Decorators like `require_server_admin_api` turns user_profile into a positional-only parameter, requiring the callers to stop passing it as a keyword argument. Functions like `get_chart_data` that gets decorated by both `require_non_guest_user` and `has_request_variables` now have accurate type annotation during type checking, with the first two parameters turned into positional-only, and thus the change in `analytics.views.stats`. Signed-off-by: Zixuan James Li <p359101898@gmail.com>