Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 1,031 for wait (0.05 seconds)

  1. docs/en/docs/deployment/docker.md

    In this type of scenario, you probably would want to have **a single (Uvicorn) process per container**, as you would already be handling replication at the cluster level.
    
    So, in this case, you **would not** want to have a multiple workers in the container, for example with the `--workers` command line option. You would want to have just a **single Uvicorn process** per container (but probably multiple containers).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
  2. docs/ru/docs/tutorial/request-files.md

    * `seek(offset)`: Перейти к байту на позиции `offset` (`int`) в файле.
        * Например, `await myfile.seek(0)` перейдет к началу файла.
        * Это особенно удобно, если вы один раз выполнили команду `await myfile.read()`, а затем вам нужно прочитать содержимое файла еще раз.
    * `close()`: Закрыть файл.
    
    Поскольку все эти методы являются `async` методами, вам следует использовать "await" вместе с ними.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  3. tests/test_dependency_wrapped.py

                return await func(*args, **kwargs)
            if inspect.isclass(func):
                return await run_in_threadpool(func, *args, **kwargs)
            dunder_call = getattr(func, "__call__", None)  # noqa: B004
            if iscoroutinefunction(dunder_call):
                return await dunder_call(*args, **kwargs)
            return await run_in_threadpool(func, *args, **kwargs)
    
        return wrapper
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/dependencies/classes-as-dependencies.md

    Et les éditeurs ne peuvent pas apporter beaucoup d'assistance (comme l'autocomplétion) pour les `dict`, car ils ne peuvent pas connaître leurs clés ni les types de valeurs.
    
    Nous pouvons faire mieux ...
    
    ## Ce qui fait d'un objet une dépendance { #what-makes-a-dependency }
    
    Jusqu'à présent, vous avez vu des dépendances déclarées sous forme de fonctions.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  5. docs/fr/docs/advanced/stream-data.md

    ### Gérer les fichiers et async { #files-and-async }
    
    Dans la plupart des cas, les objets de type fichier ne sont pas compatibles avec `async` et `await` par défaut.
    
    Par exemple, ils n'ont pas de `await file.read()`, ni de `async for chunk in file`.
    
    Et dans de nombreux cas, leur lecture serait une opération bloquante (pouvant bloquer la boucle d'événements), car ils sont lus depuis le disque ou le réseau.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  6. docs/tr/docs/advanced/events.md

    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    Python’ın güncel sürümlerinde bir de **async context manager** vardır. Bunu `async with` ile kullanırsınız:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. docs/fr/docs/deployment/index.md

    utilisez.
    
    Vous pouvez **déployer un serveur** vous-même en utilisant une combinaison d'outils, vous pouvez utiliser un **service
    cloud** qui fait une partie du travail pour vous, ou encore d'autres options possibles.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  8. internal/crypto/header_test.go

    			t.Errorf("Test %d: filtered headers do not match expected headers - got: %v , want: %v", i, test.Header, test.ExpectedHeader)
    		}
    		RemoveSensitiveEntries(metadata)
    		if !areKeysEqual(test.ExpectedHeader, metadata) {
    			t.Errorf("Test %d: filtered headers do not match expected headers - got: %v , want: %v", i, test.Header, test.ExpectedHeader)
    		}
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Jul 13 14:52:15 GMT 2022
    - 21.4K bytes
    - Click Count (0)
  9. docs/es/docs/advanced/websockets.md

    **FastAPI** proporciona el mismo `WebSocket` directamente solo como una conveniencia para ti, el desarrollador. Pero viene directamente de Starlette.
    
    ///
    
    ## Esperar mensajes y enviar mensajes { #await-for-messages-and-send-messages }
    
    En tu ruta de WebSocket puedes `await` para recibir mensajes y enviar mensajes.
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    Puedes recibir y enviar datos binarios, de texto y JSON.
    
    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)
  10. docs/en/docs/how-to/separate-openapi-schemas.md

    ## Do not Separate Schemas { #do-not-separate-schemas }
    
    Now, there are some cases where you might want to have the **same schema for input and output**.
    
    Probably the main use case for this is if you already have some autogenerated client code/SDKs and you don't want to update all the autogenerated client code/SDKs yet, you probably will want to do it at some point, but maybe not right now.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top