Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,068 for jquery (0.11 sec)

  1. docs/es/docs/tutorial/query-params.md

    # Parámetros de query
    
    Cuando declaras otros parámetros de la función que no hacen parte de los parámetros de path estos se interpretan automáticamente como parámetros de "query".
    
    ```Python hl_lines="9"
    {!../../docs_src/query_params/tutorial001.py!}
    ```
    
    El query es el conjunto de pares de key-value que van después del `?` en la URL, separados por caracteres `&`.
    
    Por ejemplo, en la URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/query-param-models.md

    # Query Parameter Models
    
    If you have a group of **query parameters** that are related, you can create a **Pydantic model** to declare them.
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    ## Query Parameters with a Pydantic Model
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. manifests/addons/dashboards/lib/lib-query.libsonnet

    {
      sum(query, by=[]):
        if std.length(by) == 0 then
          'sum (%s)' % [query]
        else
          'sum by (%s) (%s)' % [std.join(',', by), query],
      irate(query):
        'irate(%s[$__rate_interval])' % query,
      rate(query):
        'rate(%s[$__rate_interval])' % query,
      round(query, by=0.01):
        'round(%s, %s)' % [query, by],
      quantile(quantile, query):
        'histogram_quantile(%s, %s)' %[quantile, query],
      labels(metric_name, labels):
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jul 26 23:54:32 UTC 2024
    - 1K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/query-params.md

    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ...필수 매개변수 `needy`를 넣지 않았기 때문에 아래와 같은 오류를 보게 됩니다:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    `needy`는 필수 매개변수이므로 URL에 반드시 설정해줘야 합니다:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  5. docs/fr/docs/tutorial/query-params.md

    {* ../../docs_src/query_params/tutorial001.py hl[9] *}
    
    La partie appelée requête (ou **query**) dans une URL est l'ensemble des paires clés-valeurs placées après le `?` , séparées par des `&`.
    
    Par exemple, dans l'URL :
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:06:01 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/query-params.md

    在浏览器中打开如下 URL:
    
    ```
    http://127.0.0.1:8000/items/foo-item
    ```
    
    ……因为路径中没有必选参数 `needy`,返回的响应中会显示如下错误信息:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    `needy` 是必选参数,因此要在 URL 中设置值:
    
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/query-params-str-validations.md

    But now, having `Query(max_length=50)` inside of `Annotated`, we are telling FastAPI that we want it to have **additional validation** for this value, we want it to have maximum 50 characters. 😎
    
    /// tip
    
    Here we are using `Query()` because this is a **query parameter**. Later we will see others like `Path()`, `Body()`, `Header()`, and `Cookie()`, that also accept the same arguments as `Query()`.
    
    ///
    
    FastAPI will now:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. docs/pt/docs/tutorial/query-params.md

    http://127.0.0.1:8000/items/foo-item
    ```
    
    ... sem adicionar o parâmetro obrigatório `needy`, você verá um erro como:
    
    ```JSON
    {
        "detail": [
            {
                "loc": [
                    "query",
                    "needy"
                ],
                "msg": "field required",
                "type": "value_error.missing"
            }
        ]
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/query-params-str-validations.md

    ## Importer `Query`
    
    Pour cela, importez d'abord `Query` depuis `fastapi` :
    
    {* ../../docs_src/query_params_str_validations/tutorial002.py hl[3] *}
    
    ## Utiliser `Query` comme valeur par défaut
    
    Construisez ensuite la valeur par défaut de votre paramètre avec `Query`, en choisissant 50 comme `max_length` :
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 17:14:38 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/query-params-str-validations.md

    ### `Query` 임포트
    
    이를 위해 먼저 `fastapi`에서 `Query`를 임포트합니다:
    
    ```Python hl_lines="3"
    {!../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    ## 기본값으로 `Query` 사용
    
    이제 `Query`를 매개변수의 기본값으로 사용하여 `max_length` 매개변수를 50으로 설정합니다:
    
    ```Python hl_lines="9"
    {!../../docs_src/query_params_str_validations/tutorial002.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top