Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 128 for Endpoint (0.07 seconds)

  1. tests/test_pydantic_v1_error.py

            @app.post("/param")
            def endpoint(data: ParamModelV1):  # pragma: no cover
                return data
    
    
    def test_raises_pydantic_v1_model_in_return_type() -> None:
        class ReturnModelV1(BaseModel):
            name: str
    
        app = FastAPI()
    
        with pytest.raises(PydanticV1NotSupportedError):
    
            @app.get("/return")
            def endpoint() -> ReturnModelV1:  # pragma: no cover
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  2. tests/test_response_dependency.py

        modifications to it in the endpoint should be preserved.
        """
        app = FastAPI()
    
        def default_response() -> Response:
            response = JSONResponse(content={"status": "ok"})
            response.headers["X-Custom"] = "initial"
            return response
    
        @app.get("/")
        def endpoint(response: Annotated[Response, Depends(default_response)]):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 05 18:23:16 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/graph/MutableNetwork.java

       * also be non-null.
       *
       * <p>If either or both endpoints are not already present in this graph, this method will silently
       * {@link #addNode(Object) add} each missing endpoint to the graph.
       *
       * <p>If {@code edge} already connects an endpoint pair equal to {@code endpoints}, then this
       * method will have no effect.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/HashBiMap.java

        nextInBucketKToV = createFilledWithAbsent(expectedSize);
        nextInBucketVToK = createFilledWithAbsent(expectedSize);
    
        firstInInsertionOrder = ENDPOINT;
        lastInInsertionOrder = ENDPOINT;
    
        prevInInsertionOrder = createFilledWithAbsent(expectedSize);
        nextInInsertionOrder = createFilledWithAbsent(expectedSize);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 37K bytes
    - Click Count (0)
  5. tests/test_stream_cancellation.py

        # cancel_scope.cancelled_caught is True when move_on_after fired.
        return cancel_scope.cancelled_caught or len(chunks) > 0
    
    
    async def test_raw_stream_cancellation() -> None:
        """Raw streaming endpoint should be cancellable within a reasonable time."""
        cancelled = await _run_asgi_and_cancel(app, "/stream-raw", timeout=3.0)
        # The key assertion: we reached this line at all (didn't hang).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 27 18:56:47 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/ImmutableNetwork.java

         * must also be non-null.
         *
         * <p>If either or both endpoints are not already present in this network, this method will
         * silently {@link #addNode(Object) add} each missing endpoint to the network.
         *
         * <p>If {@code edge} already connects an endpoint pair equal to {@code endpoints}, then this
         * method will have no effect.
         *
         * @return this {@code Builder} object
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 9.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/graph/ImmutableValueGraph.java

         *
         * <p>If either or both endpoints are not already present in this graph, this method will
         * silently {@link #addNode(Object) add} each missing endpoint to the graph.
         *
         * @return this {@code Builder} object
         * @throws IllegalArgumentException if the introduction of the edge would violate {@link
         *     #allowsSelfLoops()}
         * @throws IllegalArgumentException if the endpoints are unordered and the graph is directed
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/sso/saml/SamlAuthenticatorTest.java

                buildDefaultUrlMethod.setAccessible(true);
    
                // Test metadata endpoint
                String metadataUrl = (String) buildDefaultUrlMethod.invoke(authenticator, "/sso/metadata");
                assertEquals("https://fess.example.com/sso/metadata", metadataUrl);
    
                // Test ACS endpoint
                String acsUrl = (String) buildDefaultUrlMethod.invoke(authenticator, "/sso/");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 18.4K bytes
    - Click Count (0)
  9. fastapi/routing.py

        def __init__(
            self,
            path: str,
            endpoint: Callable[..., Any],
            *,
            name: str | None = None,
            dependencies: Sequence[params.Depends] | None = None,
            dependency_overrides_provider: Any | None = None,
        ) -> None:
            self.path = path
            self.endpoint = endpoint
            self.name = get_name(endpoint) if name is None else name
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
  10. CLAUDE.md

    ### Cloud Storage Clients
    
    - **S3Client**: AWS SDK v2, `s3://bucket/path`, properties: `endpoint`, `accessKey`, `secretKey`, `region`
    - **GcsClient**: Google Cloud SDK, `gcs://bucket/path`, properties: `projectId`, `credentialsFile`, `endpoint`
    - **StorageClient**: MinIO SDK, `storage://bucket/path`
    
    ### Services
    
    - **UrlQueueService**: URL queue management (FIFO), duplicate detection
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Mar 12 03:39:20 GMT 2026
    - 8.1K bytes
    - Click Count (0)
Back to Top