Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 551 - 560 of 1,089 for itens (0.02 seconds)

  1. docs_src/path_operation_advanced_configuration/tutorial004_py310.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", summary="Create an item")
    async def create_item(item: Item) -> Item:
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
        - **description**: a long description
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 12:07:26 GMT 2026
    - 661 bytes
    - Click Count (0)
  2. docs_src/body_multiple_params/tutorial001_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: 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}
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri May 13 23:38:22 GMT 2022
    - 546 bytes
    - Click Count (0)
  3. docs_src/dependencies/tutorial006_an_py310.py

    
    async def verify_key(x_key: Annotated[str, Header()]):
        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
        return x_key
    
    
    @app.get("/items/", dependencies=[Depends(verify_token), Depends(verify_key)])
    async def read_items():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 633 bytes
    - Click Count (0)
  4. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/AbstractCheckOrUpdateContributorsInReleaseNotes.kt

    import org.gradle.work.DisableCachingByDefault
    import java.net.URI
    import java.net.http.HttpClient
    import java.net.http.HttpRequest
    import java.net.http.HttpResponse
    
    
    data class GitHubPullRequestSearchResult(val items: List<GitHubPullRequest>)
    
    
    data class GitHubUser(val login: String, val name: String?)
    
    
    data class GitHubPullRequestMilestone(val title: String)
    
    
    data class GitHubPullRequest(
        val number: Int,
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Jun 24 07:54:08 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  5. fastapi/security/api_key.py

        ## Example
    
        ```python
        from fastapi import Depends, FastAPI
        from fastapi.security import APIKeyQuery
    
        app = FastAPI()
    
        query_scheme = APIKeyQuery(name="api_key")
    
    
        @app.get("/items/")
        async def read_items(api_key: str = Depends(query_scheme)):
            return {"api_key": api_key}
        ```
        """
    
        def __init__(
            self,
            *,
            name: Annotated[
                str,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 9.6K bytes
    - Click Count (1)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/cache/CacheRetention.java

    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Enumeration defining different retention periods for cached data.
     * Each value represents a specific scope and lifetime for cached items.
     *
     * @since 4.0.0
     */
    @Experimental
    public enum CacheRetention {
        /**
         * Data should be persisted across Maven invocations.
         * Suitable for:
         * - Dependency resolution results
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. src/main/webapp/WEB-INF/view/admin/design/admin_design.jsp

                                        <la:select styleId="fileName" property="fileName" styleClass="form-control">
                                            <c:forEach var="item" varStatus="s" items="${fileNameItems}">
                                                <la:option value="${item}">${f:h(item)}</la:option>
                                            </c:forEach>
                                        </la:select>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  8. src/main/webapp/WEB-INF/view/admin/labeltype/admin_labeltype.jsp

                                                <tbody>
                                                <c:forEach var="data" varStatus="s"
                                                           items="${labelTypeItems}">
                                                    <tr
                                                            data-href="${contextPath}/admin/labeltype/details/4/${f:u(data.id)}" role="button" tabindex="0">
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Feb 23 08:03:44 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  9. docs/ja/docs/editor-support.md

    # エディタ対応 { #editor-support }
    
    公式の[FastAPI Extension](https://marketplace.visualstudio.com/items?itemName=FastAPILabs.fastapi-vscode)は、*path operation* の検出・ナビゲーションに加え、FastAPI Cloud へのデプロイやライブログストリーミングなど、FastAPI の開発ワークフローを強化します。
    
    拡張機能の詳細は、[GitHub リポジトリ](https://github.com/fastapi/fastapi-vscode)の README を参照してください。
    
    ## セットアップとインストール { #setup-and-installation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:55:22 GMT 2026
    - 3K bytes
    - Click Count (0)
  10. docs/tr/docs/tutorial/metadata.md

        * `description`: harici dokümanlar için kısa açıklama içeren `str`.
        * `url` (**zorunlu**): harici dokümantasyonun URL'sini içeren `str`.
    
    ### Tag'ler için metadata oluşturun { #create-metadata-for-tags }
    
    `users` ve `items` tag'lerini içeren bir örnekle deneyelim.
    
    Tag'leriniz için metadata oluşturup `openapi_tags` parametresine geçin:
    
    {* ../../docs_src/metadata/tutorial004_py310.py hl[3:16,18] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 6.2K bytes
    - Click Count (0)
Back to Top