Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 672 for paso (0.01 sec)

  1. docs/en/docs/features.md

    This also means that in many cases you can pass the same object you get from a request **directly to the database**, as everything is validated automatically.
    
    The same applies the other way around, in many cases you can just pass the object you get from the database **directly to the client**.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  2. tests/test_exception_handlers.py

    
    @app.get("/http-exception")
    def route_with_http_exception():
        raise HTTPException(status_code=400)
    
    
    @app.get("/request-validation/{param}/")
    def route_with_request_validation_exception(param: int):
        pass  # pragma: no cover
    
    
    @app.get("/server-error")
    def route_with_server_error():
        raise RuntimeError("Oops!")
    
    
    def test_override_http_exception():
        response = client.get("/http-exception")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 03 22:37:12 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NetworkExplorerTest.java

            };
    
            networkExplorer.init(servletConfig);
    
            // Setup authentication
            NtlmPasswordAuthentication auth = new NtlmPasswordAuthentication(SingletonContext.getInstance(), "DOMAIN", "user", "pass");
            when(session.getAttribute("npa-workgroup")).thenReturn(auth);
            when(request.getPathInfo()).thenReturn("/workgroup/server/share/");
    
            networkExplorer.doGet(request, response);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  4. tests/test_stringified_annotation_dependency.py

        from collections.abc import AsyncGenerator
    
    
    class DummyClient:
        async def get_people(self) -> list:
            return ["John Doe", "Jane Doe"]
    
        async def close(self) -> None:
            pass
    
    
    async def get_client() -> AsyncGenerator[DummyClient, None]:
        client = DummyClient()
        yield client
        await client.close()
    
    
    Client = Annotated[DummyClient, Depends(get_client)]
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. tests/test_route_scope.py

    
    def test_websocket_invalid_path_doesnt_match():
        with pytest.raises(WebSocketDisconnect):
            with client.websocket_connect("/itemsx/portal-gun"):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Sep 29 03:29:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  6. docs/es/docs/advanced/response-change-status-code.md

    Pero en algunos casos necesitas devolver un código de estado diferente al predeterminado.
    
    ## Caso de uso { #use-case }
    
    Por ejemplo, imagina que quieres devolver un código de estado HTTP de "OK" `200` por defecto.
    
    Pero si los datos no existieran, quieres crearlos y devolver un código de estado HTTP de "CREATED" `201`.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. tests/test_additional_responses_custom_validationerror.py

    class JsonApiError(BaseModel):
        errors: list[Error]
    
    
    @app.get(
        "/a/{id}",
        response_class=JsonApiResponse,
        responses={422: {"description": "Error", "model": JsonApiError}},
    )
    async def a(id):
        pass  # pragma: no cover
    
    
    client = TestClient(app)
    
    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. .github/ISSUE_TEMPLATE/flaking-test.yaml

    labels: kind/flake
    body:
      - type: textarea
        id: jobs
        attributes:
          label: Which jobs are flaking?
          description: |
            Please only use this template for submitting reports about flaky tests or jobs (pass or fail with no underlying change in code) in Kubernetes CI.
            Links to go.k8s.io/triage and/or links to specific failures in spyglass are appreciated.
    Registered: Fri Dec 26 09:05:12 UTC 2025
    - Last Modified: Tue Oct 05 16:55:38 UTC 2021
    - 1.4K bytes
    - Viewed (0)
  9. internal/mountinfo/mountinfo.go

    package mountinfo
    
    // mountInfo - This represents a single line in /proc/mounts.
    type mountInfo struct {
    	Device  string
    	Path    string
    	FSType  string
    	Options []string
    	Freq    string
    	Pass    string
    }
    
    func (m mountInfo) String() string {
    	return m.Path
    }
    
    // mountInfos - This represents the entire /proc/mounts.
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Aug 19 01:35:22 UTC 2021
    - 1.1K bytes
    - Viewed (0)
  10. docs/es/docs/advanced/behind-a-proxy.md

    Y también se usa internamente al montar subaplicaciones.
    
    Tener un proxy con un prefijo de path eliminado, en este caso, significa que podrías declarar un path en `/app` en tu código, pero luego añades una capa encima (el proxy) que situaría tu aplicación **FastAPI** bajo un path como `/api/v1`.
    
    En este caso, el path original `/app` realmente sería servido en `/api/v1/app`.
    
    Aunque todo tu código esté escrito asumiendo que solo existe `/app`.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 17.1K bytes
    - Viewed (0)
Back to top