- Sort Score
- Num 10 results
- Language All
Results 421 - 430 of 1,014 for dass (0.5 seconds)
-
tests/test_dependency_after_yield_websockets.py
assert data == "baz" def test_websocket_dependency_after_yield_broken(): with pytest.raises(ValueError, match="Session closed"): with client.websocket_connect("/ws-broken"):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 2K bytes - Click Count (0) -
tests/test_additional_properties_bool.py
from inline_snapshot import snapshot from pydantic import BaseModel, ConfigDict class FooBaseModel(BaseModel): model_config = ConfigDict(extra="forbid") class Foo(FooBaseModel): pass app = FastAPI() @app.post("/") async def post( foo: Foo | None = None, ): return foo client = TestClient(app) def test_call_invalid():
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 4.2K bytes - Click Count (0) -
docs/en/docs/fastapi-cli.md
```python from backend.main import app ``` ### `fastapi dev` with path { #fastapi-dev-with-path } You can also pass the file path to the `fastapi dev` command, and it will guess the FastAPI app object to use: ```console $ fastapi dev main.py ``` But you would have to remember to pass the correct path every time you call the `fastapi` command.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Mar 07 09:29:03 GMT 2026 - 5.8K bytes - Click Count (0) -
docs/pt/docs/how-to/graphql.md
Certifique-se de avaliar se os **benefícios** para o seu caso de uso compensam as **desvantagens**. 🤓 /// ## Bibliotecas GraphQL { #graphql-libraries } Aqui estão algumas das bibliotecas **GraphQL** que têm suporte **ASGI**. Você pode usá-las com **FastAPI**: * [Strawberry](https://strawberry.rocks/) 🍓 * Com [documentação para FastAPI](https://strawberry.rocks/docs/integrations/fastapi)Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 2.9K bytes - Click Count (0) -
cmd/object-api-multipart_test.go
uploadID string PartID int inputReaderData string inputMd5 string inputSHA256 string inputDataSize int64 // flag indicating whether the test should pass. shouldPass bool // expected error output. expectedMd5 string expectedError error }{ // Test case 1-4. // Cases with invalid bucket name.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 89.4K bytes - Click Count (0) -
internal/disk/directio_unix.go
fd := f.Fd() flag, err := unix.FcntlInt(fd, unix.F_GETFL, 0) if err != nil { return err } flag &= ^(syscall.O_DIRECT) _, err = unix.FcntlInt(fd, unix.F_SETFL, flag) return err } // AlignedBlock - pass through to directio implementation. func AlignedBlock(blockSize int) []byte { return directio.AlignedBlock(blockSize)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sat Jun 17 14:31:36 GMT 2023 - 1.6K bytes - Click Count (0) -
.github/workflows/mint/nginx-4-node.conf
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header X-NginX-Proxy true; # This is necessary to pass the correct IP to be hashed real_ip_header X-Real-IP; proxy_connect_timeout 300; # To support websocket proxy_http_version 1.1;Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed May 15 16:52:29 GMT 2024 - 3.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/RepositoriesSetupPlugin.java
// with -Drepos.mavenLocal=true we can force checking the local .m2 repo which is // useful for development ie. bwc tests where we install stuff in the local repository // such that we don't have to pass hardcoded files to gradle repos.mavenLocal(); } repos.mavenCentral(); String luceneVersion = VersionProperties.getLucene(); if (luceneVersion.contains("-snapshot")) {Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 2.7K bytes - Click Count (0) -
cmd/bucket-replication-handlers.go
arn := r.URL.Query().Get("arn") resetID := r.URL.Query().Get("reset-id") if resetID == "" { resetID = mustGetUUID() } var ( days time.Duration err error ) if durationStr != "" { days, err = time.ParseDuration(durationStr) if err != nil { writeErrorResponse(ctx, w, toAPIError(ctx, InvalidArgument{ Bucket: bucket,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Aug 15 12:04:40 GMT 2024 - 23.3K bytes - Click Count (0) -
docs/fr/docs/tutorial/static-files.md
Vous pouvez en lire davantage à ce sujet dans le [Guide utilisateur avancé](../advanced/index.md). ## Détails { #details }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 1.9K bytes - Click Count (0)