- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 1,131 for defs (0.02 seconds)
-
.ci/jobs.t/elastic+elasticsearch+pull-request+eql-correctness.yml
description: "Testing of Elasticsearch pull requests - eql-correctness" workspace: "/dev/shm/elastic+elasticsearch+pull-request+eql-correctness" scm: - git: refspec: "+refs/pull/${ghprbPullId}/*:refs/remotes/origin/pr/${ghprbPullId}/*" branches: - "${ghprbActualCommit}" triggers: - github-pull-request: org-list: - elasticCreated: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jul 01 20:27:05 GMT 2021 - 1.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
} @Test @DisplayName("Should detect DFS from share flags") void testIsShareDfsWithShareFlags() throws Exception { // Test with DFS flag setPrivateField(response, "shareFlags", Smb2TreeConnectResponse.SMB2_SHAREFLAG_DFS); assertTrue(response.isShareDfs(), "Should detect DFS from DFS flag"); // Test with DFS_ROOT flagCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 24.9K bytes - Click Count (0) -
tests/test_openapi_route_extensions.py
app = FastAPI() @app.get("/", openapi_extra={"x-custom-extension": "value"}) def route_with_extras(): return {} client = TestClient(app) def test_get_route(): response = client.get("/") assert response.status_code == 200, response.text assert response.json() == {} def test_openapi_schema(): response = client.get("/openapi.json")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 1.2K bytes - Click Count (0) -
tests/test_optional_file_list.py
from fastapi import FastAPI, File from fastapi.testclient import TestClient app = FastAPI() @app.post("/files") async def upload_files(files: list[bytes] | None = File(None)): if files is None: return {"files_count": 0} return {"files_count": len(files), "sizes": [len(f) for f in files]} def test_optional_bytes_list(): client = TestClient(app) response = client.post( "/files",
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 789 bytes - Click Count (0) -
docs_src/custom_request_and_route/tutorial002_py310.py
from fastapi.exceptions import RequestValidationError from fastapi.routing import APIRoute class ValidationErrorLoggingRoute(APIRoute): def get_route_handler(self) -> Callable: original_route_handler = super().get_route_handler() async def custom_route_handler(request: Request) -> Response: try: return await original_route_handler(request)
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 10 08:55:32 GMT 2025 - 935 bytes - Click Count (0) -
tests/test_regex_deprecated_params.py
from fastapi.testclient import TestClient from inline_snapshot import snapshot from .utils import needs_py310 def get_client(): app = FastAPI() with pytest.warns(FastAPIDeprecationWarning): @app.get("/items/") async def read_items( q: Annotated[str | None, Query(regex="^fixedquery$")] = None, ): if q: return f"Hello {q}"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 5.1K bytes - Click Count (0) -
docs/fr/docs/tutorial/response-status-code.md
/// tip | Astuce Pour en savoir plus sur chaque code d'état et à quoi il correspond, consultez la [<abbr title="Mozilla Developer Network - Réseau des développeurs Mozilla">MDN</abbr> documentation sur les codes d'état HTTP](https://developer.mozilla.org/en-US/docs/Web/HTTP/Status). /// ## Raccourci pour se souvenir des noms { #shortcut-to-remember-the-names } Reprenons l'exemple précédent :
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 4.5K bytes - Click Count (0) -
docs/fr/docs/tutorial/cookie-param-models.md
/// note | Remarque Ceci est pris en charge depuis la version `0.115.0` de FastAPI. 🤓 /// /// tip | Astuce Cette même technique s'applique à `Query`, `Cookie` et `Header`. 😎 /// ## Déclarer des cookies avec un modèle Pydantic { #cookies-with-a-pydantic-model }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 3.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy
} def "#member change should not be reported"() { expect: noViolation(rule) where: member << [Mock(JApiMethod), Mock(JApiField), Mock(JApiImplementedInterface), Mock(JApiConstructor)] } def "nothing should be reported if no changes"() { expect: noViolation(rule) }Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 4K bytes - Click Count (0) -
docs/fr/docs/tutorial/header-param-models.md
/// warning | Alertes Avant de définir `convert_underscores` à `False`, gardez à l'esprit que certains proxys et serveurs HTTP interdisent l'utilisation d'en-têtes contenant des underscores. /// ## Résumé { #summary }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:12:41 GMT 2026 - 3K bytes - Click Count (0)