Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 516 for Sait (0.16 sec)

  1. docs/fr/docs/tutorial/background-tasks.md

    **FastAPI** sait quoi faire dans chaque cas et comment réutiliser le même objet, afin que tous les paramètres de type `BackgroundTasks` soient fusionnés et que les tâches soient exécutées en arrière-plan :
    
    ```Python hl_lines="13  15  22  25"
    Plain Text
    - Registered: 2023-10-01 07:19
    - Last Modified: 2022-05-12 00:06
    - 5.7K bytes
    - Viewed (0)
  2. docs/fr/docs/async.md

    Ensuite, il 🤖 prendra la première tâche à finir (disons, notre "fichier-lent" 📝) et continuera à faire avec cette dernière ce qu'il était censé.
    
    Ce "attendre quelque chose d'autre" fait généralement référence à des opérations <abbr title="Input/Output ou Entrées et Sorties ">I/O</abbr> qui sont relativement "lentes" (comparées à la vitesse du processeur et de la mémoire RAM) telles qu'attendre que :
    
    Plain Text
    - Registered: 2023-10-01 07:19
    - Last Modified: 2023-09-27 20:52
    - 24K bytes
    - Viewed (0)
  3. docs/fr/docs/python-types.md

    <img src="/img/python-types/image05.png">
    
    Sans types, c'est presque impossible à réaliser.
    
    Vous remarquerez que la variable `item` n'est qu'un des éléments de la list `items`.
    
    Et pourtant, l'éditeur sait qu'elle est de type `str` et pourra donc vous aider à l'utiliser.
    
    #### `Tuple` et `Set`
    
    C'est le même fonctionnement pour déclarer un `tuple` ou un `set` :
    
    ```Python hl_lines="1  4"
    Plain Text
    - Registered: 2023-10-01 07:19
    - Last Modified: 2023-09-27 20:52
    - 10.3K bytes
    - Viewed (0)
  4. pilot/cmd/pilot-agent/app/wait.go

    	waitCmd.PersistentFlags().IntVar(&timeoutSeconds, "timeoutSeconds", 60, "maximum number of seconds to wait for Envoy to be ready")
    	waitCmd.PersistentFlags().IntVar(&requestTimeoutMillis, "requestTimeoutMillis", 500, "number of milliseconds to wait for response")
    	waitCmd.PersistentFlags().IntVar(&periodMillis, "periodMillis", 500, "number of milliseconds to wait between attempts")
    Go
    - Registered: 2023-07-19 22:53
    - Last Modified: 2023-05-23 17:08
    - 2.5K bytes
    - Viewed (0)
  5. istioctl/pkg/wait/wait.go

    const pollInterval = time.Second
    
    // Cmd represents the wait command
    func Cmd(cliCtx cli.Context) *cobra.Command {
    	namespace := cliCtx.Namespace()
    	var opts clioptions.ControlPlaneOptions
    	cmd := &cobra.Command{
    		Use:   "wait [flags] <type> <name>[.<namespace>]",
    		Short: "Wait for an Istio resource",
    		Long:  `Waits for the specified condition to be true of an Istio resource.`,
    Go
    - Registered: 2023-09-27 22:53
    - Last Modified: 2023-06-25 13:14
    - 9.4K bytes
    - Viewed (0)
  6. operator/pkg/helmreconciler/wait.go

    	"k8s.io/apimachinery/pkg/labels"
    	"k8s.io/apimachinery/pkg/util/wait"
    	"k8s.io/client-go/kubernetes"
    	kctldeployment "k8s.io/kubectl/pkg/util/deployment"
    
    	"istio.io/istio/operator/pkg/name"
    	"istio.io/istio/operator/pkg/object"
    	"istio.io/istio/operator/pkg/util/progress"
    	"istio.io/istio/pkg/kube"
    )
    
    const (
    	// defaultWaitResourceTimeout is the maximum wait time for all resources(namespace/deployment/pod) to be created.
    Go
    - Registered: 2023-09-27 22:53
    - Last Modified: 2023-08-10 15:35
    - 12.7K bytes
    - Viewed (0)
  7. internal/ioutil/wait_pipe.go

    	})
    	return err
    }
    
    // PipeReader is similar to io.PipeReader with wait group
    type PipeReader struct {
    	*io.PipeReader
    	wait func()
    }
    
    // CloseWithError close with supplied error the reader end
    func (r *PipeReader) CloseWithError(err error) error {
    	err = r.PipeReader.CloseWithError(err)
    	r.wait()
    	return err
    }
    
    // WaitPipe implements wait-group backend io.Pipe to provide
    Go
    - Registered: 2023-10-01 19:28
    - Last Modified: 2023-04-27 14:55
    - 1.7K bytes
    - Viewed (0)
  8. istioctl/pkg/wait/wait_test.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package wait
    
    import (
    	"bytes"
    	"context"
    	"encoding/json"
    	"fmt"
    	"strings"
    	"sync"
    	"testing"
    
    	"github.com/spf13/cobra"
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    Go
    - Registered: 2023-09-27 22:53
    - Last Modified: 2023-06-15 15:02
    - 6.2K bytes
    - Viewed (0)
  9. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    ```Python hl_lines="20-37 39-40"
    {!../../../docs_src/path_operation_advanced_configuration/tutorial006.py !}
    ```
    
    Plain Text
    - Registered: 2023-10-01 07:19
    - Last Modified: 2023-09-27 20:52
    - 8K bytes
    - Viewed (0)
  10. cmd/notification.go

    	if g != nil {
    		g.retryCount = retryCount
    	}
    	return g
    }
    
    // Wait blocks until all function calls from the Go method have returned, then
    // returns the slice of errors from all function calls.
    func (g *NotificationGroup) Wait() []NotificationPeerErr {
    	g.wg.Wait()
    	return g.errs
    }
    
    // Go calls the given function in a new goroutine.
    //
    Go
    - Registered: 2023-10-01 19:28
    - Last Modified: 2023-09-30 20:40
    - 42K bytes
    - Viewed (0)
Back to top