Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 661 - 670 of 1,169 for item01 (0.26 seconds)

  1. docs_src/extra_data_types/tutorial001_an_py310.py

    from datetime import datetime, time, timedelta
    from typing import Annotated
    from uuid import UUID
    
    from fastapi import Body, FastAPI
    
    app = FastAPI()
    
    
    @app.put("/items/{item_id}")
    async def read_items(
        item_id: UUID,
        start_datetime: Annotated[datetime, Body()],
        end_datetime: Annotated[datetime, Body()],
        process_after: Annotated[timedelta, Body()],
        repeat_at: Annotated[time | None, Body()] = None,
    ):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Apr 19 00:11:40 GMT 2024
    - 788 bytes
    - Click Count (0)
  2. maven-tests/mvnw.cmd

    $TMP_DOWNLOAD_DIR_HOLDER = New-TemporaryFile
    $TMP_DOWNLOAD_DIR = New-Item -Itemtype Directory -Path "$TMP_DOWNLOAD_DIR_HOLDER.dir"
    $TMP_DOWNLOAD_DIR_HOLDER.Delete() | Out-Null
    trap {
      if ($TMP_DOWNLOAD_DIR.Exists) {
        try { Remove-Item $TMP_DOWNLOAD_DIR -Recurse -Force | Out-Null }
        catch { Write-Warning "Cannot remove $TMP_DOWNLOAD_DIR" }
      }
    }
    
    New-Item -Itemtype Directory -Path "$MAVEN_HOME_PARENT" -Force | Out-Null
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. helm/minio/templates/_helpers.tpl

    Formats volume for MinIO TLS keys and trusted certs
    */}}
    {{- define "minio.tlsKeysVolume" -}}
    {{- if .Values.tls.enabled }}
    - name: cert-secret-volume
      secret:
        secretName: {{ tpl .Values.tls.certSecret $ }}
        items:
        - key: {{ .Values.tls.publicCrt }}
          path: public.crt
        - key: {{ .Values.tls.privateKey }}
          path: private.key
    {{- end }}
    {{- if or .Values.tls.enabled (ne .Values.trustedCertsSecret "") }}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Aug 06 23:48:24 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  9. docs/fr/docs/how-to/separate-openapi-schemas.md

    Et si vous consultez tous les schémas disponibles (schémas JSON) dans OpenAPI, vous verrez qu'il y en a deux, un `Item-Input` et un `Item-Output`.
    
    Pour `Item-Input`, `description` n'est **pas requis**, il n'a pas d'astérisque rouge.
    
    Mais pour `Item-Output`, `description` est **requis**, il a un astérisque rouge.
    
    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image04.png">
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 08:12:41 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  10. docs_src/handling_errors/tutorial004_py310.py

        message = "Validation errors:"
        for error in exc.errors():
            message += f"\nField: {error['loc']}, Error: {error['msg']}"
        return PlainTextResponse(message, status_code=400)
    
    
    @app.get("/items/{item_id}")
    async def read_item(item_id: int):
        if item_id == 3:
            raise HTTPException(status_code=418, detail="Nope! I don't like 3.")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 920 bytes
    - Click Count (0)
Back to Top