mirror of
				https://github.com/zulip/zulip.git
				synced 2025-11-03 21:43:21 +00:00 
			
		
		
		
	typed_endpoint: Add missing tuple comma for OptionalTopic aliases.
Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
		
				
					committed by
					
						
						Anders Kaseorg
					
				
			
			
				
	
			
			
			
						parent
						
							9abb850cd9
						
					
				
				
					commit
					8efa418205
				
			@@ -106,7 +106,7 @@ PathOnly: TypeAlias = Annotated[T, ApiParamConfig(path_only=True)]
 | 
			
		||||
OptionalTopic: TypeAlias = Annotated[
 | 
			
		||||
    Optional[str],
 | 
			
		||||
    StringConstraints(strip_whitespace=True),
 | 
			
		||||
    ApiParamConfig(whence="topic", aliases=("subject")),
 | 
			
		||||
    ApiParamConfig(whence="topic", aliases=("subject",)),
 | 
			
		||||
]
 | 
			
		||||
 | 
			
		||||
# Reusable annotation metadata for Annotated types
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user