Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 623 for mlimit (0.08 seconds)

  1. docs_src/dependency_testing/tutorial001_an_py39.py

    from fastapi import Depends, FastAPI
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    async def common_parameters(
        q: Union[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 {"message": "Hello Items!", "params": commons}
    
    
    @app.get("/users/")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 1.5K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_dependencies/test_tutorial001_tutorial001_02.py

        [
            ("/items", 200, {"q": None, "skip": 0, "limit": 100}),
            ("/items?q=foo", 200, {"q": "foo", "skip": 0, "limit": 100}),
            ("/items?q=foo&skip=5", 200, {"q": "foo", "skip": 5, "limit": 100}),
            ("/items?q=foo&skip=5&limit=30", 200, {"q": "foo", "skip": 5, "limit": 30}),
            ("/users", 200, {"q": None, "skip": 0, "limit": 100}),
        ],
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/DiskLruCache.kt

     *
     * This cache limits the number of bytes that it will store on the filesystem. When the number of
     * stored bytes exceeds the limit, the cache will remove entries in the background until the limit
     * is satisfied. The limit is not strict: the cache may temporarily exceed it while waiting for
     * files to be deleted. The limit does not include filesystem overhead or the cache journal so
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 34.7K bytes
    - Click Count (0)
  4. docs_src/dependencies/tutorial003_py39.py

        def __init__(self, q: Union[str, None] = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons=Depends(CommonQueryParams)):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
        response.update({"items": items})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 635 bytes
    - Click Count (0)
  5. CHANGELOG/CHANGELOG-1.2.md

    issues with Docker 1.9.1 can be found below.
      * CPU hardcapping will be enabled by default for containers with CPU limit set,
    if supported by the kernel. You should either adjust your CPU limit, or set CPU
    request only, if you want to avoid hardcapping. If the kernel does not support
    CPU Quota, NodeStatus will contain a warning indicating that CPU Limits cannot
    be enforced.
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Fri Dec 04 06:36:19 GMT 2020
    - 41.4K bytes
    - Click Count (0)
  6. docs_src/dependencies/tutorial003_an_py310.py

        def __init__(self, q: str | None = None, skip: int = 0, limit: int = 100):
            self.q = q
            self.skip = skip
            self.limit = limit
    
    
    @app.get("/items/")
    async def read_items(commons: Annotated[Any, Depends(CommonQueryParams)]):
        response = {}
        if commons.q:
            response.update({"q": commons.q})
        items = fake_items_db[commons.skip : commons.skip + commons.limit]
        response.update({"items": items})
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 655 bytes
    - Click Count (0)
  7. doc/godebug.md

    Go 1.25 added a new `containermaxprocs` setting that controls whether the Go
    runtime will consider cgroup CPU limits when setting the default GOMAXPROCS.
    The default value `containermaxprocs=1` will use cgroup limits in addition to
    the total logical CPU count and CPU affinity. `containermaxprocs=0` will
    disable consideration of cgroup limits. This setting only affects Linux.
    
    Go 1.25 added a new `updatemaxprocs` setting that controls whether the Go
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Dec 03 00:18:09 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  8. docs/pt/docs/tutorial/query-params.md

    A consulta é o conjunto de pares chave-valor que vai depois de `?` na URL, separado pelo caractere `&`.
    
    Por exemplo, na URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ...os parâmetros da consulta são:
    
    * `skip`: com o valor `0`
    * `limit`: com o valor `10`
    
    Como eles são parte da URL, eles são "naturalmente" 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)
  9. docs/es/docs/tutorial/query-params.md

    La query es el conjunto de pares clave-valor que van después del `?` en una URL, separados por caracteres `&`.
    
    Por ejemplo, en la URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ...los parámetros de query son:
    
    * `skip`: con un valor de `0`
    * `limit`: con un valor de `10`
    
    Como son parte de la URL, son "naturalmente" strings.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_query_param_models/test_tutorial002.py

        response = client.get(
            "/items/",
            params={
                "limit": 10,
                "offset": 5,
                "order_by": "updated_at",
                "tags": ["tag1", "tag2"],
            },
        )
        assert response.status_code == 200
        assert response.json() == {
            "limit": 10,
            "offset": 5,
            "order_by": "updated_at",
            "tags": ["tag1", "tag2"],
        }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 8K bytes
    - Click Count (0)
Back to Top