- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for dependables (0.15 sec)
-
docs/en/docs/tutorial/security/get-current-user.md
Here **FastAPI** won't get confused because you are using `Depends`. /// /// check The way this dependency system is designed allows us to have different dependencies (different "dependables") that all return a `User` model. We are not restricted to having only one dependency that can return that type of data. /// ## Other models { #other-models }
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/sub-dependencies.md
You can create dependencies that have **sub-dependencies**. They can be as **deep** as you need them to be. **FastAPI** will take care of solving them. ## First dependency "dependable" { #first-dependency-dependable } You could create a first dependency ("dependable") like: {* ../../docs_src/dependencies/tutorial005_an_py310.py hl[8:9] *} It declares an optional query parameter `q` as a `str`, and then it just returns it.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/es/llm-prompt.md
* Release Notes: Release Notes (do not translate to "Notas de la Versión") * Semantic Versioning: Semantic Versioning (do not translate to "Versionado Semántico") * dependable: dependable (do not translate to "confiable" or "fiable") * list (as in Python list): list * context manager: context manager (do not translate to "gestor de contexto" or "administrador de contexto") * a little bit: un poquito
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sat Jul 26 18:57:50 UTC 2025 - 5.3K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
Let's see a very simple example. It will be so simple that it is not very useful, for now. But this way we can focus on how the **Dependency Injection** system works. ### Create a dependency, or "dependable" { #create-a-dependency-or-dependable } Let's first focus on the dependency. It is just a function that can take all the same parameters that a *path operation function* can take:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
## A `dict` from the previous example { #a-dict-from-the-previous-example } In the previous example, we were returning a `dict` from our dependency ("dependable"): {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *} But then we get a `dict` in the parameter `commons` of the *path operation function*.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 6.7K bytes - Viewed (0) -
docs/fr/docs/async.md
### Dépendances La même chose s'applique aux dépendances. Si une dépendance est définie avec `def` plutôt que `async def`, elle est exécutée dans la threadpool externe. ### Sous-dépendances
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:56:21 UTC 2025 - 25.4K bytes - Viewed (0) -
docs/en/docs/tutorial/background-tasks.md
Using `BackgroundTasks` also works with the dependency injection system, you can declare a parameter of type `BackgroundTasks` at multiple levels: in a *path operation function*, in a dependency (dependable), in a sub-dependency, etc. **FastAPI** knows what to do in each case and how to reuse the same object, so that all the background tasks are merged together and are run in the background afterwards:
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
* #copyTo(CharSink)}. We know this is correct since strings are immutable and so the length * can't change, and it is faster because many writers and appendables are optimized for * appending string instances. * </ul> */ private static class StringCharSource extends CharSequenceCharSource { StringCharSource(String seq) { super(seq); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
* #copyTo(CharSink)}. We know this is correct since strings are immutable and so the length * can't change, and it is faster because many writers and appendables are optimized for * appending string instances. * </ul> */ private static class StringCharSource extends CharSequenceCharSource { StringCharSource(String seq) { super(seq); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.3K bytes - Viewed (0) -
docs/fr/docs/index.md
Pour en savoir plus, consultez la section <a href="https://fastapi.tiangolo.com/fr/benchmarks/" class="internal-link" target="_blank">Benchmarks</a>. ## Dépendances facultatives Utilisées par Pydantic: * <a href="https://github.com/JoshData/python-email-validator" target="_blank"><code>email-validator</code></a> - pour la validation des adresses email.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 10:49:48 UTC 2025 - 22K bytes - Viewed (0)