- Sort Score
- Num 10 results
- Language All
Results 271 - 280 of 679 for Limits (0.07 seconds)
-
docs_src/dependencies/tutorial001_an_py310.py
from typing import Annotated from fastapi import Depends, FastAPI app = FastAPI() async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100): return {"q": q, "skip": skip, "limit": limit} @app.get("/items/") async def read_items(commons: Annotated[dict, Depends(common_parameters)]): return commons @app.get("/users/") async def read_users(commons: Annotated[dict, Depends(common_parameters)]):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 454 bytes - Click Count (0) -
docs/throttle/README.md
MinIO server allows to throttle incoming requests: - limit the number of active requests allowed across the cluster - limit the wait duration for each request in the queue These values are enabled using server's configuration or environment variables. ## Examples ### Configuring connection limit
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 16 08:43:49 GMT 2024 - 1.5K bytes - Click Count (1) -
internal/store/queuestore.go
func NewQueueStore[I any](directory string, limit uint64, ext string) *QueueStore[I] { if limit == 0 { limit = defaultLimit } if ext == "" { ext = defaultExt } return &QueueStore[I]{ directory: directory, entryLimit: limit, fileExt: ext, entries: make(map[string]int64, limit), } } // Open - Creates the directory if not present.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 7.8K bytes - Click Count (0) -
docs/de/docs/tutorial/query-params.md
Zum Beispiel sind in der URL: ``` http://127.0.0.1:8000/items/?skip=0&limit=10 ``` ... die Query-Parameter: * `skip`: mit dem Wert `0` * `limit`: mit dem Wert `10` Da sie Teil der URL sind, sind sie „naturgemäß“ Strings.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5K bytes - Click Count (0) -
src/main/java/jcifs/pac/ASN1Util.java
* * @param expectTag the expected tag number * @param limit the maximum length limit * @param in the ASN.1 input stream * @return coded bytes of the tagged object * @throws IOException if reading fails or tag mismatch */ public static byte[] readUnparsedTagged(final int expectTag, final int limit, final ASN1InputStream in) throws IOException { final int ftag = in.read();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.2K bytes - Click Count (0) -
docs_src/sql_databases/tutorial001_py310.py
session.refresh(hero) return hero @app.get("/heroes/") def read_heroes( session: Session = Depends(get_session), offset: int = 0, limit: int = Query(default=100, le=100), ) -> list[Hero]: heroes = session.exec(select(Hero).offset(offset).limit(limit)).all() return heroes @app.get("/heroes/{hero_id}") def read_hero(hero_id: int, session: Session = Depends(get_session)) -> Hero:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Oct 09 19:44:42 GMT 2024 - 1.7K bytes - Click Count (0) -
tests/test_tutorial/test_query_params/test_tutorial001.py
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Fri Dec 26 10:43:02 GMT 2025 - 4.1K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/Handler.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.2K bytes - Click Count (0) -
docs/fr/docs/tutorial/query-params.md
Par exemple, dans l'URL : ``` http://127.0.0.1:8000/items/?skip=0&limit=10 ``` ...les paramètres de requête sont : * `skip` : avec une valeur de`0` * `limit` : avec une valeur de `10` Faisant partie de l'URL, ces valeurs sont des chaînes de caractères (`str`).
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Nov 09 16:39:20 GMT 2024 - 5.6K bytes - Click Count (0) -
docs/zh/docs/tutorial/query-params.md
* API 文档 ## 默认值 查询参数不是路径的固定内容,它是可选的,还支持默认值。 上例用 `skip=0` 和 `limit=10` 设定默认值。 访问 URL: ``` 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`:在 URL 中设定的值 * `limit=10`:使用默认值 ## 可选参数 同理,把默认值设为 `None` 即可声明**可选的**查询参数:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 4.3K bytes - Click Count (0)