Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for metodo (0.69 sec)

  1. docs/en/docs/advanced/generate-clients.md

    But I'll show you how to improve that next. 🤓
    
    ## Custom Operation IDs and Better Method Names
    
    You can **modify** the way these operation IDs are **generated** to make them simpler and have **simpler method names** in the clients.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/first-steps.md

    "Operation" here refers to one of the HTTP "methods".
    
    One of:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...and the more exotic ones:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    In the HTTP protocol, you can communicate to each path using one (or more) of these "methods".
    
    ---
    
    When building APIs, you normally use these specific HTTP methods to perform a specific action.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. docs/it/docs/index.md

    ```
    
    Hai appena creato un'API che:
    
    * Riceve richieste HTTP sui _paths_ `/` and `/items/{item_id}`.
    * Entrambi i _paths_ accettano`GET` operations (conosciuti anche come <abbr title="metodi HTTP">HTTP _methods_</abbr>).
    * Il _path_ `/items/{item_id}` ha un _path parameter_ `item_id` che deve essere un `int`.
    * Il _path_ `/items/{item_id}` ha una `str` _query parameter_ `q`.
    
    ### Documentazione interattiva dell'API
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  4. docs/pl/docs/index.md

    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Właśnie stworzyłeś API które:
    
    * Otrzymuje żądania HTTP w _ścieżce_ `/` i `/items/{item_id}`.
    * Obie _ścieżki_ używają operacji `GET` (znane także jako _metody_ HTTP).
    * _Ścieżka_ `/items/{item_id}` ma _parametr ścieżki_ `item_id` który powinien być obiektem typu `int`.
    * _Ścieżka_ `/items/{item_id}` ma opcjonalny _parametr zapytania_ typu `str` o nazwie `q`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19.4K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/first-steps.md

    ```
    
    Das `@app.get("/")` sagt **FastAPI**, dass die Funktion direkt darunter für die Bearbeitung von Anfragen zuständig ist, die an:
    
     * den Pfad `/`
     * unter der Verwendung der <abbr title="eine HTTP GET Methode"><code>get</code>-Operation</abbr> gehen
    
    !!! info "`@decorator` Information"
        Diese `@something`-Syntax wird in Python „Dekorator“ genannt.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jan 13 12:16:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-model.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="17  22  24-27"
        {!> ../../../docs_src/response_model/tutorial001.py!}
        ```
    
    !!! note
        Notice that `response_model` is a parameter of the "decorator" method (`get`, `post`, etc). Not of your *path operation function*, like all the parameters and body.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17.9K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/first-steps.md

    #### *パスオペレーションデコレータ*を定義
    
    ```Python hl_lines="6"
    {!../../../docs_src/first_steps/tutorial001.py!}
    ```
    `@app.get("/")`は直下の関数が下記のリクエストの処理を担当することを**FastAPI**に伝えます:
    
    * パス `/`
    * <abbr title="an HTTP GET method"><code>get</code> オペレーション</abbr>
    
    !!! info "`@decorator` について"
        Pythonにおける`@something`シンタックスはデコレータと呼ばれます。
    
        「デコレータ」は関数の上に置きます。かわいらしい装飾的な帽子のようです(この用語の由来はそこにあると思います)。
    
        「デコレータ」は直下の関数を受け取り、それを使って何かを行います。
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  8. docs/en/docs/alternatives.md

    def read_url():
        return {"message": "Hello World"}
    ```
    
    See the similarities in `requests.get(...)` and `@app.get(...)`.
    
    !!! check "Inspired **FastAPI** to"
        * Have a simple and intuitive API.
        * Use HTTP method names (operations) directly, in a straightforward and intuitive way.
        * Have sensible defaults, but powerful customizations.
    
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. docs/es/docs/index.md

        * Revisar si tiene un atributo opcional `is_offer`, que debe ser un `bool`si está presente.
        * Todo esto funcionaría para objetos JSON profundamente anidados.
    * Convertir de y a JSON automáticamente.
    * Documentar todo con OpenAPI que puede ser usado por:
        * Sistemas de documentación interactiva.
        * Sistemas de generación automática de código de cliente para muchos lenguajes.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 19K bytes
    - Viewed (0)
  10. docs/pt/docs/contributing.md

    Desse modo, você não tem que "instalar" sua versão local para ser capaz de testar cada mudança.
    
    ### Formato
    
    Tem um arquivo que você pode rodar que irá formatar e limpar todo o seu código:
    
    <div class="termy">
    
    ```console
    $ bash scripts/format.sh
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sun Jun 11 21:38:15 GMT 2023
    - 14.9K bytes
    - Viewed (0)
Back to top