Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 1,145 for simpler (0.06 seconds)

  1. docs/en/docs/advanced/async-tests.md

    The `TestClient` is based on [HTTPX](https://www.python-httpx.org), and luckily, we can use it directly to test the API.
    
    ## Example { #example }
    
    For a simple example, let's consider a file structure similar to the one described in [Bigger Applications](../tutorial/bigger-applications.md) and [Testing](../tutorial/testing.md):
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  2. docs/fr/docs/advanced/generate-clients.md

    Vous pouvez **modifier** la façon dont ces operation IDs sont **générés** pour les simplifier et obtenir des **noms de méthodes plus simples** dans les clients.
    
    Dans ce cas, vous devez vous assurer que chaque operation ID est **unique** d’une autre manière.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 11K bytes
    - Click Count (0)
  3. docs/es/docs/advanced/async-tests.md

    El `TestClient` está basado en [HTTPX](https://www.python-httpx.org), y afortunadamente, podemos usarlo directamente para probar la API.
    
    ## Ejemplo { #example }
    
    Para un ejemplo simple, consideremos una estructura de archivos similar a la descrita en [Aplicaciones Más Grandes](../tutorial/bigger-applications.md) y [Testing](../tutorial/testing.md):
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4K bytes
    - Click Count (0)
  4. docs/features/interceptors.md

    Interceptors
    ============
    
    Interceptors are a powerful mechanism that can monitor, rewrite, and retry calls. Here's a simple interceptor that logs the outgoing request and the incoming response.
    
    ```java
    class LoggingInterceptor implements Interceptor {
      @Override public Response intercept(Interceptor.Chain chain) throws IOException {
        Request request = chain.request();
    
        long t1 = System.nanoTime();
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Click Count (0)
  5. cmd/bucket-lifecycle-handlers_test.go

    }
    
    // Simple tests of bucket lifecycle: PUT, GET, DELETE.
    // Tests are related and the order is important.
    func testBucketLifecycleHandlers(obj ObjectLayer, instanceType, bucketName string, apiRouter http.Handler,
    	creds auth.Credentials, t *testing.T,
    ) {
    	// test cases with sample input and expected output.
    	testCases := []struct {
    		method     string
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jun 10 15:50:49 GMT 2024
    - 11.3K bytes
    - Click Count (0)
  6. docs/pt/docs/python-types.md

    Você acabou de ver o local principal para declarar type hints. Como parâmetros de função.
    
    Este também é o principal local em que você os usaria com o **FastAPI**.
    
    ### Tipos simples { #simple-types }
    
    Você pode declarar todos os tipos padrão de Python, não apenas `str`.
    
    Você pode usar, por exemplo:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    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)
  7. docs/es/docs/python-types.md

    Acabas de ver el lugar principal para declarar anotaciones de tipos. Como parámetros de función.
    
    Este también es el lugar principal donde los utilizarías con **FastAPI**.
    
    ### Tipos simples { #simple-types }
    
    Puedes declarar todos los tipos estándar de Python, no solo `str`.
    
    Puedes usar, por ejemplo:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    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)
  8. docs/es/docs/advanced/events.md

    Imaginemos que cargar el modelo puede **tomar bastante tiempo**, porque tiene que leer muchos **datos del disco**. Entonces no quieres hacerlo para cada request.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  9. docs/sts/ldap.md

    ### Response Elements
    
    XML response for this API is similar to [AWS STS AssumeRoleWithWebIdentity](https://docs.aws.amazon.com/STS/latest/APIReference/API_AssumeRoleWithWebIdentity.html#API_AssumeRoleWithWebIdentity_ResponseElements)
    
    ### Errors
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/testing.md

    Créez des fonctions dont le nom commence par `test_` (c’est la convention standard de `pytest`).
    
    Utilisez l’objet `TestClient` de la même manière que vous utilisez `httpx`.
    
    Écrivez de simples instructions `assert` avec les expressions Python standard que vous devez vérifier (là encore, standard `pytest`).
    
    {* ../../docs_src/app_testing/tutorial001_py310.py hl[2,12,15:18] *}
    
    /// tip | Astuce
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top