Search Options

Results per page
Sort
Preferred Languages
Advance

Results 661 - 670 of 1,365 for putA (0.04 sec)

  1. docs/de/docs/index.md

        * Swagger UI.
        * ReDoc.
    
    ---
    
    Um auf das vorherige Codebeispiel zurückzukommen, **FastAPI** wird:
    
    * Validieren, dass es eine `item_id` im Pfad für `GET`- und `PUT`-Requests gibt.
    * Validieren, ob die `item_id` vom Typ `int` für `GET`- und `PUT`-Requests ist.
        * Falls nicht, sieht der Client einen hilfreichen, klaren Fehler.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 09:39:53 UTC 2025
    - 25.8K bytes
    - Viewed (0)
  2. docs_src/body_multiple_params/tutorial001_an_py310.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: str | None = None,
        item: Item | None = None,
    ):
        results = {"item_id": item_id}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 579 bytes
    - Viewed (0)
  3. 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);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Sep 30 22:03:28 UTC 2025
    - 91.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/http/NtlmHttpURLConnection.java

            for (int i = 1; key != null || value != null; i++) {
                List<String> values = map.get(key);
                if (values == null) {
                    values = new ArrayList<>();
                    map.put(key, values);
                }
                values.add(value);
                key = this.connection.getHeaderFieldKey(i);
                value = this.connection.getHeaderField(i);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

        }
    
        private void writeLastUpdated(File touchfile, String key, String error) {
            HashMap<String, String> update = new HashMap<>();
            update.put(key, Long.toString(System.currentTimeMillis()));
            update.put(key + ERROR_KEY_SUFFIX, error); // error==null => remove mapping
            trackingFileManager.update(touchfile, update);
        }
    
        Date readLastUpdated(File touchfile, String key) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. 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]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 686 bytes
    - Viewed (0)
  7. docs_src/body_multiple_params/tutorial001_an_py39.py

    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: Union[str, None] = None
        price: float
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(
        item_id: Annotated[int, Path(title="The ID of the item to get", ge=0, le=1000)],
        q: Union[str, None] = None,
        item: Union[Item, None] = None,
    ):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 610 bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

        }
      }
    
      public final void testPut() {
        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
          assertThrows(UnsupportedOperationException.class, () -> testInstance.put('a', 1, "blah"));
        }
      }
    
      public final void testPutAll() {
        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
          assertThrows(
              UnsupportedOperationException.class,
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. 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)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon May 27 12:08:13 UTC 2019
    - 934 bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb1/smb1/DfsTest.java

        @Test
        void testGetTrustedDomains_Cached() throws SmbAuthException {
            Dfs.CacheEntry cacheEntry = new Dfs.CacheEntry(300);
            HashMap<String, HashMap> trustedDomains = new HashMap<>();
            trustedDomains.put("domain.com", new HashMap());
            cacheEntry.map = trustedDomains;
            dfs._domains = cacheEntry;
    
            assertEquals(trustedDomains, dfs.getTrustedDomains(auth));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top