Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 1,164 for ToOperation (0.05 seconds)

  1. docs/zh-hant/docs/tutorial/first-steps.md

    ### 第三步:建立一個「路徑操作」 { #step-3-create-a-path-operation }
    
    #### 路徑 { #path }
    
    這裡的「路徑」指的是 URL 中自第一個 `/` 以後的部分。
    
    例如,在 URL 中:
    
    ```
    https://example.com/items/foo
    ```
    
    ……的路徑將會是:
    
    ```
    /items/foo
    ```
    
    /// info
    
    「路徑」也常被稱為「端點 endpoint」或「路由 route」。
    
    ///
    
    在建置 API 時,「路徑」是分離「關注點」和「資源」的主要方式。
    
    #### 操作 { #operation }
    
    這裡的「操作」指的是 HTTP 的「方法」之一。
    
    其中包括:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  2. docs/tr/docs/advanced/response-directly.md

    # Doğrudan Bir Response Döndürme { #return-a-response-directly }
    
    **FastAPI** ile bir *path operation* oluşturduğunuzda, normalde ondan herhangi bir veri döndürebilirsiniz: bir `dict`, bir `list`, bir Pydantic model, bir veritabanı modeli vb.
    
    Bir [Response Model](../tutorial/response-model.md) deklare ederseniz, FastAPI veriyi Pydantic kullanarak JSON'a serialize etmek için bunu kullanır.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. src/test/java/jcifs/SmbWatchHandleTest.java

            CIFSException expectedException = new CIFSException("Watch operation failed");
            when(watchHandle.watch()).thenThrow(expectedException);
    
            // Execute and verify
            CIFSException thrown = assertThrows(CIFSException.class, () -> {
                watchHandle.watch();
            });
    
            assertEquals("Watch operation failed", thrown.getMessage());
            verify(watchHandle, times(1)).watch();
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.2K bytes
    - Click Count (1)
  4. docs/ja/docs/advanced/additional-responses.md

    それらの追加レスポンスは OpenAPI スキーマに含まれ、API ドキュメントにも表示されます。
    
    ただし、それらの追加レスポンスについては、ステータスコードとコンテンツを指定して `JSONResponse` などの `Response` を直接返す必要があります。
    
    ## `model` を使った追加レスポンス { #additional-response-with-model }
    
    *path operation デコレータ*に `responses` パラメータを渡せます。
    
    これは `dict` を受け取り、キーは各レスポンスのステータスコード(例: `200`)、値は各レスポンスの情報を含む別の `dict` です。
    
    それぞれのレスポンス `dict` には、`response_model` と同様に Pydantic モデルを格納する `model` キーを含められます。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 10K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableMultiset.java

        return count(object) > 0;
      }
    
      /**
       * Guaranteed to throw an exception and leave the collection unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      public final int add(E element, int occurrences) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/ImmutableMultimap.java

      }
    
      // mutators (not supported)
    
      /**
       * Guaranteed to throw an exception and leave the multimap unmodified.
       *
       * @throws UnsupportedOperationException always
       * @deprecated Unsupported operation.
       */
      @CanIgnoreReturnValue
      @Deprecated
      @Override
      @DoNotCall("Always throws UnsupportedOperationException")
      // DoNotCall wants this to be final, but we want to override it to return more specific types.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 28.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/pac/PacMac.java

         * Calculates a MAC using the ARCFOUR-HMAC-MD5 algorithm.
         * This method implements the Microsoft variant of the Kerberos ARCFOUR-HMAC-MD5 checksum.
         *
         * @param keyusage the Kerberos key usage number for this operation
         * @param key the encryption key to use for MAC calculation
         * @param data the data to calculate the MAC for
         * @return the calculated MAC bytes
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 9K bytes
    - Click Count (0)
  8. internal/grid/msg.go

    import (
    	"encoding/binary"
    	"fmt"
    	"strings"
    	"time"
    
    	"github.com/tinylib/msgp/msgp"
    	"github.com/zeebo/xxh3"
    )
    
    // Op is operation type.
    //
    //go:generate msgp -unexported -file=$GOFILE
    //go:generate stringer -type=Op -output=msg_string.go -trimprefix=Op $GOFILE
    
    // Op is operation type messages.
    type Op uint8
    
    // HandlerID is the ID for the handler of a specific type.
    type HandlerID uint8
    
    const (
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jul 25 21:07:21 GMT 2024
    - 7.6K bytes
    - Click Count (0)
  9. docs/en/docs/reference/background.md

    # Background Tasks - `BackgroundTasks`
    
    You can declare a parameter in a *path operation function* or dependency function with the type `BackgroundTasks`, and then you can use it to schedule the execution of background tasks after the response is sent.
    
    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import BackgroundTasks
    ```
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 377 bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

    /**
     * SMB1 transaction subcommand for transacting with a named pipe.
     *
     * This class implements the TRANS_TRANSACT_NAMED_PIPE transaction which
     * combines writing data to a pipe and reading the response in a single operation.
     * This is more efficient than separate write and read operations.
     */
    public class TransTransactNamedPipe extends SmbComTransaction {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.7K bytes
    - Click Count (0)
Back to Top