- Sort Score
- Num 10 results
- Language All
Results 2571 - 2580 of 2,914 for math (0.02 seconds)
-
docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
style V2 fill:#f9fff3 style V1 fill:#fff6f0 style V1Field fill:#fff6f0 style V2Field fill:#f9fff3 ``` In some cases, it's even possible to have both Pydantic v1 and v2 models in the same **path operation** in your FastAPI app: {* ../../docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py hl[2:3,6,12,21:22] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 5.4K bytes - Click Count (0) -
docs/pt/docs/fastapi-cli.md
```toml [tool.fastapi] entrypoint = "backend.main:app" ``` o que seria equivalente a: ```python from backend.main import app ``` ### `fastapi dev` com caminho { #fastapi-dev-with-path } Você também pode passar o caminho do arquivo para o comando `fastapi dev`, e ele deduzirá o objeto da aplicação FastAPI a usar: ```console $ fastapi dev main.py ```Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:20:43 GMT 2026 - 6.3K bytes - Click Count (0) -
cmd/metacache-bucket.go
if b == nil { logger.Info("bucketMetacache.findCache: nil cache for bucket %s", o.Bucket) return metacache{} } if o.Bucket != b.bucket { logger.Info("bucketMetacache.findCache: bucket %s does not match this bucket %s", o.Bucket, b.bucket) debug.PrintStack() return metacache{} } // Grab a write lock, since we create one if we cannot find one. b.mu.Lock() defer b.mu.Unlock()Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 6.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/ParameterUtilTest.java
assertTrue(result.contains("secretkey={cipher}")); assertFalse(result.contains("secretkey=unencrypted")); // Test with keys that don't match pattern value = "normalfield=value\npassword=secret"; result = ParameterUtil.encrypt(value); assertTrue("Result should contain normalfield=value, but was: " + result, result.contains("normalfield=value"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Wed Jan 14 14:29:07 GMT 2026 - 22.8K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java
problems.setSource(""); userSettings = interpolate(userSettings, request, problems); // for the special case of a drive-relative Windows path, make sure it's absolute to save plugins from trouble String localRepository = userSettings.getLocalRepository(); if (localRepository != null && !localRepository.isEmpty()) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 9.5K bytes - Click Count (0) -
docs/ko/docs/advanced/response-directly.md
# 응답을 직접 반환하기 { #return-a-response-directly } **FastAPI**에서 *경로 처리(path operation)*를 생성할 때, 일반적으로 `dict`, `list`, Pydantic 모델, 데이터베이스 모델 등의 데이터를 반환할 수 있습니다. [응답 모델](../tutorial/response-model.md)을 선언하면 FastAPI는 Pydantic을 사용해 데이터를 JSON으로 직렬화합니다. 응답 모델을 선언하지 않으면, FastAPI는 [JSON 호환 가능 인코더](../tutorial/encoder.md)에 설명된 `jsonable_encoder`를 사용해 데이터를 변환하고 이를 `JSONResponse`에 넣습니다. 또한 `JSONResponse`를 직접 생성해 반환할 수도 있습니다. /// tip | 팁Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 4.7K bytes - Click Count (0) -
docs/es/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
style V2 fill:#f9fff3 style V1 fill:#fff6f0 style V1Field fill:#fff6f0 style V2Field fill:#f9fff3 ``` En algunos casos, incluso es posible tener modelos de Pydantic v1 y v2 en la misma **path operation** de tu app de FastAPI: {* ../../docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py hl[2:3,6,12,21:22] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:15:55 GMT 2026 - 5.7K bytes - Click Count (0) -
docs/zh/docs/tutorial/stream-json-lines.md
如果你声明了返回类型,FastAPI 会用它来验证数据、在 OpenAPI 中生成文档、进行过滤,并使用 Pydantic 进行序列化。 /// tip | 提示 由于 Pydantic 会在 Rust 侧进行序列化,如果你声明了返回类型,将获得更高的性能。 /// ### 非异步的*路径操作函数* { #non-async-path-operation-functions } 你也可以使用常规的 `def` 函数(不带 `async`),并以同样的方式使用 `yield`。 FastAPI 会确保其正确运行,不会阻塞事件循环。 因为这个函数不是异步的,合适的返回类型是 `Iterable[Item]`:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:29:48 GMT 2026 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/audit/SecurityAuditLoggerTest.java
} @Test @DisplayName("Test log file access") void testLogFileAccess() { logger.logFileAccess("READ", "/path/to/file.txt", true, "testuser"); Map<EventType, Long> stats = logger.getStatistics(); assertEquals(Long.valueOf(1), stats.get(EventType.FILE_ACCESS), "Should have 1 file access event"); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 8.6K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
Severity.ERROR, "pluginGroups.pluginGroup[" + i + "]", null, "must denote a valid group id and match the pattern " + ID); } } } List<Server> servers = settings.getServers(); if (servers != null) { Set<String> serverIds = new HashSet<>();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 10.6K bytes - Click Count (0)