Browse Source

Removed backwards compatibility since it doesn't actually preserves compatibility anyways.

pull/12529/head
Nir Schulman 8 months ago
parent
commit
e563b874ba
  1. 4
      fastapi/dependencies/utils.py

4
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]:

Loading…
Cancel
Save