Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 97 for Editor (0.17 sec)

  1. docs/en/docs/tutorial/response-model.md

    !!! tip
        If you have strict type checks in your editor, mypy, etc, you can declare the function return type as `Any`.
    
        That way you tell the editor that you are intentionally returning anything. But FastAPI will still do the data documentation, validation, filtering, etc. with the `response_model`.
    
    ### `response_model` Priority
    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)
  2. docs/de/docs/tutorial/body-nested-models.md

        ```Python hl_lines="15"
        {!> ../../../docs_src/body_nested_models/tutorial008.py!}
        ```
    
    ## Editor-Unterstützung überall
    
    Und Sie erhalten Editor-Unterstützung überall.
    
    Selbst für Dinge in Listen:
    
    <img src="/img/tutorial/body-nested-models/image01.png">
    
    Sie würden diese Editor-Unterstützung nicht erhalten, wenn Sie direkt mit `dict`, statt mit Pydantic-Modellen arbeiten würden.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  3. docs/en/docs/alternatives.md

    And it generates OpenAPI schemas.
    
    That's how it works in Flask, Starlette, Responder, etc.
    
    But then, we have again the problem of having a micro-syntax, inside of a Python string (a big YAML).
    
    The editor can't help much with that. And if we modify parameters or Marshmallow schemas and forget to also modify that YAML docstring, the generated schema would be obsolete.
    
    !!! info
    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)
  4. docs/de/docs/features.md

    So kann ihr Editor Sie unterstützen:
    
    * in <a href="https://code.visualstudio.com/" class="external-link" target="_blank">Visual Studio Code</a>:
    
    ![Editor Unterstützung](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    * in <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 19:43:43 GMT 2024
    - 10.8K bytes
    - Viewed (0)
  5. docs/en/docs/python-types.md

    By doing that, your editor can provide support even while processing items from the list:
    
    <img src="/img/python-types/image05.png">
    
    Without types, that's almost impossible to achieve.
    
    Notice that the variable `item` is one of the elements in the list `items`.
    
    And still, the editor knows it is a `str`, and provides support for that.
    
    #### Tuple and Set
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 17K bytes
    - Viewed (0)
  6. docs/vi/docs/features.md

    * trong <a href="https://code.visualstudio.com/" class="external-link" target="_blank">Visual Studio Code</a>:
    
    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    * trong <a href="https://www.jetbrains.com/pycharm/" class="external-link" target="_blank">PyCharm</a>:
    
    ![editor support](https://fastapi.tiangolo.com/img/pycharm-completion.png)
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/response-model.md

    !!! tip "Tipp"
        Wenn Sie in Ihrem Editor strikte Typchecks haben, mypy, usw., können Sie den Funktions-Rückgabetyp als <abbr title='„Irgend etwas“'>`Any`</abbr> deklarieren.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:58 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/index.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    É **ALTAMENTE recomendado** que você escreva ou copie o código, edite-o e rode-o localmente.
    
    Usá-lo em seu editor é o que realmente te mostra os benefícios do FastAPI, ver quão pouco código você tem que escrever, todas as conferências de tipo, auto completações etc.
    
    ---
    
    ## Instale o FastAPI
    
    O primeiro passo é instalar o FastAPI.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  9. docs/it/docs/index.md

    ```Python
            ... "item_name": item.name ...
    ```
    
    ...a:
    
    ```Python
            ... "item_price": item.price ...
    ```
    
    ...e osserva come il tuo editor di testo autocompleterà gli attributi e sarà in grado di riconoscere i loro tipi:
    
    ![editor support](https://fastapi.tiangolo.com/img/vscode-completion.png)
    
    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)
  10. docs/en/docs/tutorial/path-params.md

    ```Python hl_lines="7"
    {!../../../docs_src/path_params/tutorial002.py!}
    ```
    
    In this case, `item_id` is declared to be an `int`.
    
    !!! check
        This will give you editor support inside of your function, with error checks, completion, etc.
    
    ## Data <abbr title="also known as: serialization, parsing, marshalling">conversion</abbr>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top