Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 291 - 300 of 637 for declares (0.06 seconds)

  1. docs/zh/docs/tutorial/cookie-params.md

    定义 `Cookie` 参数与定义 `Query` 和 `Path` 参数一样。
    
    ## 导入 `Cookie` { #import-cookie }
    
    首先,导入 `Cookie`:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[3] *}
    
    ## 声明 `Cookie` 参数 { #declare-cookie-parameters }
    
    声明 `Cookie` 参数的方式与声明 `Query` 和 `Path` 参数相同。
    
    第一个值是默认值,还可以传递所有验证参数或注释参数:
    
    {* ../../docs_src/cookie_params/tutorial001_an_py310.py hl[9] *}
    
    /// note | 技术细节
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:39:41 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  2. docs/pt/docs/tutorial/dependencies/classes-as-dependencies.md

    Podemos fazer melhor...
    
    ## O que caracteriza uma dependência { #what-makes-a-dependency }
    
    Até agora você apenas viu dependências declaradas como funções.
    
    Mas essa não é a única forma de declarar dependências (mesmo que provavelmente seja a mais comum).
    
    O fator principal para uma dependência é que ela deve ser "chamável"
    
    Um objeto "chamável" em Python é qualquer coisa que o Python possa "chamar" como uma função
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Feb 13 13:48:53 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  3. docs/fr/docs/advanced/openapi-webhooks.md

    /// info
    
    L'objet `app.webhooks` est en fait simplement un `APIRouter`, le même type que vous utiliseriez pour structurer votre application en plusieurs fichiers.
    
    ///
    
    Notez qu'avec les webhooks, vous ne déclarez pas réellement un chemin (comme `/items/`), le texte que vous y passez est simplement un identifiant du webhook (le nom de l'événement). Par exemple, dans `@app.webhooks.post("new-subscription")`, le nom du webhook est `new-subscription`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/server-sent-events.md

    Se você declarar o tipo de retorno como `AsyncIterable[Item]`, o FastAPI o usará para validar, documentar e serializar os dados com o Pydantic.
    
    {* ../../docs_src/server_sent_events/tutorial001_py310.py ln[1:25] hl[10:12,23] *}
    
    /// tip | Dica
    
    Como o Pydantic fará a serialização no lado em **Rust**, você terá um desempenho muito maior do que se não declarar um tipo de retorno.
    
    ///
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

         */
        enum RepositoryMerging {
    
            /**
             * The repositories declared in the POM have precedence over the repositories specified in the request.
             */
            POM_DOMINANT,
    
            /**
             * The repositories specified in the request have precedence over the repositories declared in the POM.
             */
            REQUEST_DOMINANT,
        }
    
        @Nonnull
        ModelSource getSource();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/xml/ParametricNullness.java

     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
     *   <li>methods whose return type is a type variable but which can return {@code null} regardless
     *       of the type argument supplied by the user of the class: For example, {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 16:20:21 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/InferenceStrategy.java

            }
    
            // Get the directory containing this POM
            Path parentDir = pomPath.getParent();
            if (parentDir == null) {
                return false;
            }
    
            // Get declared subprojects
            Set<String> declaredSubprojects = subprojectElements.stream()
                    .map(Element::textContentTrimmed)
                    .filter(name -> !name.isEmpty())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 27.6K bytes
    - Click Count (0)
  8. .github/workflows/scorecard.yml

      # To guarantee Maintained check is occasionally updated. See
      # https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained
      schedule:
        - cron: '45 9 * * 0'
      push:
        branches: [ "master" ]
    
    # Declare default permissions as read only.
    permissions: read-all
    
    jobs:
      analysis:
        name: Scorecard analysis
        runs-on: ubuntu-latest
        permissions:
          # Needed to upload the results to code-scanning dashboard.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 22:02:44 GMT 2026
    - 2.9K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/body-fields.md

    /// warning | Achtung
    
    Beachten Sie, dass `Field` direkt von `pydantic` importiert wird, nicht von `fastapi`, wie die anderen (`Query`, `Path`, `Body`, usw.)
    
    ///
    
    ## Modellattribute deklarieren { #declare-model-attributes }
    
    Dann können Sie `Field` mit Modellattributen deklarieren:
    
    {* ../../docs_src/body_fields/tutorial001_an_py310.py hl[11:14] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 14 07:57:30 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectManager.java

         * List<SourceRoot> enabledRoots = project.getSourceRoots()
         *         .stream().filter(SourceRoot::enabled).toList();
         * }</pre>
         *
         * The iteration order is the order in which the sources are declared in the POM file.
         *
         * @param project the project for which to get the source roots
         */
        @Nonnull
        Collection<SourceRoot> getSourceRoots(@Nonnull Project project);
    
        /**
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:29:13 GMT 2025
    - 12K bytes
    - Click Count (0)
Back to Top