Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 201 - 210 of 236 for url_lines (0.09 seconds)

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

    {* ../../docs_src/bigger_applications/app_an_py310/routers/items.py hl[5:10,16,21] title["app/routers/items.py"] *}
    
    Her *path operation*’ın path’i aşağıdaki gibi `/` ile başlamak zorunda olduğundan:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...prefix’in sonunda `/` olmamalıdır.
    
    Yani bu örnekte prefix `/items` olur.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  2. docs/uk/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py310/routers/items.py hl[5:10,16,21] title["app/routers/items.py"] *}
    
    Оскільки шлях кожної *операції шляху* має починатися з `/`, як у:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...префікс не має містити кінцевий `/`.
    
    Отже, у цьому випадку префікс - це `/items`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 27.4K bytes
    - Click Count (0)
  3. docs/ja/docs/tutorial/first-steps.md

         <span style="background-color:#007166"><font color="#D3D7CF"> INFO </font></span>  Application startup complete.
    ```
    
    </div>
    
    出力には次のような行があります:
    
    ```hl_lines="4"
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    ```
    
    この行はローカルマシンでアプリが提供されているURLを示しています。
    
    ### チェック { #check-it }
    
    ブラウザで[http://127.0.0.1:8000](http://127.0.0.1:8000)を開きます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 15.9K bytes
    - Click Count (0)
  4. 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** на
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 37.2K bytes
    - Click Count (0)
  5. docs/ko/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py310/routers/items.py hl[5:10,16,21] title["app/routers/items.py"] *}
    
    각 *path operation*의 경로는 다음처럼 `/`로 시작해야 하므로:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...prefix에는 마지막 `/`가 포함되면 안 됩니다.
    
    따라서 이 경우 prefix는 `/items`입니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  6. docs/zh/docs/alternatives.md

    这就是为什么,正如其官网所说:
    
    > Requests 是有史以来下载量最高的 Python 包之一
    
    它的用法非常简单。例如,进行一次 `GET` 请求,你会这样写:
    
    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    对应地,FastAPI 的 API 路径操作可能看起来是这样的:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    可以看到 `requests.get(...)` 与 `@app.get(...)` 的相似之处。
    
    /// check | 启发 **FastAPI**:
    
    * 提供简单直观的 API。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  7. docs/fr/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py310/routers/items.py hl[5:10,16,21] title["app/routers/items.py"] *}
    
    Comme le chemin de chaque *chemin d'accès* doit commencer par `/`, comme dans :
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ... le préfixe ne doit pas inclure un `/` final.
    
    Ainsi, le préfixe dans ce cas est `/items`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 21.4K bytes
    - Click Count (0)
  8. docs/es/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py310/routers/items.py hl[5:10,16,21] title["app/routers/items.py"] *}
    
    Como el path de cada *path operation* tiene que empezar con `/`, como en:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...el prefijo no debe incluir un `/` final.
    
    Así que, el prefijo en este caso es `/items`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 20.2K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/bigger-applications.md

    {* ../../docs_src/bigger_applications/app_an_py310/routers/items.py hl[5:10,16,21] title["app/routers/items.py"] *}
    
    Como o path de cada *operação de rota* tem que começar com `/`, como em:
    
    ```Python hl_lines="1"
    @router.get("/{item_id}")
    async def read_item(item_id: str):
        ...
    ```
    
    ...o prefixo não deve incluir um `/` final.
    
    Então, o prefixo neste caso é `/items`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  10. 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
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 24.5K bytes
    - Click Count (0)
Back to Top