Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for skip (0.13 sec)

  1. docs/en/docs/how-to/index.md

    If something seems interesting and useful to your project, go ahead and check it, but otherwise, you might probably just skip them.
    
    !!! tip
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Aug 19 19:54:04 GMT 2023
    - 591 bytes
    - Viewed (0)
  2. docs/ja/docs/tutorial/query-params.md

    クエリパラメータはパスの固定部分ではないので、オプショナルとしたり、デフォルト値をもつことができます。
    
    上述の例では、`skip=0` と `limit=10` というデフォルト値を持っています。
    
    したがって、以下のURLにアクセスすることは:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    以下のURLにアクセスすることと同等になります:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    しかし、例えば、以下にアクセスすると:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    関数内のパラメータの値は以下の様になります:
    
    * `skip=20`: URL内にセットしたため
    * `limit=10`: デフォルト値
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. docs/zh/docs/tutorial/dependencies/index.md

    ```
    
    大功告成。
    
    只用了**2 行**代码。
    
    依赖项函数的形式和结构与*路径操作函数*一样。
    
    因此,可以把依赖项当作没有「装饰器」(即,没有 `@app.get("/some-path")` )的路径操作函数。
    
    依赖项可以返回各种内容。
    
    本例中的依赖项预期接收如下参数:
    
    * 类型为 `str` 的可选查询参数 `q`
    * 类型为 `int` 的可选查询参数 `skip`,默认值是 `0`
    * 类型为 `int` 的可选查询参数 `limit`,默认值是 `100`
    
    然后,依赖项函数返回包含这些值的 `dict`。
    
    ### 导入 `Depends`
    
    ```Python hl_lines="3"
    {!../../../docs_src/dependencies/tutorial001.py!}
    ```
    
    ### 声明依赖项
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Jun 24 14:47:15 GMT 2023
    - 7K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/query-params.md

    In the example above they have default values of `skip=0` and `limit=10`.
    
    So, going to the URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    would be the same as going to:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    But if you go to, for example:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    The parameter values in your function will be:
    
    * `skip=20`: because you set it in the URL
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Oct 20 09:08:42 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/query-params.md

    Dans l'exemple ci-dessus, ils ont des valeurs par défaut qui sont `skip=0` et `limit=10`.
    
    Donc, accéder à l'URL :
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    serait équivalent à accéder à l'URL :
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Mais si vous accédez à, par exemple :
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    Les valeurs des paramètres de votre fonction seront :
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Wed Sep 27 20:52:31 GMT 2023
    - 5.8K bytes
    - Viewed (0)
  6. docs/tr/docs/tutorial/query-params.md

    Yukarıdaki örnekte `skip=0` ve `limit=10` varsayılan değere sahiplerdir.
    
    Yani, aşağıdaki bağlantıya gitmek:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    şu adrese gitmek ile aynı etkiye sahiptir:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Ancak, mesela şöyle bir adresi ziyaret ederseniz:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/query-params.md

    Im obigen Beispiel haben sie die Defaultwerte `skip=0` und `limit=10`.
    
    Wenn Sie also zur URL:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    gehen, so ist das das gleiche wie die URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Aber wenn Sie zum Beispiel zu:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    gehen, werden die Parameter-Werte Ihrer Funktion sein:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 25 14:53:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/em/docs/tutorial/query-params.md

    ## 🔢
    
    🔢 🔢 🚫 🔧 🍕 ➡, 👫 💪 📦 & 💪 ✔️ 🔢 💲.
    
    🖼 🔛 👫 ✔️ 🔢 💲 `skip=0` & `limit=10`.
    
    , 🔜 📛:
    
    ```
    http://127.0.0.1:8000/items/
    ```
    
    🔜 🎏 🔜:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ✋️ 🚥 👆 🚶, 🖼:
    
    ```
    http://127.0.0.1:8000/items/?skip=20
    ```
    
    🔢 💲 👆 🔢 🔜:
    
    * `skip=20`: ↩️ 👆 ⚒ ⚫️ 📛
    * `limit=10`: ↩️ 👈 🔢 💲
    
    ## 📦 🔢
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/dependencies/classes-as-dependencies.md

        ```
    
    Эти параметры и будут использоваться **FastAPI** для "решения" зависимости.
    
    В обоих случаях она будет иметь:
    
    * Необязательный параметр запроса `q`, представляющий собой `str`.
    * Параметр запроса `skip`, представляющий собой `int`, по умолчанию `0`.
    * Параметр запроса `limit`, представляющий собой `int`, по умолчанию равный `100`.
    
    В обоих случаях данные будут конвертированы, валидированы, документированы по схеме OpenAPI и т.д.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Jan 12 11:12:19 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/behind-a-proxy.md

    This is because FastAPI uses this `root_path` to create the default `server` in OpenAPI with the URL provided by `root_path`.
    
    ## Additional servers
    
    !!! warning
        This is a more advanced use case. Feel free to skip it.
    
    By default, **FastAPI** will create a `server` in the OpenAPI schema with the URL for the `root_path`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
Back to top