Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,633 for ioperation (0.4 sec)

  1. 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)
  2. pkg/apis/core/toleration.go

    package core
    
    // MatchToleration checks if the toleration matches tolerationToMatch. Tolerations are unique by <key,effect,operator,value>,
    // if the two tolerations have same <key,effect,operator,value> combination, regard as they match.
    // TODO: uniqueness check for tolerations in api validations.
    func (t *Toleration) MatchToleration(tolerationToMatch *Toleration) bool {
    	return t.Key == tolerationToMatch.Key &&
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 09 11:14:07 UTC 2017
    - 1.2K bytes
    - Viewed (0)
  3. pkg/util/goroutinemap/goroutinemap_test.go

    	operation1DoneCh := make(chan interface{}, 0 /* bufferSize */)
    	operation1 := generateWaitFunc(operation1DoneCh)
    	err1 := grm.Run(operationName, operation1)
    	if err1 != nil {
    		t.Fatalf("NewGoRoutine failed. Expected: <no error> Actual: <%v>", err1)
    	}
    	operation2 := generateNoopFunc()
    	operation3 := generateNoopFunc()
    
    	// Act
    	err2 := grm.Run(operationName, operation2)
    
    	// Assert
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 11 14:09:48 UTC 2017
    - 14.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/core/v1/toleration.go

    }
    
    // ToleratesTaint checks if the toleration tolerates the taint.
    // The matching follows the rules below:
    //
    //  1. Empty toleration.effect means to match all taint effects,
    //     otherwise taint effect must equal to toleration.effect.
    //  2. If toleration.operator is 'Exists', it means to match all taint values.
    //  3. Empty toleration.key means to match all taint keys.
    //     If toleration.key is empty, toleration.operator must be 'Exists';
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. subprojects/core/src/test/groovy/org/gradle/internal/work/DefaultAsyncWorkTrackerTest.groovy

            def operation1 = Mock(BuildOperationRef)
    
            when:
            asyncWorkTracker.registerWork(operation1, completedWorkCompletion())
            asyncWorkTracker.registerWork(operation1, completedWorkCompletion())
            asyncWorkTracker.registerWork(operation1, completedWorkCompletion())
            asyncWorkTracker.waitForCompletion(operation1, RELEASE_AND_REACQUIRE_PROJECT_LOCKS)
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 06 04:53:10 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  10. docs/ko/docs/tutorial/path-operation-configuration.md

    <img src="/img/tutorial/path-operation-configuration/image03.png">
    
    ## 단일 *경로 작동* 지원중단
    
    단일 *경로 작동*을 없애지 않고 <abbr title="구식, 사용하지 않는것이 권장됨">지원중단</abbr>을 해야한다면, `deprecated` 매개변수를 전달하면 됩니다.
    
    ```Python hl_lines="16"
    {!../../../docs_src/path_operation_configuration/tutorial006.py!}
    ```
    
    대화형 문서에 지원중단이라고 표시됩니다.
    
    <img src="/img/tutorial/path-operation-configuration/image04.png">
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 11 13:48:31 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top