Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for Wain (0.15 sec)

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

    Diese könnte so aussehen:
    
    ```JSON  hl_lines="7"
    {
      "name": "frontend-app",
      "version": "1.0.0",
      "description": "",
      "main": "index.js",
      "scripts": {
        "generate-client": "openapi-ts --input http://localhost:8000/openapi.json --output ./src/client --client axios"
      },
      "author": "",
      "license": "",
      "devDependencies": {
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Apr 03 03:42:11 GMT 2024
    - 12K bytes
    - Viewed (0)
  2. docs/en/docs/help-fastapi.md

    The main tasks that you can do right now are:
    
    * [Help others with questions in GitHub](#help-others-with-questions-in-github){.internal-link target=_blank} (see the section above).
    * [Review Pull Requests](#review-pull-requests){.internal-link target=_blank} (see the section above).
    
    Those two tasks are what **consume time the most**. That's the main work of maintaining FastAPI.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  3. docs/ko/docs/tutorial/schema-extra-example.md

    * <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#parameter-object" class="external-link" target="_blank">`(명세서에 있는) Parameter Object`</a>는 FastAPI의 다음 기능에서 쓰였습니다:
        * `Path()`
        * `Query()`
        * `Header()`
        * `Cookie()`
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Feb 09 12:35:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  4. docs/pt/docs/features.md

    Você escreve Python padrão com tipos:
    
    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Declare uma variável como str
    # e obtenha suporte do editor dentro da função
    def main(user_id: str):
        return user_id
    
    
    # Um modelo do Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    Que então pode ser usado como:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.4K bytes
    - Viewed (0)
  5. docs/fr/docs/features.md

    ```Python
    from datetime import date
    
    from pydantic import BaseModel
    
    # Déclare une variable comme étant une str
    # et profitez de l'aide de votre IDE dans cette fonction
    def main(user_id: str):
        return user_id
    
    
    # Un modèle Pydantic
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    Qui peuvent ensuite être utilisés comme cela:
    
    ```Python
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.1K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/testing.md

    ``` hl_lines="5"
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    Так как оба файла находятся в одной директории, для импорта объекта приложения из файла `main` в файл `test_main` Вы можете использовать относительный импорт:
    
    ```Python hl_lines="3"
    {!../../../docs_src/app_testing/test_main.py!}
    ```
    
    ...и писать дальше тесты, как и раньше.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/bigger-applications.md

    ```Python hl_lines="1  3  7" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    ### Den `APIRouter` importieren
    
    Jetzt importieren wir die anderen Submodule, die `APIRouter` haben:
    
    ```Python hl_lines="4-5" title="app/main.py"
    {!../../../docs_src/bigger_applications/app/main.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:27:59 GMT 2024
    - 21.1K bytes
    - Viewed (0)
  8. docs/de/docs/deployment/server-workers.md

    * `main:app`: Das ist die gleiche Syntax, die auch von Uvicorn verwendet wird. `main` bedeutet das Python-Modul mit dem Namen `main`, also eine Datei `main.py`. Und `app` ist der Name der Variable, welche die **FastAPI**-Anwendung ist.
        * Stellen Sie sich einfach vor, dass `main:app` einer Python-`import`-Anweisung wie der folgenden entspricht:
    
            ```Python
            from main import app
            ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:19:25 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/first-steps.md

    <span style="color: green;">INFO</span>:     Application startup complete.
    ```
    
    </div>
    
    !!! note
        La commande `uvicorn main:app` fait référence à :
    
        * `main` : le fichier `main.py` (le module Python).
        * `app` : l'objet créé dans `main.py` via la ligne `app = FastAPI()`.
        * `--reload` : l'option disant à uvicorn de redémarrer le serveur à chaque changement du code. À ne pas utiliser en production !
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 20:52:31 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  10. docs/en/docs/how-to/sql-databases-peewee.md

    ## Main **FastAPI** app
    
    And now in the file `sql_app/main.py` let's integrate and use all the other parts we created before.
    
    ### Create the database tables
    
    In a very simplistic way create the database tables:
    
    ```Python hl_lines="9-11"
    {!../../../docs_src/sql_databases_peewee/sql_app/main.py!}
    ```
    
    ### Create a dependency
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Jan 16 13:23:25 GMT 2024
    - 23.6K bytes
    - Viewed (1)
Back to top