def my_handler(input_value: int, dependency: Dependency = Depends(Dependency)): return input_value + dependency.x
def add_random_cows( number_of_cows_to_inseminate: int, domain_logic: Depends(DomainLogic)) -> None: domain_logic.add_random_cows(number_of_cows_to_inseminate)
def and_another_function(dependency=Depends(C)) -> None: ...
def inseminate( number_of_cows_to_inseminate: int, domain_logic: Depends(DomainLogic)) -> None: domain_logic.inseminate_cow(number_of_cows_to_inseminate)
def my_function(dependency=Depends(A)) -> None: ...