- Sort Score
- Num 10 results
- Language All
Results 71 - 80 of 684 for skipif (0.04 seconds)
-
docs_src/dependencies/tutorial001_02_an_py39.py
from typing import Annotated, Union from fastapi import Depends, FastAPI app = FastAPI() async def common_parameters( q: Union[str, None] = None, skip: int = 0, limit: int = 100 ): return {"q": q, "skip": skip, "limit": limit} CommonsDep = Annotated[dict, Depends(common_parameters)] @app.get("/items/") async def read_items(commons: CommonsDep): return commons @app.get("/users/")
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Mar 18 12:29:59 GMT 2023 - 466 bytes - Click Count (0) -
docs_src/dependencies/tutorial001_py39.py
from typing import Union from fastapi import Depends, FastAPI 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: dict = Depends(common_parameters)): return commons @app.get("/users/") async def read_users(commons: dict = Depends(common_parameters)):
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 442 bytes - Click Count (0) -
docs/pt/docs/tutorial/query-params.md
No exemplo acima eles tem valores padrão de `skip=0` e `limit=10`. Então, se você for até a URL: ``` http://127.0.0.1:8000/items/ ``` Seria o mesmo que ir para: ``` http://127.0.0.1:8000/items/?skip=0&limit=10 ``` Mas, se por exemplo você for para: ``` http://127.0.0.1:8000/items/?skip=20 ``` Os valores dos parâmetros na sua função serão: * `skip=20`: Por que você definiu isso na URL
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 5K bytes - Click Count (0) -
docs/es/docs/tutorial/query-params.md
En el ejemplo anterior, tienen valores por defecto de `skip=0` y `limit=10`. Entonces, ir a la URL: ``` http://127.0.0.1:8000/items/ ``` sería lo mismo que ir a: ``` http://127.0.0.1:8000/items/?skip=0&limit=10 ``` Pero si vas a, por ejemplo: ``` http://127.0.0.1:8000/items/?skip=20 ``` Los valores de los parámetros en tu función serán: * `skip=20`: porque lo configuraste en la URL
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) -
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
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 4.5K bytes - Click Count (0) -
cmd/erasure-server-pool-decom_gen_test.go
if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } } func BenchmarkMarshalMsgPoolDecommissionInfo(b *testing.B) { v := PoolDecommissionInfo{} b.ReportAllocs() b.ResetTimer()Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11K bytes - Click Count (0) -
cmd/batch-job-common-types_gen_test.go
if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } } func BenchmarkMarshalMsgBatchJobKV(b *testing.B) { v := BatchJobKV{} b.ReportAllocs() b.ResetTimer()Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.3K bytes - Click Count (0) -
cmd/batch-rotate_gen_test.go
if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } } func BenchmarkMarshalMsgBatchJobKeyRotateEncryption(b *testing.B) { v := BatchJobKeyRotateEncryption{} b.ReportAllocs()Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.8K bytes - Click Count (0) -
cmd/xl-storage-format-v2_gen_test.go
if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after UnmarshalMsg(): %q", len(left), left) } left, err = msgp.Skip(bts) if err != nil { t.Fatal(err) } if len(left) > 0 { t.Errorf("%d bytes left over after Skip(): %q", len(left), left) } } func BenchmarkMarshalMsgxlMetaDataDirDecoder(b *testing.B) { v := xlMetaDataDirDecoder{} b.ReportAllocs() b.ResetTimer()Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 11.5K bytes - Click Count (0) -
src/cmd/api/api_test.go
}() } wg.Wait() }) func TestIssue21181(t *testing.T) { if testing.Short() { t.Skip("skipping with -short") } if *flagCheck { // slow, not worth repeating in -check t.Skip("skipping with -check set") } testenv.MustHaveGoBuild(t) warmupCache() for _, context := range contexts {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri May 02 17:06:27 GMT 2025 - 7.6K bytes - Click Count (0)