Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 26 for pastie (0.23 sec)

  1. docs/fr/docs/tutorial/path-params.md

    ```
    /files/{file_path:path}
    ```
    
    Dans ce cas, le nom du paramètre est `file_path`, et la dernière partie, `:path`, indique à Starlette que le paramètre devrait correspondre à un *chemin*.
    
    Vous pouvez donc l'utilisez comme tel :
    
    ```Python hl_lines="6"
    {!../../../docs_src/path_params/tutorial004.py!}
    ```
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 10K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    	if err := checkNewMultipartArgs(ctx, srcBucket, srcObject); err != nil {
    		return PartInfo{}, err
    	}
    
    	return z.PutObjectPart(ctx, destBucket, destObject, uploadID, partID,
    		srcInfo.PutObjReader, dstOpts)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/podcgroupns.go

    }
    
    func GetFd(f fs.File) (uintptr, error) {
    	if fdable, ok := f.(interface{ Fd() uintptr }); ok {
    		return fdable.Fd(), nil
    	}
    
    	return 0, fmt.Errorf("unable to get fd")
    }
    
    /// mostly copy pasted from spire below:
    
    // regexes listed here have to exclusively match a cgroup path
    // the regexes must include two named groups "poduid" and "containerid"
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 21:47:31 GMT 2024
    - 11K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/settings.md

        ```Python hl_lines="2  5-8  11"
        {!> ../../../docs_src/settings/tutorial001_pv1.py!}
        ```
    
    !!! tip
        If you want something quick to copy and paste, don't use this example, use the last one below.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 15.7K bytes
    - Viewed (0)
  5. docs/en/docs/help-fastapi.md

    * You can ask them to provide a <a href="https://stackoverflow.com/help/minimal-reproducible-example" class="external-link" target="_blank">minimal, reproducible, example</a>, that you can **copy-paste** and run locally to see the same error or behavior they are seeing, or to understand their use case better.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  6. cmd/utils.go

    func isMinAllowedPartSize(size int64) bool {
    	return size >= globalMinPartSize
    }
    
    // isMaxPartNumber - Check if part ID is greater than the maximum allowed ID.
    func isMaxPartID(partID int) bool {
    	return partID > globalMaxPartID
    }
    
    // profilerWrapper is created because pkg/profiler doesn't
    // provide any API to calculate the profiler file path in the
    // disk since the name of this latter is randomly generated.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  7. cmd/test-utils_test.go

    		var cp []CompletePart
    		cumulativeSum := int64(0)
    		for i, partLen := range partSizes {
    			partID := i + 1
    			partSrc := NewDummyDataGen(partLen, cumulativeSum)
    			cumulativeSum += partLen
    			req, errP := newTestSignedRequestV4(http.MethodPut,
    				getPutObjectPartURL("", bucketName, objectName, upID, fmt.Sprintf("%d", partID)),
    				partLen, partSrc, creds.AccessKey, creds.SecretKey, metadata)
    			if errP != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 17:26:51 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  8. helm/minio/values.yaml

    ## flux, so set to "true" to disable this behaviour.
    ignoreChartChecksums: false
    
    ## Additional arguments to pass to minio binary
    extraArgs: []
    # example for enabling FTP:
    #   - --ftp=\"address=:8021\"
    #   - --ftp=\"passive-port-range=10000-10010\"
    
    ## Additional volumes to minio container
    extraVolumes: []
    
    ## Additional volumeMounts to minio container
    extraVolumeMounts: []
    
    ## Additional sidecar containers
    extraContainers: []
    Others
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 10:14:37 GMT 2024
    - 18.4K bytes
    - Viewed (0)
  9. docs/fr/docs/index.md

    ## Prérequis
    
    FastAPI repose sur les épaules de géants :
    
    * <a href="https://www.starlette.io/" class="external-link" target="_blank">Starlette</a> pour les parties web.
    * <a href="https://docs.pydantic.dev/" class="external-link" target="_blank">Pydantic</a> pour les parties données.
    
    ## Installation
    
    <div class="termy">
    
    ```console
    $ pip install fastapi
    
    ---> 100%
    ```
    
    </div>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Mon Apr 29 05:18:04 GMT 2024
    - 22K bytes
    - Viewed (0)
  10. cmd/server-main.go

      5. Start distributed MinIO server, with FTP and SFTP servers on all interfaces via port 8021, 8022 respectively
         {{.Prompt}} {{.HelpName}} http://node{1...4}.example.com/mnt/export{1...4} \
               --ftp="address=:8021" --ftp="passive-port-range=30000-40000" \
               --sftp="address=:8022" --sftp="ssh-private-key=${HOME}/.ssh/id_rsa"
    `,
    }
    
    func serverCmdArgs(ctx *cli.Context) []string {
    	v, _, _, err := env.LookupEnv(config.EnvArgs)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 34.9K bytes
    - Viewed (1)
Back to top