Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for passthrough (0.04 sec)

  1. tests/test_wrapped_method_forward_reference.py

        then the types are still processed correctly, including dereferencing of forward
        references.
        """
        app = FastAPI()
        client = TestClient(app)
        app.post("/endpoint")(passthrough(forwardref_method))
        app.post("/endpoint2")(passthrough(passthrough(forwardref_method)))
        with client:
            response = client.post("/endpoint", json={"input": {"x": 0}})
            response2 = client.post("/endpoint2", json={"input": {"x": 0}})
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:23:14 UTC 2025
    - 997 bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            assertFalse(compressionService.isAlgorithmSupported(CompressionService.COMPRESSION_PATTERN_V1));
        }
    
        @Test
        @DisplayName("Test no compression (passthrough)")
        public void testNoCompression() throws CIFSException {
            byte[] compressed = compressionService.compress(testData, CompressionService.COMPRESSION_NONE);
            assertArrayEquals(testData, compressed);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top