- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 1,108 for query1 (0.13 sec)
-
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) -
docs/ko/docs/tutorial/query-params.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/query-params-str-validations.md
Imagine que você queira que um parâmetro tenha o nome `item-query`. Desta maneira: ``` http://127.0.0.1:8000/items/?item-query=foobaritems ``` Mas o nome `item-query` não é um nome de váriavel válido no Python. O que mais se aproxima é `item_query`. Mas ainda você precisa que o nome seja exatamente `item-query`...
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.3K bytes - Viewed (0) -
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) -
docs/zh/docs/tutorial/query-params.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5K bytes - Viewed (0) -
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) -
docs/pt/docs/tutorial/query-params.md
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 5.5K bytes - Viewed (0) -
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) -
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) -
docs/zh/docs/tutorial/query-params-str-validations.md
我们打算添加约束条件:即使 `q` 是可选的,但只要提供了该参数,则该参数值**不能超过50个字符的长度**。 ### 导入 `Query` 为此,首先从 `fastapi` 导入 `Query`: ```Python hl_lines="1" {!../../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!} ``` 由于我们必须用 `Query(default=None)` 替换默认值 `None`,`Query` 的第一个参数同样也是用于定义默认值。
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sun Oct 06 20:36:54 UTC 2024 - 9.2K bytes - Viewed (0)