Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 562 for formato (0.21 sec)

  1. docs/pt/docs/tutorial/extra-data-types.md

    * `datetime.date`:
        * O `datetime.date` do Python.
        * Em requisições e respostas será representado como uma `str` no formato ISO 8601, exemplo: `2008-09-15`.
    * `datetime.time`:
        * O `datetime.time` do Python.
        * Em requisições e respostas será representado como uma `str` no formato ISO 8601, exemplo: `14:23:55.003`.
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/encoder.md

    Então, um objeto `datetime` teria que ser convertido em um `str` contendo os dados no formato  <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO</a>.
    
    Da mesma forma, este banco de dados não receberia um modelo Pydantic (um objeto com atributos), apenas um `dict`.
    
    Você pode usar a função `jsonable_encoder` para resolver isso.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  3. docs/es/docs/tutorial/first-steps.md

    La definición del schema incluye los paths de tu API, los parámetros que podría recibir, etc.
    
    #### "Schema" de datos
    
    El concepto "schema" también se puede referir a la forma de algunos datos, como un contenido en formato JSON.
    
    En ese caso haría referencia a los atributos del JSON, los tipos de datos que tiene, etc.
    
    #### OpenAPI y JSON Schema
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/path-params.md

    <img src="/img/tutorial/path-params/image01.png">
    
    !!! check "Verifique"
    	Novamente, apenas com a mesma declaração de tipo do Python, o **FastAPI** te dá de forma automática e interativa a documentação (integrada com o Swagger UI).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 9.7K bytes
    - Viewed (0)
  5. docs/pt/docs/alternatives.md

    APISpec tem plug-ins para muitos frameworks (e tem um plug-in para Starlette também).
    
    O jeito como ele funciona é que você escreve a definição do _schema_ usando formato YAML dentro da _docstring_ de cada função controlando uma rota.
    
    E ele gera _schemas_ OpenAPI.
    
    É assim como funciona no Flask, Starlette, Responder etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  6. cmd/format-erasure.go

    			osErrToFileErr(err)))
    	}
    
    	// format-V2 struct is exactly same as format-V1 except that version is "3"
    	// which indicates the simplified multipart backend.
    	formatV3 := formatErasureV3{}
    	formatV3.Version = formatV2.Version
    	formatV3.Format = formatV2.Format
    	formatV3.Erasure = formatV2.Erasure
    	formatV3.Erasure.Version = formatErasureVersionV3
    
    	return json.Marshal(formatV3)
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 15:54:03 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  7. cmd/format-erasure_test.go

    			t.Fatal(err)
    		}
    	}
    
    	format := newFormatErasureV3(1, 8)
    	format.Erasure.DistributionAlgo = formatErasureVersionV2DistributionAlgoV1
    	formats := make([]*formatErasureV3, 8)
    
    	for j := 0; j < 8; j++ {
    		newFormat := format.Clone()
    		newFormat.Erasure.This = format.Erasure.Sets[0][j]
    		formats[j] = newFormat
    	}
    
    	formats[1] = nil
    	expThis := formats[2].Erasure.This
    	formats[2].Erasure.This = ""
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  8. scripts/format.sh

    #!/bin/sh -e
    set -x
    
    ruff check fastapi tests docs_src scripts --fix
    Shell Script
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 30 00:03:14 GMT 2024
    - 112 bytes
    - Viewed (0)
  9. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  10. 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 May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 17.6K bytes
    - Viewed (0)
Back to top