Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 234 for imported (0.07 seconds)

  1. docs/fr/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image04.png">
    
    Et tous utiliseront la même connexion WebSocket.
    
    ## Utiliser `Depends` et autres { #using-depends-and-others }
    
    Dans les endpoints WebSocket, vous pouvez importer depuis `fastapi` et utiliser :
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    Ils fonctionnent de la même manière que pour les autres endpoints/*chemins d'accès* FastAPI :
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  2. docs/es/docs/python-types.md

    ### Módulo `typing` { #typing-module }
    
    Para algunos casos adicionales, podrías necesitar importar algunas cosas del módulo `typing` de la standard library, por ejemplo cuando quieres declarar que algo tiene "cualquier tipo", puedes usar `Any` de `typing`:
    
    ```python
    from typing import Any
    
    
    def some_function(data: Any):
        print(data)
    ```
    
    ### Tipos genéricos { #generic-types }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.6K bytes
    - Click Count (1)
  3. docs/pt/docs/python-types.md

    ### Módulo `typing` { #typing-module }
    
    Para alguns casos adicionais, você pode precisar importar alguns itens do módulo padrão `typing`, por exemplo, quando quiser declarar que algo pode ter "qualquer tipo", você pode usar `Any` de `typing`:
    
    ```python
    from typing import Any
    
    
    def some_function(data: Any):
        print(data)
    ```
    
    ### Tipos genéricos { #generic-types }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  4. docs/es/docs/advanced/websockets.md

    <img src="/img/tutorial/websockets/image04.png">
    
    Y todos usarán la misma conexión WebSocket.
    
    ## Usando `Depends` y otros { #using-depends-and-others }
    
    En endpoints de WebSocket puedes importar desde `fastapi` y usar:
    
    * `Depends`
    * `Security`
    * `Cookie`
    * `Header`
    * `Path`
    * `Query`
    
    Funcionan de la misma manera que para otros endpoints de FastAPI/*path operations*:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 5.5K bytes
    - Click Count (0)
  5. docs/es/docs/tutorial/background-tasks.md

    ## Detalles Técnicos { #technical-details }
    
    La clase `BackgroundTasks` proviene directamente de [`starlette.background`](https://www.starlette.dev/background/).
    
    Se importa/incluye directamente en FastAPI para que puedas importarla desde `fastapi` y evitar importar accidentalmente la alternativa `BackgroundTask` (sin la `s` al final) de `starlette.background`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 5K bytes
    - Click Count (0)
  6. docs/pt/docs/how-to/custom-docs-ui-assets.md

    │   ├── __init__.py
    │   ├── main.py
    └── static
        ├── redoc.standalone.js
        ├── swagger-ui-bundle.js
        └── swagger-ui.css
    ```
    
    ### Prover os arquivos estáticos { #serve-the-static-files }
    
    * Importe `StaticFiles`.
    * "Monte" a instância `StaticFiles()` em um caminho específico.
    
    {* ../../docs_src/custom_docs_ui/tutorial002_py310.py hl[7,11] *}
    
    ### Teste os arquivos estáticos { #test-the-static-files }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  7. lib/fips140/v1.0.0-c2097c7c.zip

    then applying // decapsulation key dk to retrieve the same shared secret K. The PCT passes if // the two shared secret K values are equal. The PCT shall be performed either // when keys are generated/imported, prior to the first exportation, or prior to // the first operational use (if not exported before the first use)." func kemPCT1024(dk *DecapsulationKey1024) error { ek := dk.EncapsulationKey() K, c := ek.Encapsulate() K1, err := dk.Decapsulate(c) if err != nil { return err } if subtle.ConstantTimeCompare(K,...
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Sep 25 19:53:19 GMT 2025
    - 642.7K bytes
    - Click Count (0)
  8. docs/de/docs/tutorial/testing.md

    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Da sich diese Datei im selben Package befindet, können Sie relative Importe verwenden, um das Objekt `app` aus dem `main`-Modul (`main.py`) zu importieren:
    
    {* ../../docs_src/app_testing/app_a_py310/test_main.py hl[3] *}
    
    
    ... und haben den Code für die Tests wie zuvor.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  9. api/go1.22.txt

    pkg encoding/hex, func AppendEncode([]uint8, []uint8) []uint8 #53693
    pkg go/ast, func NewPackage //deprecated #52463
    pkg go/ast, func Unparen(Expr) Expr #60061
    pkg go/ast, type Importer //deprecated #52463
    pkg go/ast, type Object //deprecated #52463
    pkg go/ast, type Package //deprecated #52463
    pkg go/ast, type Scope //deprecated #52463
    pkg go/types, func NewAlias(*TypeName, Type) *Alias #63223
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Wed Jan 24 20:54:27 GMT 2024
    - 7.7K bytes
    - Click Count (0)
  10. docs/pt/docs/fastapi-cli.md

    ```toml
    [tool.fastapi]
    entrypoint = "main:app"
    ```
    
    Esse `entrypoint` dirá ao comando `fastapi` que ele deve importar a aplicação assim:
    
    ```python
    from main import app
    ```
    
    Se o seu código estivesse estruturado assim:
    
    ```
    .
    ├── backend
    │   ├── main.py
    │   ├── __init__.py
    ```
    
    Então você definiria o `entrypoint` como:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 6.3K bytes
    - Click Count (0)
Back to Top