Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 867 for Iteration (0.66 sec)

  1. docs/ja/docs/advanced/additional-status-codes.md

    # 追加のステータスコード
    
    デフォルトでは、 **FastAPI** は `JSONResponse` を使ってレスポンスを返します。その `JSONResponse` の中には、 *path operation* が返した内容が入ります。
    
    それは、デフォルトのステータスコードか、 *path operation* でセットしたものを利用します。
    
    ## 追加のステータスコード
    
    メインのステータスコードとは別に、他のステータスコードを返したい場合は、`Response` (`JSONResponse` など) に追加のステータスコードを設定して直接返します。
    
    例えば、itemを更新し、成功した場合は200 "OK"のHTTPステータスコードを返す *path operation* を作りたいとします。
    
    しかし、新しいitemも許可したいです。itemが存在しない場合は、それらを作成して201 "Created"を返します。
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/templates.md

    So, the section with:
    
    {% raw %}
    
    ```jinja
    <a href="{{ url_for('read_item', id=id) }}">
    ```
    
    {% endraw %}
    
    ...will generate a link to the same URL that would be handled by the *path operation function* `read_item(id=id)`.
    
    For example, with an ID of `42`, this would render:
    
    ```html
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

    If you click the lock icon and logout, and then try the same operation again, you will get an HTTP 401 error of:
    
    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    ### Inactive user { #inactive-user }
    
    Now try with an inactive user, authenticate with:
    
    User: `alice`
    
    Password: `secret2`
    
    And try to use the operation `GET` with the path `/users/me`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. docs/uk/docs/tutorial/first-steps.md

    "Шлях" (path) також зазвичай називають "ендпоінтом" (endpoint) або "маршрутом" (route).
    
    ///
    
    При створенні API, "шлях" є основним способом розділення "завдань" і "ресурсів".
    #### Operation
    
    "Операція" (operation) тут означає один з "методів" HTTP.
    
    Один з:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...та більш екзотичних:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/DcerpcSecurityProvider.java

         * @throws DcerpcException if the wrapping operation fails
         */
        void wrap(NdrBuffer outgoing) throws DcerpcException;
    
        /**
         * Unwraps incoming DCERPC message data after security processing
         * @param incoming the buffer containing data to be unwrapped
         * @throws DcerpcException if the unwrapping operation fails
         */
        void unwrap(NdrBuffer incoming) throws DcerpcException;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/MsrpcQueryInformationPolicy.java

     */
    
    package jcifs.dcerpc.msrpc;
    
    import jcifs.dcerpc.ndr.NdrObject;
    
    /**
     * MS-RPC query information policy operation.
     *
     * This class implements the LSARPC QueryInformationPolicy operation
     * for retrieving policy information from the Local Security Authority (LSA).
     */
    public class MsrpcQueryInformationPolicy extends lsarpc.LsarQueryInformationPolicy {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrOpenDomain.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.dcerpc.rpc;
    
    /**
     * MS-RPC SAMR open domain operation.
     *
     * This class implements the SAMR OpenDomain operation for obtaining
     * a handle to a specific domain in the Security Account Manager.
     */
    public class MsrpcSamrOpenDomain extends samr.SamrOpenDomain {
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/response-model.md

    /// note | 備考
    
    `response_model`は「デコレータ」メソッド(`get`、`post`など)のパラメータであることに注意してください。すべてのパラメータやボディのように、*path operation関数* のパラメータではありません。
    
    ///
    
    Pydanticモデルの属性に対して宣言するのと同じ型を受け取るので、Pydanticモデルになることもできますが、例えば、`List[Item]`のようなPydanticモデルの`list`になることもできます。
    
    FastAPIは`response_model`を使って以下のことをします:
    
    * 出力データを型宣言に変換します。
    * データを検証します。
    * OpenAPIの *path operation* で、レスポンス用のJSON Schemaを追加します。
    * 自動ドキュメントシステムで使用されます。
    
    しかし、最も重要なのは:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 9K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/request-files.md

    * `close()`: Closes the file.
    
    As all these methods are `async` methods, you need to "await" them.
    
    For example, inside of an `async` *path operation function* you can get the contents with:
    
    ```Python
    contents = await myfile.read()
    ```
    
    If you are inside of a normal `def` *path operation function*, you can access the `UploadFile.file` directly, for example:
    
    ```Python
    contents = myfile.file.read()
    ```
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

        /**
         * Function code to transceive data on a named pipe
         */
        public static final int FSCTL_PIPE_TRANSCEIVE = 0x0011C017;
        /**
         * Function code for server-side copy chunk operation
         */
        public static final int FSCTL_SRV_COPYCHUNK = 0x001440F2;
        /**
         * Function code to enumerate volume shadow copy snapshots
         */
        public static final int FSCTL_SRV_ENUMERATE_SNAPSHOTS = 0x00144064;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top