mirror of
				https://github.com/fastapi-users/fastapi-users.git
				synced 2025-11-04 06:37:51 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			333 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			333 B
		
	
	
	
		
			Python
		
	
	
	
	
	
from typing import AsyncGenerator, Callable, Coroutine, Generator, TypeVar, Union
 | 
						|
 | 
						|
RETURN_TYPE = TypeVar("RETURN_TYPE")
 | 
						|
 | 
						|
DependencyCallable = Callable[
 | 
						|
    ...,
 | 
						|
    Union[
 | 
						|
        RETURN_TYPE,
 | 
						|
        Coroutine[None, None, RETURN_TYPE],
 | 
						|
        AsyncGenerator[RETURN_TYPE, None],
 | 
						|
        Generator[RETURN_TYPE, None, None],
 | 
						|
    ],
 | 
						|
]
 |