Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 4,119 for ioperation (1.36 sec)

  1. platforms/core-runtime/build-profile/src/main/java/org/gradle/profile/Operation.java

            return new Comparator<Operation>() {
                @Override
                public int compare(Operation o1, Operation o2) {
                    long byElapsedTime = o2.getElapsedTime() - o1.getElapsedTime();
                    if (byElapsedTime > 0) {
                        return 1;
                    } else if (byElapsedTime < 0) {
                        return -1;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 12:58:53 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. testing/internal-testing/src/main/groovy/org/gradle/test/fixtures/concurrent/Operations.groovy

     * When a property is accessed, queries an existing operation, asserting that it exists. For example:
     *
     * <pre>
     *  when:
     *  // runs the given closure and defines operation 'doStuff'
     *  operation.doStuff {
     *      // do some test action
     *  }
     *
     *  then:
     *  // query
     *  operation.doStuff.end > operation.doStuff.start
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    Vous devez vous assurer qu'il est unique pour chaque opération.
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial001.py!}
    ```
    
    ### Utilisation du nom *path operation function* comme operationId
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. platforms/core-runtime/build-operations/src/test/groovy/org/gradle/internal/operations/DefaultBuildOperationRunnerTest.groovy

                id1 = operation.id
                assert operation.id != null
                assert operation.parentId == null
                assert operation.toString() == "<thread-1>"
            }
            1 * listener.start(_, _) >> { BuildOperationDescriptor descriptor, BuildOperationState operation ->
                id2 = operation.id
                assert operation.id != null
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:56:07 UTC 2024
    - 29.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/path-operation-configuration.md

    # Path Operation Configuration
    
    There are several parameters that you can pass to your *path operation decorator* to configure it.
    
    !!! warning
        Notice that these parameters are passed directly to the *path operation decorator*, not to your *path operation function*.
    
    ## Response Status Code
    
    You can define the (HTTP) `status_code` to be used in the response of your *path operation*.
    
    You can pass directly the `int` code, like `404`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. docs/ja/docs/tutorial/path-operation-configuration.md

    # Path Operationの設定
    
    *path operationデコレータ*を設定するためのパラメータがいくつかあります。
    
    !!! warning "注意"
        これらのパラメータは*path operation関数*ではなく、*path operationデコレータ*に直接渡されることに注意してください。
    
    ## レスポンスステータスコード
    
    *path operation*のレスポンスで使用する(HTTP)`status_code`を定義することができます。
    
    `404`のように`int`のコードを直接渡すことができます。
    
    しかし、それぞれの番号コードが何のためのものか覚えていない場合は、`status`のショートカット定数を使用することができます:
    
    ```Python hl_lines="3  17"
    {!../../../docs_src/path_operation_configuration/tutorial001.py!}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 04:38:26 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    In some cases you don't really need the return value of a dependency inside your *path operation function*.
    
    Or the dependency doesn't return a value.
    
    But you still need it to be executed/solved.
    
    For those cases, instead of declaring a *path operation function* parameter with `Depends`, you can add a `list` of `dependencies` to the *path operation decorator*.
    
    ## Add `dependencies` to the *path operation decorator*
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ## OpenAPI Extra
    
    When you declare a *path operation* in your application, **FastAPI** automatically generates the relevant metadata about that *path operation* to be included in the OpenAPI schema.
    
    !!! note "Technical details"
        In the OpenAPI specification it is called the <a href="https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#operation-object" class="external-link" target="_blank">Operation Object</a>.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  9. platforms/ide/tooling-api/toolingApi-operation.puml

    @startuml
    actor User
    User -> ProjectConnection: request operation
     note right
     operation is one of: build / action / model
     end note
    ProjectConnection -> LongRunningOperation: create instance of
    LongRunningOperation --> User: instance
    User -> LongRunningOperation: withArguments
    LongRunningOperation -> OperationParamsBuilder: withArguments
    User -> LongRunningOperation: set stdOut/stdErr/stdIn
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  10. docs/ja/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    # path operationデコレータの依存関係
    
    場合によっては*path operation関数*の中で依存関係の戻り値を本当に必要としないこともあります。
    
    もしくは、依存関係が値を返さない場合もあります。
    
    しかし、それでも実行・解決する必要があります。
    
    このような場合、*path operation関数*のパラメータを`Depends`で宣言する代わりに、*path operation decorator*に`dependencies`の`list`を追加することができます。
    
    ##  *path operationデコレータ*への`dependencies`の追加
    
    *path operationデコレータ*はオプショナルの引数`dependencies`を受け取ります。
    
    それは`Depends()`の`list`であるべきです:
    
    ```Python hl_lines="17"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon Jan 15 16:44:28 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top