Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 169 for url_lines (0.14 sec)

  1. docs/ja/docs/tutorial/handling-errors.md

    ここで、以下のような無効な項目を送信してみてください:
    
    ```JSON
    {
      "title": "towel",
      "size": "XL"
    }
    ```
    
    受信したボディを含むデータが無効であることを示すレスポンスが表示されます:
    
    ```JSON hl_lines="12 13 14 15"
    {
      "detail": [
        {
          "loc": [
            "body",
            "size"
          ],
          "msg": "value is not a valid integer",
          "type": "type_error.integer"
        }
      ],
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  2. docs/zh/docs/deployment/docker.md

    如果你的 FastAPI 是单个文件,例如没有`./app`目录的`main.py`,则你的文件结构可能如下所示:
    
    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    然后你只需更改相应的路径即可将文件复制到`Dockerfile`中:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Aug 12 21:47:53 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  3. docs/uk/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Відповідна операція *роуту* API FastAPI може виглядати так:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
         return {"message": "Hello World"}
    ```
    
    Зверніть увагу на схожість у `requests.get(...)` і `@app.get(...)`.
    
    /// check | Надихнуло **FastAPI** на
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 38.1K bytes
    - Viewed (0)
  4. docs/ru/docs/deployment/docker.md

    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    Тогда в `Dockerfile` нужно изменить пути копирования:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)!
    COPY ./main.py /code/
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:24:39 UTC 2025
    - 44.7K bytes
    - Viewed (0)
  5. docs/en/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    The FastAPI counterpart API *path operation* could look like:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    See the similarities in `requests.get(...)` and `@app.get(...)`.
    
    /// check | Inspired **FastAPI** to
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  6. docs/de/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    Die entsprechende *Pfadoperation* der FastAPI-API könnte wie folgt aussehen:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Sehen Sie sich die Ähnlichkeiten in `requests.get(...)` und `@app.get(...)` an.
    
    /// check | Inspirierte **FastAPI**
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 27.4K bytes
    - Viewed (0)
  7. docs/ko/docs/deployment/docker.md

    ```
    .
    ├── Dockerfile
    ├── main.py
    └── requirements.txt
    ```
    
    그러면 여러분들은 `Dockerfile` 내에 있는 파일을 복사하기 위해 그저 상응하는 경로를 바꾸기만 하면 됩니다:
    
    ```{ .dockerfile .annotate hl_lines="10  13" }
    FROM python:3.9
    
    WORKDIR /code
    
    COPY ./requirements.txt /code/requirements.txt
    
    RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
    
    # (1)
    COPY ./main.py /code/
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. src/main/resources/fess_config.properties

    response.field.content_title=content_title
    # Field name for content description in the response.
    response.field.content_description=content_description
    # Field name for URL link in the response.
    response.field.url_link=url_link
    # Field name for site path in the response.
    response.field.site_path=site_path
    # Maximum length of content title in the response.
    response.max.title.length=50
    # Maximum length of site path in the response.
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Dec 11 09:47:03 UTC 2025
    - 54.8K bytes
    - Viewed (0)
  9. docs/es/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    La operación de path equivalente en FastAPI podría verse como:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Mira las similitudes entre `requests.get(...)` y `@app.get(...)`.
    
    /// check | Inspiró a **FastAPI** a
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 10:15:01 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  10. docs/pt/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    A contra-parte na aplicação FastAPI, a operação de rota, poderia ficar assim:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Veja as similaridades em `requests.get(...)` e `@app.get(...)`.
    
    /// check | **FastAPI** inspirado para
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 25.9K bytes
    - Viewed (0)
Back to top