mirror of
				https://github.com/zulip/zulip.git
				synced 2025-10-31 03:53:50 +00:00 
			
		
		
		
	refactor: Make acting_user a mandatory kwarg for do_set_realm_property.
This commit is contained in:
		| @@ -769,7 +769,7 @@ def active_humans_in_realm(realm: Realm) -> Sequence[UserProfile]: | ||||
|  | ||||
|  | ||||
| def do_set_realm_property( | ||||
|     realm: Realm, name: str, value: Any, acting_user: Optional[UserProfile] = None | ||||
|     realm: Realm, name: str, value: Any, *, acting_user: Optional[UserProfile] | ||||
| ) -> None: | ||||
|     """Takes in a realm object, the name of an attribute to update, the | ||||
|     value to update and and the user who initiated the update. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user