Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 550 for dangling (0.07 seconds)

  1. docs/en/docs/tutorial/security/oauth2-jwt.md

    ## Recap { #recap }
    
    With what you have seen up to now, you can set up a secure **FastAPI** application using standards like OAuth2 and JWT.
    
    In almost any framework handling the security becomes a rather complex subject quite quickly.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  2. docs/zh/docs/advanced/advanced-dependencies.md

    ### 后台任务与带 `yield` 的依赖项(技术细节) { #background-tasks-and-dependencies-with-yield-technical-details }
    
    在 FastAPI 0.106.0 之前,`yield` 之后抛出异常是不可行的,因为带 `yield` 的依赖项中的退出代码会在响应发送之后才执行,此时[异常处理器](../tutorial/handling-errors.md#install-custom-exception-handlers)已经运行完毕。
    
    之所以这样设计,主要是为了允许在后台任务中继续使用依赖项通过 `yield`“产出”的对象,因为退出代码会在后台任务完成之后才执行。
    
    在 FastAPI 0.106.0 中,这一行为被修改,目的是避免在等待响应通过网络传输时一直占用资源。
    
    /// tip | 提示
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerThread.java

     *   <li>Extracting child URLs and adding them to the queue using {@link #storeChildUrls(Set, String, int)}
     *       or {@link #storeChildUrl(String, String, float, int)}.</li>
     *   <li>Handling exceptions that may occur during the crawling process.</li>
     * </ol>
     *
     * <p>
     * The thread also manages the active thread count using atomic operations
     * and provides methods for logging messages using {@link LogHelper}.
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Wed Dec 31 09:07:38 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                // Should either throw exception or fail gracefully after wipe
                try {
                    digest.sign(data, 0, data.length, request, response);
                    // If no exception is thrown, accept graceful handling
                    assertTrue(true, "Sign operation after wipe should either throw exception or handle gracefully");
                } catch (RuntimeException e) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 43.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

            assertNotNull(result);
            assertNotNull(thumbnailJob.sessionId);
            assertTrue(result.contains("Session Id: " + thumbnailJob.sessionId));
            // Exception handling may vary, just verify result is not null
        }
    
        // Test executeThumbnailGenerator with process failure
        @Test
        public void test_executeThumbnailGenerator_processFailure() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformationTest.java

            }
    
            // All threads should complete successfully
            for (boolean s : success) {
                assertTrue(s);
            }
        }
    
        @DisplayName("Test exception handling for invalid information levels")
        @ParameterizedTest
        @ValueSource(ints = { 0, 1, 2, 4, 5, 6, 8, 100, -2, -100, Integer.MIN_VALUE, Integer.MAX_VALUE })
        void testInvalidInformationLevels(int invalidLevel) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  7. docs/en/docs/tutorial/first-steps.md

    #### Define a *path operation decorator* { #define-a-path-operation-decorator }
    
    {* ../../docs_src/first_steps/tutorial001_py310.py hl[6] *}
    
    The `@app.get("/")` tells **FastAPI** that the function right below is in charge of handling requests that go to:
    
    * the path `/`
    * using a <dfn title="an HTTP GET method"><code>get</code> operation</dfn>
    
    /// info | `@decorator` Info
    
    That `@something` syntax in Python is called a "decorator".
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 13.4K bytes
    - Click Count (0)
  8. docs/fr/docs/tutorial/dependencies/dependencies-with-yield.md

    {* ../../docs_src/dependencies/tutorial008b_an_py310.py hl[18:22,31] *}
    
    Si vous souhaitez intercepter des exceptions et créer une réponse personnalisée en fonction de cela, créez un [Gestionnaire d'exceptions personnalisé](../handling-errors.md#install-custom-exception-handlers).
    
    ## Utiliser des dépendances avec `yield` et `except` { #dependencies-with-yield-and-except }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 13.9K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

            assertNotNull(result);
            assertSame(messages, result);
            assertTrue(messages.hasMessageOf(property));
        }
    
        // Test null property handling
        @Test
        public void test_addErrorsFrontHeader_nullProperty() {
            try {
                messages.addErrorsFrontHeader(null);
                fail("Should throw exception for null property");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 28.9K bytes
    - Click Count (0)
  10. src/test/java/jcifs/ACETest.java

                assertTrue((noPropagation & ACE.FLAGS_NO_PROPAGATE) != 0, "Should include no propagate flag");
            }
        }
    
        @Nested
        @DisplayName("Interface Edge Case Handling")
        class InterfaceEdgeCaseTests {
    
            @Test
            @DisplayName("Should handle null SID from interface methods")
            void shouldHandleNullSID() {
                ACE ace = mock(ACE.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.4K bytes
    - Click Count (0)
Back to Top