PacktPublishing / Building-Data-Science-Applications-with-FastAPI

Building Data Science Applications with FastAPI, Published by Packt
MIT License
299 stars 152 forks source link

What is the use of fastapi.params? #1

Closed pnijhara closed 3 years ago

pnijhara commented 3 years ago

In chapter 7, the author has written from fastapi.params import Depends https://github.com/PacktPublishing/Building-Data-Science-Applications-with-FastAPI/blob/main/chapter7/chapter7_api_key_header.py#L2

I don't find any use in it. Can @frankie567 clarify this? Maybe, I am wrong.

frankie567 commented 3 years ago

Good catch, thanks! It's a remainder of a wrong automatic import. I'll fix it right away!