Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 831 - 840 of 1,045 for cython (0.04 seconds)

  1. docs/tr/docs/tutorial/stream-json-lines.md

    {"name": "Portal Gun", "description": "A portal opening device."}
    {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."}
    ```
    
    Bir JSON dizisine (Python list eşdeğeri) çok benzer; ancak öğeler `[]` içine alınmak ve araya `,` konmak yerine, her satırda **bir JSON nesnesi** vardır; bunlar yeni satır karakteri ile ayrılır.
    
    /// info | Bilgi
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:51:35 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  2. docs/uk/docs/advanced/response-directly.md

    {* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *}
    
    Оскільки це відбувається на боці Rust, продуктивність буде значно кращою, ніж якби це робилося звичайним Python і класом `JSONResponse`.
    
    Коли використовується `response_model` або тип, що повертається, **FastAPI** не використовуватиме `jsonable_encoder` для перетворення даних (що було б повільніше) і не використовуватиме клас `JSONResponse`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/security/oauth2-jwt.md

    ## Installer `PyJWT` { #install-pyjwt }
    
    Nous devons installer `PyJWT` pour générer et vérifier les jetons JWT en Python.
    
    Assurez-vous de créer un [environnement virtuel](../../virtual-environments.md), de l'activer, puis d'installer `pyjwt` :
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    ---> 100%
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.6K bytes
    - Click Count (0)
  4. docs/zh/docs/_llm-test.md

            Searching for package file structure
    ```
    
    ...以及另一个控制台代码示例...
    
    ```console
    // 创建目录 "code"
    $ mkdir code
    // 切换到该目录
    $ cd code
    ```
    
    ...以及一个 Python 代码示例...
    
    ```Python
    wont_work()  # 这不会起作用 😱
    works(foo="bar")  # 这可行 🎉
    ```
    
    ...就这些。
    
    ////
    
    //// tab | 信息
    
    代码块中的代码不应被修改,注释除外。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  5. docs/de/docs/advanced/dataclasses.md

    Aber FastAPI unterstützt auf die gleiche Weise auch die Verwendung von [`dataclasses`](https://docs.python.org/3/library/dataclasses.html):
    
    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  6. docs/de/docs/advanced/response-directly.md

    {* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *}
    
    Da dies auf der Rust-Seite geschieht, ist die Leistung deutlich besser, als wenn es mit normalem Python und der Klasse `JSONResponse` erfolgen würde.
    
    Wenn Sie ein `response_model` oder einen Rückgabetyp verwenden, nutzt FastAPI weder den `jsonable_encoder` (was langsamer wäre) zur Konvertierung der Daten noch die Klasse `JSONResponse`.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 4.8K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/dataclasses.md

    FastAPI is built on top of **Pydantic**, and I have been showing you how to use Pydantic models to declare requests and responses.
    
    But FastAPI also supports using [`dataclasses`](https://docs.python.org/3/library/dataclasses.html) the same way:
    
    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/response-directly.md

    {* ../../docs_src/response_model/tutorial001_01_py310.py hl[16,21] *}
    
    Como eso sucederá del lado de Rust, el rendimiento será mucho mejor que si se hiciera con Python normal y la clase `JSONResponse`.
    
    Al usar un `response_model` o tipo de retorno, FastAPI no usará el `jsonable_encoder` para convertir los datos (lo cual sería más lento) ni la clase `JSONResponse`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  9. tests/test_stringified_annotation_dependency_py314.py

    from fastapi.testclient import TestClient
    
    from .utils import needs_py314
    
    if TYPE_CHECKING:  # pragma: no cover
    
        class DummyUser: ...
    
    
    @needs_py314
    def test_stringified_annotation():
        # python3.14: Use forward reference without "from __future__ import annotations"
        async def get_current_user() -> DummyUser | None:
            return None
    
        app = FastAPI()
    
        client = TestClient(app)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 13:49:44 GMT 2026
    - 711 bytes
    - Click Count (0)
  10. docs/fr/docs/advanced/dataclasses.md

    FastAPI est construit au‑dessus de **Pydantic**, et je vous ai montré comment utiliser des modèles Pydantic pour déclarer les requêtes et les réponses.
    
    Mais FastAPI prend aussi en charge l'utilisation de [`dataclasses`](https://docs.python.org/3/library/dataclasses.html) de la même manière :
    
    {* ../../docs_src/dataclasses_/tutorial001_py310.py hl[1,6:11,18:19] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.7K bytes
    - Click Count (0)
Back to Top