Glossary: Software Design Patterns
Depends
Also written: FastAPI Depends
A FastAPI feature that calls a named function for each request and passes the result into your route function. It is dependency injection, much like a pytest fixture.
Glossary: Software Design Patterns
Also written: FastAPI Depends
A FastAPI feature that calls a named function for each request and passes the result into your route function. It is dependency injection, much like a pytest fixture.