Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 281 - 290 of 574 for prie (0.02 seconds)

  1. README.md

    ```Python hl_lines="2  7-10 23-25"
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool | None = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/index.md

    多虧了 Pydantic,你可以用標準的 Python 型別來宣告 body。
    
    ```Python hl_lines="2  7-10 23-25"
    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: float
        is_offer: bool | None = None
    
    
    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  3. docs/fr/docs/editor-support.md

    # Prise en charge des éditeurs { #editor-support }
    
    L’extension officielle [Extension FastAPI](https://marketplace.visualstudio.com/items?itemName=FastAPILabs.fastapi-vscode) améliore votre flux de développement FastAPI grâce à la découverte des chemins d'accès, à la navigation, ainsi qu’au déploiement sur FastAPI Cloud et à la diffusion en direct des journaux.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  4. docs/fr/docs/tutorial/header-param-models.md

    Cela vous permet de **réutiliser le modèle** à **plusieurs endroits** et aussi de déclarer des validations et des métadonnées pour tous les paramètres en une seule fois. 😎
    
    /// note | Remarque
    
    Cela est pris en charge depuis la version `0.115.0` de FastAPI. 🤓
    
    ///
    
    ## Paramètres d'en-tête avec un modèle Pydantic { #header-parameters-with-a-pydantic-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 3K bytes
    - Click Count (0)
  5. docs/tr/docs/advanced/generate-clients.md

    <img src="/img/tutorial/generate-clients/image02.png">
    
    Ayrıca gönderilecek payload için de otomatik tamamlama alırsınız:
    
    <img src="/img/tutorial/generate-clients/image03.png">
    
    /// tip | İpucu
    
    `name` ve `price` için otomatik tamamlamaya dikkat edin; bunlar FastAPI uygulamasında, `Item` modelinde tanımlanmıştı.
    
    ///
    
    Gönderdiğiniz veriler için satır içi hatalar (inline errors) da alırsınız:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  6. docs/zh/docs/tutorial/body.md

    例如,上述模型声明如下 JSON "object"(即 Python `dict`):
    
    ```JSON
    {
        "name": "Foo",
        "description": "An optional description",
        "price": 45.2,
        "tax": 3.5
    }
    ```
    
    ...由于 `description` 和 `tax` 是可选的(默认值为 `None`),下面的 JSON "object" 也有效:
    
    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## 声明为参数 { #declare-it-as-a-parameter }
    
    使用与声明路径和查询参数相同的方式,把它添加至*路径操作*:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  7. benchmarks/src/main/java/org/elasticsearch/benchmark/search/aggregations/bucket/terms/LongKeyedBucketOrdsBenchmark.java

         */
        private static final long DISTINCT_VALUES = 210;
        /**
         * The number of buckets to create in the {@link #multiBucket} case.
         * <p>
         * If this is not relatively prime to {@link #DISTINCT_VALUES_IN_BUCKETS}
         * then the values won't be scattered evenly across the buckets.
         */
        private static final long DISTINCT_BUCKETS = 21;
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Fri Feb 19 20:59:23 GMT 2021
    - 8.4K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/EnumHashBiMap.java

        bimap.putAll(map);
        return bimap;
      }
    
      private EnumHashBiMap(Class<K> keyType) {
        super(new EnumMap<K, V>(keyType), new HashMap<V, K>());
        // TODO: cpovirk - Pre-size the HashMap based on the number of enum values?
        this.keyTypeOrObjectUnderJ2cl = keyType;
      }
    
      // Overriding these 3 methods to show that values may be null (but not keys)
    
      @Override
      K checkKey(K key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

            // replaces?
            AbstractRepositoryMetadata repoMetadata = (AbstractRepositoryMetadata) metadata;
            this.metadata.merge(repoMetadata.getMetadata());
        }
    
        @Override
        public void merge(ArtifactMetadata metadata) {
            // TODO not sure that it should assume this, maybe the calls to addMetadata should pre-merge, then artifact
            // replaces?
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. src/main/java/jcifs/SID.java

     * <p>
     * Consider the following output of <code>examples/SidLookup.java</code>:
     *
     * <pre>
     *        toString: S-1-5-21-4133388617-793952518-2001621813-512
     * toDisplayString: WNET\Domain Admins
     *         getType: 2
     *     getTypeText: Domain group
     *   getDomainName: WNET
     *  getAccountName: Domain Admins
     * </pre>
     */
    public interface SID {
    
        /**
         * SID type indicating no type information.
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top