Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 601 - 610 of 1,164 for ToOperation (0.1 seconds)

  1. docs/ja/docs/advanced/response-change-status-code.md

    しかし、データが存在しなければそれを作成し、HTTP ステータスコード "CREATED" `201` を返したい。
    
    それでも、返すデータは `response_model` でフィルタ・変換できるようにしておきたい。
    
    そのような場合は `Response` パラメータを使えます。
    
    ## `Response` パラメータを使う { #use-a-response-parameter }
    
    *path operation* 関数で `Response` 型のパラメータを宣言できます(Cookie やヘッダーと同様です)。
    
    そして、その*一時的な*レスポンスオブジェクトに `status_code` を設定できます。
    
    {* ../../docs_src/response_change_status_code/tutorial001_py310.py hl[1,9,12] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/ListeningExecutorService.java

       * </pre>
       *
       * @return a list of {@code ListenableFuture} instances representing the tasks, in the same
       *     sequential order as produced by the iterator for the given task list. If the operation did
       *     not time out, each task will have completed. If it did time out, some of these tasks will
       *     not have completed.
       * @throws RejectedExecutionException {@inheritDoc}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 4.2K bytes
    - Click Count (0)
  3. docs/en/docs/how-to/extending-openapi.md

    The normal (default) process, is as follows.
    
    A `FastAPI` application (instance) has an `.openapi()` method that is expected to return the OpenAPI schema.
    
    As part of the application object creation, a *path operation* for `/openapi.json` (or for whatever you set your `openapi_url`) is registered.
    
    It just returns a JSON response with the result of the application's `.openapi()` method.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. internal/disk/stat_windows.go

    	return info, nil
    }
    
    // GetDriveStats returns IO stats of the drive by its major:minor
    func GetDriveStats(major, minor uint32) (iostats IOStats, err error) {
    	return IOStats{}, errors.New("operation unsupported")
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java

            }
        }
    
        @Nested
        @DisplayName("WriteBytesWireFormat Tests")
        class WriteBytesWireFormatTests {
    
            @Test
            @DisplayName("Should always return 0 for write operation")
            void testWriteBytesWireFormat() {
                byte[] buffer = new byte[64];
                int result = notification.writeBytesWireFormat(buffer, 0);
                assertEquals(0, result);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  6. docs/zh-hant/docs/advanced/openapi-callbacks.md

    # OpenAPI 回呼 { #openapi-callbacks }
    
    你可以建立一個含有「路徑操作(path operation)」的 API,該操作會觸發對某個「外部 API(external API)」的請求(通常由使用你 API 的同一位開發者提供)。
    
    當你的 API 應用呼叫「外部 API」時發生的過程稱為「回呼(callback)」。因為外部開發者撰寫的軟體會先向你的 API 發出請求,接著你的 API 再「回呼」,也就是向(可能同一位開發者建立的)外部 API 發送請求。
    
    在這種情況下,你可能想要文件化說明該外部 API 應該長什麼樣子。它應該有哪些「路徑操作」、應該接受什麼 body、應該回傳什麼 response,等等。
    
    ## 帶有回呼的應用 { #an-app-with-callbacks }
    
    我們用一個例子來看。
    
    想像你開發了一個允許建立發票的應用。
    
    這些發票會有 `id`、`title`(可選)、`customer` 和 `total`。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  7. docs/ja/docs/tutorial/testing.md

    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    │   └── test_main.py
    ```
    
    ここで、**FastAPI** アプリがある `main.py` ファイルには、他の path operation があります。
    
    エラーを返す可能性のある `GET` オペレーションがあります。
    
    いくつかのエラーを返す可能性のある `POST` オペレーションもあります。
    
    両方の *path operation* には `X-Token` ヘッダーが必要です。
    
    {* ../../docs_src/app_testing/app_b_an_py310/main.py *}
    
    ### 拡張版テストファイル { #extended-testing-file }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

        }
    
        /**
         * Performs a reindex operation with custom source configuration.
         *
         * @param fromIndex        the source index name
         * @param toIndex          the destination index name
         * @param source           the reindex configuration JSON
         * @param waitForCompletion whether to wait for the operation to complete
         * @return true if the reindex operation was successful, false otherwise
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 138.6K bytes
    - Click Count (1)
  9. src/test/java/org/codelibs/fess/auth/chain/AuthenticationChainTest.java

    import org.codelibs.fess.unit.UnitFessTestCase;
    import org.junit.jupiter.api.Test;
    
    public class AuthenticationChainTest extends UnitFessTestCase {
    
        // Test basic update operation
        @Test
        public void test_update_normalUser() {
            TestAuthenticationChain chain = new TestAuthenticationChain();
            User user = createTestUser("testuser", "Test User");
    
            chain.update(user);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 14.8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/PingSearchEngineJobTest.java

        @Override
        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            pingSearchEngineJob = new PingSearchEngineJob();
        }
    
        // Test normal operation with GREEN status and state change
        @Test
        public void test_execute_greenStatusNoChange() {
            // Setup mock components
            SearchEngineClient searchEngineClient = new SearchEngineClient() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.9K bytes
    - Click Count (0)
Back to Top