diff --git a/fastapi/dependencies/utils.py b/fastapi/dependencies/utils.py index 6a3ee370d..3d51e38a8 100644 --- a/fastapi/dependencies/utils.py +++ b/fastapi/dependencies/utils.py @@ -393,10 +393,6 @@ def get_endpoint_dependant( return dependant -# Kept for backwards compatibility -get_dependant = get_endpoint_dependant - - def add_non_field_param_to_dependency( *, param_name: str, type_annotation: Any, dependant: EndpointDependant ) -> Optional[bool]: