- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 2,499 for no (0.01 sec)
-
docs_src/request_files/tutorial001_02_an_py39.py
async def create_file(file: Annotated[Union[bytes, None], File()] = None): if not file: return {"message": "No file sent"} else: return {"file_size": len(file)} @app.post("/uploadfile/") async def create_upload_file(file: Union[UploadFile, None] = None): if not file: return {"message": "No upload file sent"} else:
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 524 bytes - Viewed (0) -
docs/pt/docs/advanced/async-tests.md
Vamos ver como nós podemos fazer isso funcionar. ## pytest.mark.anyio { #pytest-mark-anyio }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.5K bytes - Viewed (0) -
docs/pt/docs/advanced/custom-response.md
Neste caso, o cabeçalho HTTP `Content-Type` irá ser definido como `application/json`. E será documentado como tal no OpenAPI. /// /// tip | Dica A `ORJSONResponse` está disponível apenas no FastAPI, e não no Starlette. /// ## Resposta HTML { #html-response } Para retornar uma resposta com HTML diretamente do **FastAPI**, utilize `HTMLResponse`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 13.8K bytes - Viewed (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestratorTest.java
assertTrue(result.success(), "Should succeed when no strategies are applicable"); assertEquals(0, result.processedPoms().size(), "Should have no processed POMs"); assertEquals(0, result.modifiedPoms().size(), "Should have no modified POMs"); assertEquals(0, result.errorPoms().size(), "Should have no error POMs"); } @TestRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 12.3K bytes - Viewed (0) -
tests/benchmarks/test_general_performance.py
@app.get("/sync/dict-no-response-model") def sync_dict_no_response_model(): return {"name": "foo", "value": 123} @app.get("/sync/dict-with-response-model", response_model=ItemOut) def sync_dict_with_response_model( dep: Annotated[int, Depends(dep_b)], ): return {"name": "foo", "value": 123, "dep": dep} @app.get("/sync/model-no-response-model")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 20:40:26 UTC 2025 - 11.1K bytes - Viewed (0) -
docs/pt/docs/tutorial/extra-models.md
{* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *} /// info | Informação No Pydantic v1 o método se chamava `.dict()`, ele foi descontinuado (mas ainda é suportado) no Pydantic v2 e renomeado para `.model_dump()`. Os exemplos aqui usam `.dict()` por compatibilidade com o Pydantic v1, mas você deve usar `.model_dump()` se puder usar o Pydantic v2.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java
// Wait for completion assertTrue(endLatch.await(30, TimeUnit.SECONDS), "All threads should complete"); executor.shutdown(); // Then - No unexpected exceptions assertTrue(exceptions.isEmpty(), "No unexpected exceptions should occur"); } /** * Test that CopyOnWriteArrayList prevents ConcurrentModificationException. */ @TestRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RangeMap.java
/** * A mapping from disjoint nonempty ranges to non-null values. Queries look up the value associated * with the range (if any) that contains a specified key. * * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain * Range#isConnected(Range) connected} ranges, even if they are mapped to the same value. * * @author Louis Wasserman * @since 14.0 */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.4K bytes - Viewed (0) -
docs/pt/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md
/// Se você tem uma aplicação FastAPI antiga com Pydantic v1, aqui vou mostrar como migrá-la para o Pydantic v2 e as **novas funcionalidades no FastAPI 0.119.0** para ajudar em uma migração gradual. ## Guia oficial { #official-guide }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 5.8K bytes - Viewed (0) -
docs/pt/docs/tutorial/security/first-steps.md
E sua operação de rota tem um pequeno cadeado no canto superior direito em que você pode clicar. /// E se você clicar, verá um pequeno formulário de autorização para digitar um `username` e um `password` (e outros campos opcionais): <img src="/img/tutorial/security/image02.png"> /// note | Nota Não importa o que você digite no formulário, ainda não vai funcionar. Mas nós vamos chegar lá. ///
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 8.9K bytes - Viewed (0)