Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 421 - 430 of 791 for puts (0.02 seconds)

  1. docs/fr/docs/editor-support.md

    consulter le guide pas à pas de l’extension en ouvrant la palette de commandes (<kbd>Ctrl</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd> ou sur macOS : <kbd>Cmd</kbd> + <kbd>Shift</kbd> + <kbd>P</kbd>) et en sélectionnant « Welcome: Open walkthrough ... » puis en choisissant le guide « Get started with FastAPI »....
    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)
  2. docs/fr/docs/tutorial/header-param-models.md

    ///
    
    ## Paramètres d'en-tête avec un modèle Pydantic { #header-parameters-with-a-pydantic-model }
    
    Déclarez les **paramètres d'en-tête** dont vous avez besoin dans un **modèle Pydantic**, puis déclarez le paramètre comme `Header` :
    
    {* ../../docs_src/header_param_models/tutorial001_an_py310.py hl[9:14,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 3K bytes
    - Click Count (0)
  3. docs_src/additional_status_codes/tutorial001_an_py310.py

    from fastapi import Body, FastAPI, status
    from fastapi.responses import JSONResponse
    
    app = FastAPI()
    
    items = {"foo": {"name": "Fighters", "size": 6}, "bar": {"name": "Tenders", "size": 3}}
    
    
    @app.put("/items/{item_id}")
    async def upsert_item(
        item_id: str,
        name: Annotated[str | None, Body()] = None,
        size: Annotated[int | None, Body()] = None,
    ):
        if item_id in items:
            item = items[item_id]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 686 bytes
    - Click Count (0)
  4. tests/test_operations_signatures.py

    import inspect
    
    from fastapi import APIRouter, FastAPI
    
    method_names = ["get", "put", "post", "delete", "options", "head", "patch", "trace"]
    
    
    def test_signatures_consistency():
        base_sig = inspect.signature(APIRouter.get)
        for method_name in method_names:
            router_method = getattr(APIRouter, method_name)
            app_method = getattr(FastAPI, method_name)
            router_sig = inspect.signature(router_method)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon May 27 12:08:13 GMT 2019
    - 934 bytes
    - Click Count (0)
  5. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

                  Object value = new Object();
                  result.put(key, value);
                }
                result.put(extraKey, extraValue);
                result.put(extraValue, null);
                return result;
              }
            };
        LoadingCache<Object, Object> cache = CacheBuilder.newBuilder().build(loader);
        cache.asMap().put(extraKey, extraKey);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 91K bytes
    - Click Count (0)
  6. docs/fr/docs/index.md

        * ReDoc.
    
    ---
    
    Pour revenir à l'exemple de code précédent, **FastAPI** va :
    
    * Valider la présence d'un `item_id` dans le chemin pour les requêtes `GET` et `PUT`.
    * Valider que `item_id` est de type `int` pour les requêtes `GET` et `PUT`.
        * Si ce n'est pas le cas, le client verra une erreur utile et claire.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/AbstractBiMap.java

      @Override
      public boolean containsValue(@Nullable Object value) {
        return inverse.containsKey(value);
      }
    
      // Modification Operations
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V put(@ParametricNullness K key, @ParametricNullness V value) {
        return putInBothMaps(key, value, false);
      }
    
      @CanIgnoreReturnValue
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 15:50:50 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/util/DocMap.java

         * @return the previous value associated with key, or null if no mapping existed
         */
        @Override
        public Object put(final String key, final Object value) {
            return parent.put(key, value);
        }
    
        /**
         * Removes the mapping for a key from this map if it is present.
         *
         * @param key the key whose mapping is to be removed from the map
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/net/URLUtil.java

        }
    
        /** Map for normalizing protocols */
        protected static final Map<String, String> CANONICAL_PROTOCOLS = newHashMap();
        static {
            CANONICAL_PROTOCOLS.put("wsjar", "jar"); // Proprietary protocol used by WebSphere for jar files
            CANONICAL_PROTOCOLS.put("vfsfile", "file"); // Proprietary protocol used by JBossAS5 for file system
        }
    
        /**
         * Opens a URL and returns an {@link InputStream}.
         *
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  10. docs_src/bigger_applications/app_an_py310/routers/items.py

    async def read_item(item_id: str):
        if item_id not in fake_items_db:
            raise HTTPException(status_code=404, detail="Item not found")
        return {"name": fake_items_db[item_id]["name"], "item_id": item_id}
    
    
    @router.put(
        "/{item_id}",
        tags=["custom"],
        responses={403: {"description": "Operation forbidden"}},
    )
    async def update_item(item_id: str):
        if item_id != "plumbus":
            raise HTTPException(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 1011 bytes
    - Click Count (0)
Back to Top