- Sort Score
- Result 10 results
- Languages All
Results 2011 - 2020 of 4,515 for fromP2 (0.08 sec)
-
docs_src/dependencies/tutorial008e_py39.py
from fastapi import Depends, FastAPI app = FastAPI() def get_username(): try: yield "Rick" finally: print("Cleanup up before response is sent") @app.get("/users/me") def get_user_me(username: str = Depends(get_username, scope="function")):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 289 bytes - Viewed (0) -
docs/pt/docs/tutorial/handling-errors.md
```JSON {"message": "Oops! yolo did something. There goes a rainbow..."} ``` /// note | Detalhes Técnicos Você também pode usar `from starlette.requests import Request` e `from starlette.responses import JSONResponse`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 10.2K bytes - Viewed (0) -
docs/en/docs/tutorial/dependencies/index.md
/// tip You'll see what other "things", apart from functions, can be used as dependencies in the next chapter. /// Whenever a new request arrives, **FastAPI** will take care of: * Calling your dependency ("dependable") function with the correct parameters. * Get the result from your function. * Assign that result to the parameter in your *path operation function*. ```mermaid
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 9.6K bytes - Viewed (0) -
docs/es/docs/tutorial/handling-errors.md
```JSON {"message": "Oops! yolo did something. There goes a rainbow..."} ``` /// note | Nota Técnica También podrías usar `from starlette.requests import Request` y `from starlette.responses import JSONResponse`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 9.7K bytes - Viewed (0) -
docs/zh/docs/deployment/server-workers.md
<span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span> Starting production server 🚀 Searching for package file structure from directories with <font color="#3465A4">__init__.py</font> files Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Mar 31 08:13:15 UTC 2025 - 8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java
import jcifs.internal.util.SMBUtil; import jcifs.smb.FileEntry; import jcifs.util.Hexdump; /** * SMB1 NetServerEnum2 transaction response implementation. * Handles responses from network server enumeration operations, parsing server * information returned by the NetServerEnum2 transaction in SMB1 protocol. * * @author mbechler * */
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6K bytes - Viewed (0) -
docs/es/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *} Ese código de estado se usará en el response y se añadirá al esquema de OpenAPI. /// note | Detalles Técnicos También podrías usar `from starlette import status`. **FastAPI** ofrece el mismo `starlette.status` como `fastapi.status` solo por conveniencia para ti, el desarrollador. Pero viene directamente de Starlette. /// ## Tags { #tags }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.3K bytes - Viewed (0) -
docs/pt/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial001_py310.py hl[1,15] *} Esse código de status será usado na resposta e será adicionado ao esquema OpenAPI. /// note | Detalhes Técnicos Você também poderia usar `from starlette import status`. **FastAPI** fornece o mesmo `starlette.status` como `fastapi.status` apenas como uma conveniência para você, o desenvolvedor. Mas vem diretamente do Starlette. /// ## Tags { #tags }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 4.4K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Primitives.java
@GwtCompatible public final class Primitives { private Primitives() {} /** A map from primitive types to their corresponding wrapper types. */ // It's a constant, and we can't use ImmutableMap here without creating a circular dependency. @SuppressWarnings("ConstantCaseForConstants") private static final Map<Class<?>, Class<?>> PRIMITIVE_TO_WRAPPER_TYPE; /** A map from wrapper types to their corresponding primitive types. */Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Dec 28 01:26:26 UTC 2024 - 4.8K bytes - Viewed (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial002.py
import importlib import pytest from fastapi.testclient import TestClient from ...utils import needs_py310 @pytest.fixture( name="client", params=[ pytest.param("tutorial002_py39"), pytest.param("tutorial002_py310", marks=needs_py310), ], ) def get_client(request: pytest.FixtureRequest): mod = importlib.import_module(f"docs_src.body_multiple_params.{request.param}")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 11K bytes - Viewed (0)