- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 91 for picture (0.05 seconds)
-
docs/fr/docs/advanced/stream-data.md
Et dans de nombreux cas, leur lecture serait une opération bloquante (pouvant bloquer la boucle d'événements), car ils sont lus depuis le disque ou le réseau. /// info L'exemple ci-dessus est en réalité une exception, car l'objet `io.BytesIO` est déjà en mémoire ; sa lecture ne bloquera donc rien. Mais dans de nombreux cas, la lecture d'un fichier ou d'un objet de type fichier bloquera. ///
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:33:45 GMT 2026 - 6.2K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/testfixtures/TestFixtureExtension.java
if (fixtureProject == null) { throw new IllegalArgumentException("Could not find test fixture " + fixtureProject); } if (fixtureProject.file(TestFixturesPlugin.DOCKER_COMPOSE_YML).exists() == false) { throw new IllegalArgumentException( "Project " + path + " is not a valid test fixture: missing " + TestFixturesPlugin.DOCKER_COMPOSE_YML ); }
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 4.4K bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py
@pytest.fixture( name="mod_name", params=[ pytest.param("tutorial001_py310", marks=needs_py310), pytest.param("tutorial002_py310", marks=needs_py310), pytest.param("tutorial003_py310", marks=needs_py310), ], ) def get_mod_name(request: pytest.FixtureRequest): return request.param @pytest.fixture(name="client") def get_client(mod_name: str):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 8.5K bytes - Click Count (0) -
tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py
import importlib import pytest from fastapi.testclient import TestClient from inline_snapshot import snapshot @pytest.fixture( name="client", params=[ "tutorial001_an_py310", ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module( f"docs_src.authentication_error_status_code.{request.param}" ) client = TestClient(mod.app) return clientCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 1.9K bytes - Click Count (0) -
tests/test_tutorial/test_additional_status_codes/test_tutorial001.py
import importlib import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial001_py310", marks=needs_py310), pytest.param("tutorial001_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.additional_status_codes.{request.param}")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 934 bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial003.py
import importlib import pytest from fastapi.testclient import TestClient from inline_snapshot import snapshot from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial003_py310", marks=needs_py310), pytest.param("tutorial003_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 8.1K bytes - Click Count (0) -
tests/test_schema_compat_pydantic_v2.py
from dirty_equals import IsOneOf from fastapi import FastAPI from fastapi.testclient import TestClient from inline_snapshot import snapshot from pydantic import BaseModel from tests.utils import needs_py310 @pytest.fixture(name="client") def get_client(): from enum import Enum app = FastAPI() class PlatformRole(str, Enum): admin = "admin" user = "user" class OtherRole(str, Enum): ...
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Mar 23 12:36:49 GMT 2026 - 4.1K bytes - Click Count (0) -
tests/test_tutorial/test_background_tasks/test_tutorial002.py
import importlib import os from pathlib import Path import pytest from fastapi.testclient import TestClient from tests.utils import needs_py310, workdir_lock @pytest.fixture( name="client", params=[ pytest.param("tutorial002_py310", marks=needs_py310), pytest.param("tutorial002_an_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 10:53:47 GMT 2026 - 968 bytes - Click Count (0) -
tests/test_tutorial/test_body_nested_models/test_tutorial009.py
import importlib import pytest from fastapi.testclient import TestClient from inline_snapshot import snapshot @pytest.fixture( name="client", params=[ "tutorial009_py310", ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_nested_models.{request.param}") client = TestClient(mod.app) return client def test_post_body(client: TestClient):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 4.5K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaBasePlugin.java
return; } // fail on any conflicting dependency versions project.getConfigurations().all(configuration -> { if (configuration.getName().endsWith("Fixture")) { // just a self contained test-fixture configuration, likely transitive and hellacious return; } configuration.resolutionStrategy(ResolutionStrategy::failOnVersionConflict); });Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 27 16:04:42 GMT 2021 - 8K bytes - Click Count (0)