Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 1,479 for item4 (0.03 seconds)

  1. docs_src/path_params_numeric_validations/tutorial001_py310.py

    from fastapi import FastAPI, Path, Query
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_items(
        item_id: int = Path(title="The ID of the item to get"),
        q: str | None = Query(default=None, alias="item-query"),
    ):
        results = {"item_id": item_id}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 332 bytes
    - Click Count (0)
  2. docs/tr/docs/index.md

    </details>
    
    ### Kontrol Edelim { #check-it }
    
    Tarayıcınızda şu bağlantıyı açın: [http://127.0.0.1:8000/items/5?q=somequery](http://127.0.0.1:8000/items/5?q=somequery).
    
    Şu JSON response'unu göreceksiniz:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Artık şunları yapan bir API oluşturdunuz:
    
    * `/` ve `/items/{item_id}` _path_'lerinde HTTP request'leri alır.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 23.2K bytes
    - Click Count (0)
  3. docs_src/query_params/tutorial005_py310.py

    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/items/{item_id}")
    async def read_user_item(item_id: str, needy: str):
        item = {"item_id": item_id, "needy": needy}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 192 bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/service/StemmerOverrideService.java

        }
    
        /**
         * Retrieves a specific stemmer override item by dictionary ID and item ID.
         *
         * @param dictId The ID of the stemmer override dictionary
         * @param id The unique ID of the stemmer override item to retrieve
         * @return An OptionalEntity containing the stemmer override item if found, empty otherwise
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. src/main/webapp/WEB-INF/view/common/admin/crud/pagination.jsp

    			<c:forEach var="p" varStatus="s"
    				items="${pager.pageNumberList}">
    				<li
    					<c:if test="${p == pager.currentPageNumber}">class="page-item active"</c:if>><la:link
    						styleClass="page-link"
    						href="list/${p}">${p}</la:link></li>
    			</c:forEach>
    			<c:if test="${pager.existNextPage}">
    				<li class="page-item"><la:link
    						styleClass="page-link"
    						href="list/${pager.currentPageNumber + 1}">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Feb 07 10:28:50 GMT 2020
    - 1.5K bytes
    - Click Count (0)
  6. docs_src/query_params_str_validations/tutorial009_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(q: Annotated[str | None, Query(alias="item-query")] = None):
        results = {"items": [{"item_id": "Foo"}, {"item_id": "Bar"}]}
        if q:
            results.update({"q": q})
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 18 12:29:59 GMT 2023
    - 314 bytes
    - Click Count (0)
  7. docs/es/docs/index.md

    Abre tu navegador en [http://127.0.0.1:8000/items/5?q=somequery](http://127.0.0.1:8000/items/5?q=somequery).
    
    Verás el response JSON como:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Ya creaste una API que:
    
    * Recibe requests HTTP en los _paths_ `/` y `/items/{item_id}`.
    * Ambos _paths_ toman _operaciones_ `GET` (también conocidas como métodos HTTP).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 22.6K bytes
    - Click Count (0)
  8. docs/pt/docs/index.md

    </details>
    
    ### Verifique { #check-it }
    
    Abra seu navegador em [http://127.0.0.1:8000/items/5?q=somequery](http://127.0.0.1:8000/items/5?q=somequery).
    
    Você verá a resposta JSON como:
    
    ```JSON
    {"item_id": 5, "q": "somequery"}
    ```
    
    Você acabou de criar uma API que:
    
    * Recebe requisições HTTP nos _paths_ `/` e `/items/{item_id}`.
    * Ambos _paths_ fazem operações `GET` (também conhecido como _métodos_ HTTP).
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 22.7K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

        }
    
        /**
         * Retrieves a specific stopwords dictionary item by ID.
         *
         * @param dictId the dictionary ID
         * @param id the ID of the stopwords item to retrieve
         * @return JSON response containing the stopwords dictionary item
         */
        // GET /api/admin/dict/stopwords/setting/{dictId}/{id}
        @Execute
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  10. fastapi/exceptions.py

        ```python
        from fastapi import FastAPI, HTTPException
    
        app = FastAPI()
    
        items = {"foo": "The Foo Wrestlers"}
    
    
        @app.get("/items/{item_id}")
        async def read_item(item_id: str):
            if item_id not in items:
                raise HTTPException(status_code=404, detail="Item not found")
            return {"item": items[item_id]}
        ```
        """
    
        def __init__(
            self,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
Back to Top