Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 105 for karite (0.25 sec)

  1. docs/fr/docs/tutorial/body.md

    ```Python hl_lines="4"
    {!../../../docs_src/body/tutorial001.py!}
    ```
    
    ## Créez votre modèle de données
    
    Déclarez ensuite votre modèle de données en tant que classe qui hérite de `BaseModel`.
    
    Utilisez les types Python standard pour tous les attributs :
    
    ```Python hl_lines="7-11"
    {!../../../docs_src/body/tutorial001.py!}
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  2. cmd/xl-storage-format-v1.go

    		version == xlMetaVersion100) &&
    		format == xlMetaFormat)
    }
    
    // Verifies if the backend format metadata is sane by validating
    // the ErasureInfo, i.e. data and parity blocks.
    func isXLMetaErasureInfoValid(data, parity int) bool {
    	return ((data >= parity) && (data > 0) && (parity >= 0))
    }
    
    //go:generate msgp -file=$GOFILE -unexported
    
    // A xlMetaV1Object represents `xl.meta` metadata header.
    type xlMetaV1Object struct {
    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)
  3. docs_src/extra_models/tutorial003_py310.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class BaseItem(BaseModel):
        description: str
        type: str
    
    
    class CarItem(BaseItem):
        type: str = "car"
    
    
    class PlaneItem(BaseItem):
        type: str = "plane"
        size: int
    
    
    items = {
        "item1": {"description": "All my friends drive a low rider", "type": "car"},
        "item2": {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 644 bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/extra-models.md

    === "Python 3.10+"
    
        ```Python hl_lines="1  14-15  18-20  33"
        {!> ../../../docs_src/extra_models/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+"
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:47 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_extra_models/test_tutorial003.py

                            "size": {"title": "Size", "type": "integer"},
                        },
                    },
                    "CarItem": {
                        "title": "CarItem",
                        "required": IsOneOf(
                            ["description", "type"],
                            # TODO: remove when deprecating Pydantic v1
                            ["description"],
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Aug 04 20:47:07 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. docs/erasure/storage-class/README.md

    ### Allowed values for STANDARD storage class
    
    `STANDARD` storage class implies more parity than `REDUCED_REDUNDANCY` class. So, `STANDARD` parity drives should be
    
    - Greater than or equal to 2, if `REDUCED_REDUNDANCY` parity is not set.
    - Greater than `REDUCED_REDUNDANCY` parity, if it is set.
    
    Parity blocks can not be higher than data blocks, so `STANDARD` storage class parity can not be higher than N/2. (N being total number of drives)
    
    Plain Text
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 5.8K bytes
    - Viewed (1)
  7. docs/de/docs/how-to/index.md

    Wenn etwas für Ihr Projekt interessant und nützlich erscheint, lesen Sie es, andernfalls überspringen Sie es einfach.
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:18:53 GMT 2024
    - 632 bytes
    - Viewed (0)
  8. docs_src/extra_models/tutorial003.py

    from typing import Union
    
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class BaseItem(BaseModel):
        description: str
        type: str
    
    
    class CarItem(BaseItem):
        type: str = "car"
    
    
    class PlaneItem(BaseItem):
        type: str = "plane"
        size: int
    
    
    items = {
        "item1": {"description": "All my friends drive a low rider", "type": "car"},
        "item2": {
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 644 bytes
    - Viewed (1)
  9. internal/config/storageclass/storage-class_test.go

    			Standard: StorageClass{
    				Parity: 8,
    			},
    			RRS: StorageClass{
    				Parity: 2,
    			},
    			initialized: true,
    		}
    		// Set env var for test case 4
    		if i+1 == 4 {
    			scfg.RRS.Parity = 7
    		}
    		// Set env var for test case 5
    		if i+1 == 5 {
    			scfg.Standard.Parity = 6
    		}
    		// Set env var for test case 6
    		if i+1 == 6 {
    			scfg.Standard.Parity = 7
    		}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Aug 15 23:04:20 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. docs/fr/docs/deployment/https.md

    * Pour le HTTPS, le serveur a besoin de "certificats" générés par une tierce partie.
        * Ces certificats sont en fait acquis auprès de la tierce partie, et non "générés".
    * Les certificats ont une durée de vie.
        * Ils expirent.
        * Puis ils doivent être renouvelés et acquis à nouveau auprès de la tierce partie.
    * Le cryptage de la connexion se fait au niveau du protocole TCP.
        * C'est une couche en dessous de HTTP.
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Mon Oct 31 17:45:30 GMT 2022
    - 4.1K bytes
    - Viewed (0)
Back to top