- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 779 for as (0.01 seconds)
-
docs/de/docs/tutorial/dependencies/classes-as-dependencies.md
# Klassen als Abhängigkeiten { #classes-as-dependencies } Bevor wir tiefer in das **Dependency Injection** System eintauchen, lassen Sie uns das vorherige Beispiel verbessern. ## Ein `dict` aus dem vorherigen Beispiel { #a-dict-from-the-previous-example }Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.6K bytes - Click Count (0) -
docs/en/docs/tutorial/dependencies/classes-as-dependencies.md
So, a Python class is also a **callable**. Then, in **FastAPI**, you could use a Python class as a dependency. What FastAPI actually checks is that it is a "callable" (function, class or anything else) and the parameters defined. If you pass a "callable" as a dependency in **FastAPI**, it will analyze the parameters for that "callable", and process them in the same way as the parameters for a *path operation function*. Including sub-dependencies.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.7K bytes - Click Count (0) -
docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md
# Classes como Dependências { #classes-as-dependencies } Antes de nos aprofundarmos no sistema de **Injeção de Dependência**, vamos melhorar o exemplo anterior. ## `dict` do exemplo anterior { #a-dict-from-the-previous-example } No exemplo anterior, nós retornávamos um `dict` da nossa dependência ("injetável"): {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.3K bytes - Click Count (0) -
docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md
# Классы как зависимости { #classes-as-dependencies } Прежде чем углубиться в систему **Внедрения Зависимостей**, давайте обновим предыдущий пример. ## `dict` из предыдущего примера { #a-dict-from-the-previous-example } В предыдущем примере мы возвращали `dict` из нашей зависимости: {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *} Но затем мы получаем `dict` в параметре `commons` *функции-обработчика пути*.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 10.7K bytes - Click Count (0) -
docs/es/docs/tutorial/dependencies/classes-as-dependencies.md
# Clases como dependencias { #classes-as-dependencies } Antes de profundizar en el sistema de **Inyección de Dependencias**, vamos a mejorar el ejemplo anterior. ## Un `dict` del ejemplo anterior { #a-dict-from-the-previous-example } En el ejemplo anterior, estábamos devolviendo un `dict` de nuestra dependencia ("dependable"): {* ../../docs_src/dependencies/tutorial001_an_py310.py hl[9] *}Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.1K bytes - Click Count (0) -
fastapi/_compat/__init__.py
from .v2 import RequiredParam as RequiredParam from .v2 import Undefined as Undefined from .v2 import UndefinedType as UndefinedType from .v2 import Url as Url from .v2 import Validator as Validator from .v2 import _regenerate_error_with_loc as _regenerate_error_with_loc from .v2 import copy_field_info as copy_field_info from .v2 import create_body_model as create_body_model
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 2.2K bytes - Click Count (0) -
src/cmd/asm/internal/arch/arch.go
register["g"] = x86.REGG } // Register prefix not used on this architecture. instructions := make(map[string]obj.As) for i, s := range obj.Anames { instructions[s] = obj.As(i) } for i, s := range x86.Anames { if obj.As(i) >= obj.A_ARCHSPECIFIC { instructions[s] = obj.As(i) + obj.ABaseAMD64 } } // Annoying aliases. instructions["JA"] = x86.AJHI /* alternate */
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Nov 13 12:17:37 GMT 2025 - 21.7K bytes - Click Count (0) -
docs/en/docs/tutorial/body.md
The function parameters will be recognized as follows: * If the parameter is also declared in the **path**, it will be used as a path parameter. * If the parameter is of a **singular type** (like `int`, `float`, `str`, `bool`, etc) it will be interpreted as a **query** parameter. * If the parameter is declared to be of the type of a **Pydantic model**, it will be interpreted as a request **body**. /// note
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 6.8K bytes - Click Count (0) -
docs/en/docs/tutorial/path-params-numeric-validations.md
/// ## Order the parameters as you need { #order-the-parameters-as-you-need } /// tip This is probably not as important or necessary if you use `Annotated`. /// Let's say that you want to declare the query parameter `q` as a required `str`. And you don't need to declare anything else for that parameter, so you don't really need to use `Query`.Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 6.1K bytes - Click Count (0) -
src/cmd/asm/internal/arch/arm64.go
return opd } return arm64.SPOP_END } // IsARM64ADR reports whether the op (as defined by an arm64.A* constant) is // one of the comparison instructions that require special handling. func IsARM64ADR(op obj.As) bool { switch op { case arm64.AADR, arm64.AADRP: return true } return false } // IsARM64CMP reports whether the op (as defined by an arm64.A* constant) is
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Oct 16 00:35:29 GMT 2025 - 6.3K bytes - Click Count (0)