Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 871 - 880 of 1,045 for cython (0.04 seconds)

  1. docs/ko/docs/advanced/events.md

    {* ../../docs_src/events/tutorial003_py310.py hl[1,13] *}
    
    파이썬에서 **컨텍스트 매니저**는 `with` 문에서 사용할 수 있는 것입니다. 예를 들어, `open()`은 컨텍스트 매니저로 사용할 수 있습니다:
    
    ```Python
    with open("file.txt") as file:
        file.read()
    ```
    
    최근 버전의 파이썬에는 **비동기 컨텍스트 매니저**도 있습니다. 이를 `async with`와 함께 사용합니다:
    
    ```Python
    async with lifespan(app):
        await do_stuff()
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 9.1K bytes
    - Click Count (0)
  2. docs/fr/docs/_llm-test.md

    ```
    
    ... et un autre exemple de code console ...
    
    ```console
    // Créer un répertoire "Code"
    $ mkdir code
    // Aller dans ce répertoire
    $ cd code
    ```
    
    ... et un exemple de code Python ...
    
    ```Python
    wont_work()  # Cela ne fonctionnera pas 😱
    works(foo="bar")  # Cela fonctionne 🎉
    ```
    
    ... et c’est tout.
    
    ////
    
    //// tab | Info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  3. docs/pt/docs/tutorial/security/oauth2-jwt.md

    Se você quiser brincar com tokens JWT e ver como eles funcionam, visite [https://jwt.io](https://jwt.io/).
    
    ## Instalar `PyJWT` { #install-pyjwt }
    
    Nós precisamos instalar o `PyJWT` para criar e verificar os tokens JWT em Python.
    
    Certifique-se de criar um [ambiente virtual](../../virtual-environments.md), ativá-lo e então instalar o `pyjwt`:
    
    <div class="termy">
    
    ```console
    $ pip install pyjwt
    
    ---> 100%
    ```
    
    </div>
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  4. docs/de/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *}
    
    /// note | Technische Details
    
    Ein `Request` hat ein `request.scope`-Attribut, welches einfach ein Python-<abbr title="Dictionary – Zuordnungstabelle: In anderen Sprachen auch Hash, Map, Objekt, Assoziatives Array genannt">`dict`</abbr> ist, welches die mit dem Request verbundenen Metadaten enthält.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 5.6K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/stream-json-lines.md

    {"name": "Portal Gun", "description": "A portal opening device."}
    {"name": "Meeseeks Box", "description": "A box that summons a Meeseeks."}
    ```
    
    É muito semelhante a um array JSON (equivalente a uma list do Python), mas em vez de estar envolto em `[]` e ter `,` entre os itens, há **um objeto JSON por linha**, separados por um caractere de nova linha.
    
    /// info | Informação
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  6. tensorflow/c/eager/gradient_checker_test.cc

                          absl::Span<AbstractTensorHandle*> outputs) {
      return ops::Mul(ctx, inputs[0], inputs[1], &outputs[0], "Mul");
    }
    
    // TODO(vnvo2409): Add more tests from `python/ops/gradient_checker_v2_test.py`.
    // These tests should not be confused with `[*]_grad_test` which compare the
    // result of `gradient_checker` and `[*]_grad`. The tests here test the
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Sat Oct 12 05:11:17 GMT 2024
    - 6.5K bytes
    - Click Count (0)
  7. fastapi/routing.py

                        # streaming response completes — not by async generator
                        # finalization via GeneratorExit.
                        # Ref: https://peps.python.org/pep-0789/
                        send_stream, receive_stream = anyio.create_memory_object_stream[
                            bytes
                        ](max_buffer_size=1)
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  8. docs/es/docs/advanced/websockets.md

    ## Instalar `websockets` { #install-websockets }
    
    Asegúrate de crear un [entorno virtual](../virtual-environments.md), activarlo e instalar `websockets` (un paquete de Python que facilita usar el protocolo "WebSocket"):
    
    <div class="termy">
    
    ```console
    $ pip install websockets
    
    ---> 100%
    ```
    
    </div>
    
    ## Cliente WebSockets { #websockets-client }
    
    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)
  9. docs/en/docs/how-to/custom-request-and-route.md

    {* ../../docs_src/custom_request_and_route/tutorial001_an_py310.py hl[19:27] *}
    
    /// note | Technical Details
    
    A `Request` has a `request.scope` attribute, that's just a Python `dict` containing the metadata related to the request.
    
    A `Request` also has a `request.receive`, that's a function to "receive" the body of the request.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.4K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/body-updates.md

    ### Avertissement concernant le remplacement { #warning-about-replacing }
    
    Cela signifie que si vous souhaitez mettre à jour l’élément `bar` avec `PUT` et un corps contenant :
    
    ```Python
    {
        "name": "Barz",
        "price": 3,
        "description": None,
    }
    ```
    
    comme il n’inclut pas l’attribut déjà enregistré « tax »: 20.2, le modèle d’entrée prendrait la valeur par défaut « tax »: 10.5.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
Back to Top