Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 331 for Rapp (0.22 sec)

  1. docs/de/docs/tutorial/bigger-applications.md

    * Es gibt auch eine Datei `app/dependencies.py`, genau wie `app/main.py` ist sie ein „Modul“: `app.dependencies`.
    * Es gibt ein Unterverzeichnis `app/routers/` mit einer weiteren Datei `__init__.py`, es handelt sich also um ein „Python-Subpackage“: `app.routers`.
    * Die Datei `app/routers/items.py` befindet sich in einem Package, `app/routers/`, also ist sie ein Submodul: `app.routers.items`.
    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)
  2. docs/ru/docs/tutorial/testing.md

    === "Python 3.10+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py310/main.py!}
        ```
    
    === "Python 3.9+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an_py39/main.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python
        {!> ../../../docs_src/app_testing/app_b_an/main.py!}
        ```
    
    === "Python 3.10+ без Annotated"
    
        !!! tip "Подсказка"
    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)
  3. docs/en/docs/how-to/sql-databases-peewee.md

    `sql_app` should have the following files:
    
    * `sql_app/__init__.py`: is an empty file.
    
    * `sql_app/database.py`:
    
    ```Python
    {!../../../docs_src/sql_databases_peewee/sql_app/database.py!}
    ```
    
    * `sql_app/models.py`:
    
    ```Python
    {!../../../docs_src/sql_databases_peewee/sql_app/models.py!}
    ```
    
    * `sql_app/schemas.py`:
    
    ```Python
    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)
  4. docs/fr/docs/tutorial/first-steps.md

        C'est le "**décorateur d'opération de chemin**".
    
    Vous pouvez aussi utiliser les autres opérations :
    
    * `@app.post()`
    * `@app.put()`
    * `@app.delete()`
    
    Tout comme celles les plus exotiques :
    
    * `@app.options()`
    * `@app.head()`
    * `@app.patch()`
    * `@app.trace()`
    
    !!! tip "Astuce"
        Vous êtes libres d'utiliser chaque opération (méthode HTTP) comme vous le désirez.
    
    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)
  5. .github/actions/people/Dockerfile

    FROM python:3.9
    
    RUN pip install httpx PyGithub "pydantic==2.0.2" pydantic-settings "pyyaml>=5.3.1,<6.0.0"
    
    COPY ./app /app
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Aug 03 14:12:28 GMT 2023
    - 156 bytes
    - Viewed (0)
  6. build-logic/jvm/src/main/kotlin/gradlebuild/startscript/tasks/GradleStartScriptGenerator.kt

                        // The result would be something like DEFAULT_JVM_OPTS='"-Xmx64m" "-Xms64m"'" \"-javaagent:$APP_HOME/lib/agents/foobar.jar\""
                        line + getAgentOptions("\$APP_HOME").joinToString(separator = " ", prefix = "\" ", postfix = "\"") {
                            // Wrap the agent switch in double quotes, as the expanded APP_HOME may contain spaces.
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Fri Feb 24 10:25:27 GMT 2023
    - 6.3K bytes
    - Viewed (0)
  7. docs/de/docs/deployment/server-workers.md

    ```
    
    </div>
    
    Sehen wir uns an, was jede dieser Optionen bedeutet:
    
    * `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
    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)
  8. docs/zh/docs/deployment/server-workers.md

    ```
    
    </div>
    
    
    让我们看看每个选项的含义:
    
    * `main:app`:这与 Uvicorn 使用的语法相同,`main` 表示名为"`main`"的 Python 模块,因此是文件 `main.py`。 `app` 是 **FastAPI** 应用程序的变量名称。
         * 你可以想象 `main:app` 相当于一个 Python `import` 语句,例如:
    
            ```Python
            from main import app
            ```
    
         * 因此,`main:app` 中的冒号相当于 `from main import app` 中的 Python `import` 部分。
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  9. docs/tr/docs/index.md

    * `main.py` adında bir dosya oluşturup içine şu kodu yapıştıralım:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 21.9K bytes
    - Viewed (0)
  10. docs/uk/docs/index.md

    ## Приклад
    
    ### Створіть
    
    * Створіть файл `main.py` з:
    
    ```Python
    from typing import Union
    
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 24.2K bytes
    - Viewed (0)
Back to top