- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 639 for skipif (0.03 sec)
-
docs_src/dependencies/tutorial001_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} @app.get("/items/") async def read_items(commons: Annotated[dict, Depends(common_parameters)]): return commons @app.get("/users/")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 473 bytes - Viewed (0) -
tests/test_tutorial/test_testing_dependencies/test_tutorial001.py
"params": {"q": None, "skip": 5, "limit": 10}, } def test_override_in_users_with_q(test_module: ModuleType): client = test_module.client response = client.get("/users/?q=foo") assert response.status_code == 200, response.text assert response.json() == { "message": "Hello Users!", "params": {"q": "foo", "skip": 5, "limit": 10}, }
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 2.4K bytes - Viewed (0) -
cmd/bucket-replication-metrics_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 BenchmarkMarshalMsgActiveWorkerStat(b *testing.B) { v := ActiveWorkerStat{} b.ReportAllocs() b.ResetTimer()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 17.4K bytes - Viewed (0) -
tests/multi_primary_keys_test.go
t.Skip("skip sqlite, sqlserver due to it doesn't support multiple primary keys with auto increment") } if name := DB.Dialector.Name(); name == "postgres" { t.Skip("skip postgres due to it only allow unique constraint matching given keys") } if name := DB.Dialector.Name(); name == "gaussdb" { t.Skip("skip gaussdb due to it only allow unique constraint matching given keys")Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 13.1K bytes - Viewed (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
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 5K bytes - Viewed (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
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.8K bytes - Viewed (0) -
cmd/bucket-replication-utils_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 BenchmarkMarshalMsgBucketReplicationResyncStatus(b *testing.B) { v := BucketReplicationResyncStatus{} b.ReportAllocs()Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Sep 28 20:59:21 UTC 2025 - 23K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
SocketInputStream sis = new SocketInputStream(in); // Try to skip more than available // Skip uses read internally, which may throw IOException when it tries to read the next header try { long skipped = sis.skip(10); // If it doesn't throw, it should only skip what's available assertEquals(3, skipped); } catch (IOException e) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (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
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.5K bytes - Viewed (0) -
util/gradle_integration_tests.sh
#!/bin/bash set -eu ./mvnw clean install --projects '!guava-testlib,!guava-tests,!guava-bom,!guava-gwt' -Dmaven.test.skip=true -Dmaven.javadoc.skip=true ./mvnw clean install --projects '!guava-testlib,!guava-tests,!guava-bom' -Dmaven.test.skip=true -Dmaven.javadoc.skip=true -f android # We run this separately so that its change to the default toolchain doesn't affect anything else.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 02 19:24:12 UTC 2025 - 1.9K bytes - Viewed (0)