Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,314 for formik (0.2 sec)

  1. cmd/xl-storage-format-v1.go

    )
    
    // Valid - tells us if the format is sane by validating
    // format version and erasure coding information.
    func (m *xlMetaV1Object) valid() bool {
    	return isXLMetaFormatValid(m.Version, m.Format) &&
    		isXLMetaErasureInfoValid(m.Erasure.DataBlocks, m.Erasure.ParityBlocks)
    }
    
    // Verifies if the backend format metadata is sane by validating
    // the version string and format style.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  2. cmd/xl-storage-format_test.go

    		t.Errorf("Expected the Version to be \"%s\", but got \"%s\".", unMarshalXLMeta.Version, jsoniterXLMeta.Version)
    	}
    	if unMarshalXLMeta.Format != jsoniterXLMeta.Format {
    		t.Errorf("Expected the format to be \"%s\", but got \"%s\".", unMarshalXLMeta.Format, jsoniterXLMeta.Format)
    	}
    	if unMarshalXLMeta.Stat.Size != jsoniterXLMeta.Stat.Size {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
  3. cmd/xl-storage-format-v2_string.go

    // Code generated by "stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go xl-storage-format-v2.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[invalidVersionType-0]
    	_ = x[ObjectType-1]
    	_ = x[DeleteType-2]
    	_ = x[LegacyType-3]
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Dec 02 19:29:16 GMT 2021
    - 1.4K bytes
    - Viewed (0)
  4. common/config/.golangci-format.yml

    Istio Automation <******@****.***> 1712286157 -0700
    Others
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 05 03:02:37 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. cmd/xl-storage-format-v2.go

    	"github.com/tinylib/msgp/msgp"
    )
    
    var (
    	// XL header specifies the format
    	xlHeader = [4]byte{'X', 'L', '2', ' '}
    
    	// Current version being written.
    	xlVersionCurrent [4]byte
    )
    
    //go:generate msgp -file=$GOFILE -unexported
    //go:generate stringer -type VersionType,ErasureAlgo -output=xl-storage-format-v2_string.go $GOFILE
    
    const (
    	// Breaking changes.
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 63.6K bytes
    - Viewed (1)
  6. docs/de/docs/tutorial/request-forms.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/request_forms/tutorial001_an.py!}
        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="1"
        {!> ../../../docs_src/request_forms/tutorial001.py!}
        ```
    
    ## `Form`-Parameter definieren
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:06:54 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/request-forms.md

    # Form Data
    
    When you need to receive form fields instead of JSON, you can use `Form`.
    
    !!! info
        To use forms, first install <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
        E.g. `pip install python-multipart`.
    
    ## Import `Form`
    
    Import `Form` from `fastapi`:
    
    === "Python 3.9+"
    
        ```Python hl_lines="3"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  8. docs/ja/docs/tutorial/request-forms.md

    # フォームデータ
    
    JSONの代わりにフィールドを受け取る場合は、`Form`を使用します。
    
    !!! info "情報"
        フォームを使うためには、まず<a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>をインストールします。
    
        たとえば、`pip install python-multipart`のように。
    
    ## `Form`のインポート
    
    `fastapi`から`Form`をインポートします:
    
    ```Python hl_lines="1"
    {!../../../docs_src/request_forms/tutorial001.py!}
    ```
    
    ## `Form`のパラメータの定義
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. docs/zh/docs/tutorial/request-forms.md

    # 表单数据
    
    接收的不是 JSON,而是表单字段时,要使用 `Form`。
    
    !!! info "说明"
    
        要使用表单,需预先安装 <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>。
    
        例如,`pip install python-multipart`。
    
    ## 导入 `Form`
    
    从 `fastapi` 导入 `Form`:
    
    ```Python hl_lines="1"
    {!../../../docs_src/request_forms/tutorial001.py!}
    ```
    
    ## 定义 `Form` 参数
    
    创建表单(`Form`)参数的方式与 `Body` 和 `Query` 一样:
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/request-forms-and-files.md

    Crie parâmetros de arquivo e formulário da mesma forma que você faria para `Body` ou `Query`:
    
    ```Python hl_lines="8"
    {!../../../docs_src/request_forms_and_files/tutorial001.py!}
    ```
    
    Os arquivos e campos de formulário serão carregados como dados de formulário e você receberá os arquivos e campos de formulário.
    
    E você pode declarar alguns dos arquivos como `bytes` e alguns como `UploadFile`.
    
    !!! warning "Aviso"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Wed Mar 13 19:02:19 GMT 2024
    - 1.4K bytes
    - Viewed (0)
Back to top