Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 628 for stor (0.01 sec)

  1. docs/nl/docs/index.md

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. docs/pt/docs/index.md

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: Union[bool, None] = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: Union[str, None] = None):
        return {"item_id": item_id, "q": q}
    
    
    @app.put("/items/{item_id}")
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  3. gradlew

    set -- \
            "-Dorg.gradle.appname=$APP_BASE_NAME" \
            -classpath "$CLASSPATH" \
            -jar "$APP_HOME/gradle/wrapper/gradle-wrapper.jar" \
            "$@"
    
    # Stop when "xargs" is not available.
    if ! command -v xargs >/dev/null 2>&1
    then
        die "xargs is not available"
    fi
    
    # Use "xargs" to parse quoted args.
    #
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 08:06:31 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. cmd/site-replication-utils.go

    		}
    	}
    	return &m
    }
    
    // save in-memory stats to disk
    func (sm *siteResyncMetrics) save(ctx context.Context) {
    	sTimer := time.NewTimer(siteResyncSaveInterval)
    	defer sTimer.Stop()
    	for {
    		select {
    		case <-sTimer.C:
    			if globalSiteReplicationSys.isEnabled() {
    				sm.Lock()
    				wg := sync.WaitGroup{}
    				for dID, rs := range sm.peerResyncMap {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/Encdec.java

         *
         * @param str the String to encode
         * @param dst the destination byte array
         * @param di the starting index in the destination array
         * @param dlim the maximum index in the destination array
         * @return the number of bytes written
         * @throws IOException if an encoding error occurs
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/ingest/Ingester.java

        /**
         * Processes a document map for datastore operations.
         * Default implementation delegates to the basic process method.
         *
         * @param target the document data to process
         * @param params the data store parameters
         * @return the processed document data
         */
        public Map<String, Object> process(final Map<String, Object> target, final DataStoreParams params) {
            return process(target);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. docs/uk/docs/tutorial/body.md

    * Якщо параметр має **сингулярний тип** (наприклад, `int`, `float`, `str`, `bool` тощо), він буде інтерпретуватися як параметр **запиту**.
    * Якщо параметр оголошується як тип **Pydantic моделі**, він інтерпретується як **тіло** запиту.
    
    /// note
    
    FastAPI буде знати, що значення "q" не є обов'язковим через значення за замовчуванням "= None".
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10K bytes
    - Viewed (0)
  8. docs/es/docs/tutorial/dependencies/classes-as-dependencies.md

    entonces es un "callable".
    
    ## Clases como dependencias
    
    Puedes notar que para crear una instance de una clase en Python, utilizas esa misma sintaxis.
    
    Por ejemplo:
    
    ```Python
    class Cat:
        def __init__(self, name: str):
            self.name = name
    
    
    fluffy = Cat(name="Mr Fluffy")
    ```
    
    En este caso, `fluffy` es una instance de la clase `Cat`.
    
    Y para crear `fluffy`, estás "llamando" a `Cat`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/path-params-numeric-validations.md

    ///
    
    ## Ordena los parámetros como necesites
    
    /// tip | Consejo
    
    Esto probablemente no es tan importante o necesario si usas `Annotated`.
    
    ///
    
    Supongamos que quieres declarar el parámetro de query `q` como un `str` requerido.
    
    Y no necesitas declarar nada más para ese parámetro, así que realmente no necesitas usar `Query`.
    
    Pero aún necesitas usar `Path` para el parámetro de path `item_id`. Y no quieres usar `Annotated` por alguna razón.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  10. docs/ru/docs/tutorial/body.md

    Параметры функции распознаются следующим образом:
    
    * Если параметр также указан в **пути**, то он будет использоваться как параметр пути.
    * Если аннотация типа параметра содержит **примитивный тип** (`int`, `float`, `str`, `bool` и т.п.), он будет интерпретирован как параметр **запроса**.
    * Если аннотация типа параметра представляет собой **модель Pydantic**, он будет интерпретирован как параметр **тела запроса**.
    
    /// note | Заметка
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 10.8K bytes
    - Viewed (0)
Back to top