Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 141 for ISO (0.02 sec)

  1. 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.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. src/hash/marshal_test.go

    	{"crc32", func() hash.Hash { return crc32.NewIEEE() }, fromHex("63726301ca87914dc956d3e8")},
    	{"crc64", func() hash.Hash { return crc64.New(crc64.MakeTable(crc64.ISO)) }, fromHex("6372630273ba8484bbcd5def5d51c83c581695be")},
    	{"fnv32", func() hash.Hash { return fnv.New32() }, fromHex("666e760171ba3d77")},
    	{"fnv32a", func() hash.Hash { return fnv.New32a() }, fromHex("666e76027439f86f")},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 06 07:45:46 UTC 2017
    - 5.4K bytes
    - Viewed (0)
  3. subprojects/core/src/integTest/groovy/org/gradle/caching/internal/packaging/BuildCacheEntryPackingIntegrationTest.groovy

            "chinese": "敏捷的棕色狐狸跳过了懒狗",
            "cyrillic": "здравствуйте",
            "hungarian": "Árvíztűrő tükörfúrógép",
        ].values().join("-")
    
        private static final DEFAULT_ENCODINGS = [
            "UTF-8",
            "ISO-8859-1",
            "windows-1250",
        ]
    
        @Issue("https://github.com/gradle/gradle/issues/9877")
        @ToBeFixedForConfigurationCache(skip =  INVESTIGATE)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. internal/bucket/object/lock/lock.go

    	ErrMalformedBucketObjectConfig = errors.New("invalid bucket object lock config")
    	// ErrInvalidRetentionDate - indicates that retention date needs to be in ISO 8601 format
    	ErrInvalidRetentionDate = errors.New("date must be provided in ISO 8601 format")
    	// ErrPastObjectLockRetainDate - indicates that retention date must be in the future
    	ErrPastObjectLockRetainDate = errors.New("the retain until date must be in the future")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/text/internal/language/language.go

    		case 2:
    			// next key
    			curKey = s[end+1 : p]
    			if curKey > key {
    				return end, end, end, true
    			}
    			start = end
    			sep = p
    		}
    	}
    }
    
    // ParseBase parses a 2- or 3-letter ISO 639 code.
    // It returns a ValueError if s is a well-formed but unknown language identifier
    // or another error if another error occurred.
    func ParseBase(s string) (l Language, err error) {
    	defer func() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 13:01:26 UTC 2024
    - 16.8K bytes
    - Viewed (0)
  6. src/html/escape_test.go

    		"Lambda = &#x3bb; = &#X3Bb ",
    		"Lambda = λ = λ ",
    	},
    	// Handle numeric early termination.
    	{
    		"numericEnds",
    		"&# &#x &#128;43 &copy = &#169f = &#xa9",
    		"&# &#x €43 © = ©f = ©",
    	},
    	// Handle numeric ISO-8859-1 entity replacements.
    	{
    		"numericReplacements",
    		"Footnote&#x87;",
    		"Footnote‡",
    	},
    	// Handle single ampersand.
    	{
    		"copySingleAmpersand",
    		"&",
    		"&",
    	},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 22 12:45:38 UTC 2015
    - 3.3K bytes
    - Viewed (0)
  7. platforms/software/publish/src/main/java/org/gradle/api/publish/internal/PublicationFieldValidator.java

            while (offset < value.length()) {
                final int unicodeChar = value.codePointAt(offset);
                if (Character.isISOControl(unicodeChar)) {
                    throw failure(String.format("%s cannot contain ISO control character '\\u%04x'.", name, unicodeChar));
                }
                if ('\\' == unicodeChar || ('/' == unicodeChar && !allowSlash)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 12 14:02:46 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/encoder.md

    ## 使用`jsonable_encoder`
    
    让我们假设你有一个数据库名为`fake_db`,它只能接收与JSON兼容的数据。
    
    例如,它不接收`datetime`这类的对象,因为这些对象与JSON不兼容。
    
    因此,`datetime`对象必须将转换为包含<a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO格式化</a>的`str`类型对象。
    
    同样,这个数据库也不会接收Pydantic模型(带有属性的对象),而只接收`dict`。
    
    对此你可以使用`jsonable_encoder`。
    
    它接收一个对象,比如Pydantic模型,并会返回一个JSON兼容的版本:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4  21"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  9. docs/ko/docs/tutorial/encoder.md

    JSON 호환 가능 데이터만 수신하는 `fake_db` 데이터베이스가 존재한다고 가정하겠습니다.
    
    예를 들면, `datetime` 객체는 JSON과 호환되는 데이터가 아니므로 이 데이터는 받아들여지지 않습니다.
    
    따라서 `datetime` 객체는 <a href="https://en.wikipedia.org/wiki/ISO_8601" class="external-link" target="_blank">ISO format</a> 데이터를 포함하는 `str`로 변환되어야 합니다.
    
    같은 방식으로 이 데이터베이스는 Pydantic 모델(속성이 있는 객체)을 받지 않고, `dict` 만을 받습니다.
    
    이를 위해 `jsonable_encoder` 를 사용할 수 있습니다.
    
    Pydantic 모델과 같은 객체를 받고 JSON 호환 가능한 버전으로 반환합니다:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Dec 08 15:43:31 UTC 2021
    - 1.9K bytes
    - Viewed (0)
  10. src/mime/encodedword.go

    type WordDecoder struct {
    	// CharsetReader, if non-nil, defines a function to generate
    	// charset-conversion readers, converting from the provided
    	// charset into UTF-8.
    	// Charsets are always lower-case. utf-8, iso-8859-1 and us-ascii charsets
    	// are handled by default.
    	// One of the CharsetReader's result values must be non-nil.
    	CharsetReader func(charset string, input io.Reader) (io.Reader, error)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 16:12:35 UTC 2024
    - 10K bytes
    - Viewed (0)
Back to top