Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 752 for ToOperation (1.12 sec)

  1. docs/ja/docs/advanced/response-directly.md

    # レスポンスを直接返す
    
    **FastAPI** の *path operation* では、通常は任意のデータを返すことができます: 例えば、 `dict`、`list`、Pydanticモデル、データベースモデルなどです。
    
    デフォルトでは、**FastAPI** は [JSON互換エンコーダ](../tutorial/encoder.md){.internal-link target=_blank} で説明されている `jsonable_encoder` により、返す値を自動的にJSONに変換します。
    
    このとき背後では、JSON互換なデータ (例えば`dict`) を、クライアントへ送信されるレスポンスとして利用される `JSONResponse` の中に含めます。
    
    しかし、*path operation* から `JSONResponse` を直接返すこともできます。
    
    これは例えば、カスタムヘッダーやcookieを返すときに便利です。
    
    ## `Response` を返す
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/CrudMode.java

     * either express or implied. See the License for the specific language
     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.app.web;
    
    /**
     * Constants for CRUD operation modes.
     */
    public class CrudMode {
        /**
         * Mode for listing records.
         */
        public static final int LIST = 0;
    
        /**
         * Mode for creating a new record.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/multichannel/LoadBalancingStrategy.java

         */
        WEIGHTED_RANDOM,
    
        /**
         * Affinity-based selection for related operations
         */
        AFFINITY_BASED,
    
        /**
         * Adaptive selection based on operation type and performance
         */
        ADAPTIVE
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 11:13:46 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/app/web/api/admin/dict/BaseSearchDictBody.java

     * Extends BaseSearchBody with dictionary-specific parameters.
     */
    public class BaseSearchDictBody extends BaseSearchBody {
        /** The dictionary ID for the search operation. */
        @Required
        public String dictId;
    
        /**
         * Default constructor for BaseSearchDictBody.
         */
        public BaseSearchDictBody() {
            super();
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/Kerb5AuthenticatorTest.java

        void createContext_rejectsShortNetbiosHost() {
            Kerb5Authenticator auth = new Kerb5Authenticator((Subject) null);
    
            // Using an uppercase short name (no dot) must throw an unsupported operation
            SmbUnsupportedOperationException ex =
                    assertThrows(SmbUnsupportedOperationException.class, () -> auth.createContext(tc, null, "SERVER", new byte[0], false));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                        long threadStart = System.nanoTime();
                        for (int i = 0; i < operationsPerThread; i++) {
                            // Simulate the atomic byte tracking operation
                            long start = System.nanoTime();
                            mockBytesEncrypted.addAndGet(1024); // Simulate 1KB message
                            long end = System.nanoTime();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. docs/ja/docs/tutorial/dependencies/classes-as-dependencies.md

    FastAPIが実際にチェックしているのは、それが「呼び出し可能」(関数、クラス、その他なんでも)であり、パラメータが定義されているかどうかということです。
    
    **FastAPI** の依存関係として「呼び出し可能なもの」を渡すと、その「呼び出し可能なもの」のパラメータを解析し、サブ依存関係も含めて、*path operation関数*のパラメータと同じように処理します。
    
    それは、パラメータが全くない呼び出し可能なものにも適用されます。パラメータのない*path operation関数*と同じように。
    
    そこで、上で紹介した依存関係の`common_parameters`を`CommonQueryParams`クラスに変更します:
    
    {* ../../docs_src/dependencies/tutorial002.py hl[11,12,13,14,15] *}
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 7K bytes
    - Viewed (0)
  8. cmd/bucket-handlers.go

    	writeSuccessResponseXML(w, encodedSuccessResponse)
    }
    
    // HeadBucketHandler - HEAD Bucket
    // ----------
    // This operation is useful to determine if a bucket exists.
    // The operation returns a 200 OK if the bucket exists and you
    // have permission to access it. Otherwise, the operation might
    // return responses such as 404 Not Found and 403 Forbidden.
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/schema-extra-example.md

    This **OpenAPI-specific** `examples` goes in another section in the OpenAPI specification. It goes in the **details for each *path operation***, not inside each JSON Schema.
    
    And Swagger UI has supported this particular `examples` field for a while. So, you can use it to **show** different **examples in the docs UI**.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrCloseHandle.java

     */
    package jcifs.dcerpc.msrpc;
    
    import jcifs.dcerpc.rpc.policy_handle;
    
    /**
     * Microsoft RPC SAM close handle request.
     * This class implements the SAMR close handle operation.
     *
     * @author mbechler
     */
    public class MsrpcSamrCloseHandle extends samr.SamrCloseHandle {
    
        /**
         * Creates a new request to close a SAM handle.
         *
         * @param handle the policy handle to close
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top