Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 852 for declareNS (0.3 sec)

  1. docs/fr/docs/tutorial/body.md

    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## Déclarez-le comme paramètre
    
    Pour l'ajouter à votre *opération de chemin*, déclarez-le comme vous déclareriez des paramètres de chemin ou de requête :
    
    ```Python hl_lines="18"
    {!../../../docs_src/body/tutorial001.py!}
    ```
    
    ...et déclarez que son type est le modèle que vous avez créé : `Item`.
    
    ## Résultats
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  2. docs/fr/docs/tutorial/query-params.md

    ## Multiples paramètres de chemin et de requête
    
    Vous pouvez déclarer plusieurs paramètres de chemin et paramètres de requête dans la même fonction, **FastAPI** saura comment les gérer.
    
    Et vous n'avez pas besoin de les déclarer dans un ordre spécifique.
    
    Ils seront détectés par leurs noms :
    
    ```Python hl_lines="8  10"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Sep 27 20:52:31 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/service/ScopedServiceRegistryTest.groovy

            exception.message.contains("The service '${BuildTreeScopedService.name}' declares service scope 'BuildTree' but is registered in the 'Build' scope. Either update the '@ServiceScope()' annotation on '${BuildTreeScopedService.simpleName}' to include the 'Build' scope or move the service registration to one of the declared scopes.")
    
            where:
            method     | registration
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/body.md

    ```JSON
    {
        "name": "Foo",
        "price": 45.2
    }
    ```
    
    ## Declare it as a parameter
    
    To add it to your *path operation*, declare it the same way you declared path and query parameters:
    
    === "Python 3.10+"
    
        ```Python hl_lines="16"
        {!> ../../../docs_src/body/tutorial001_py310.py!}
        ```
    
    === "Python 3.8+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/dependencies/sub-dependencies.md

        {!> ../../../docs_src/dependencies/tutorial005.py!}
        ```
    
    Let's focus on the parameters declared:
    
    * Even though this function is a dependency ("dependable") itself, it also declares another dependency (it "depends" on something else).
        * It depends on the `query_extractor`, and assigns the value returned by it to the parameter `q`.
    * It also declares an optional `last_query` cookie, as a `str`.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/component_capabilities.adoc

    ----
    Maven publication 'maven' contains dependencies that cannot be represented in a published pom file.
      - Declares capability com.acme:my-library:1.0
      - Declares capability com.other:module:1.1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/ServiceScopeValidator.java

            return String.format(
                "The service '%s' declares %s but is registered in the '%s' scope. " +
                    "Either update the '@ServiceScope()' annotation on '%s' to include the '%s' scope " +
                    "or move the service registration to one of the declared scopes.",
                serviceType.getName(),
                displayScopes(actualScopes),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 00:47:17 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  8. subprojects/core-api/src/main/java/org/gradle/api/component/AdhocComponentWithVariants.java

    /**
     * A component which can declare additional variants corresponding to
     * features. When published to Maven POMs, the dependencies of those variants
     * are exposed as optional dependencies. When published to Gradle metadata, the
     * variants are published as is.
     *
     * @since 5.3
     */
    public interface AdhocComponentWithVariants extends SoftwareComponent {
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 19 14:20:53 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. platforms/documentation/docs/src/docs/userguide/jvm/java_platform_plugin.adoc

    The `api` configuration should be used to declare constraints and dependencies which should be used when compiling against the platform, whereas the `runtime` configuration should be used to declare constraints or dependencies which are visible at runtime.
    
    .Declaring API and runtime constraints
    ====
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 01:37:51 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  10. subprojects/core-api/src/main/java/org/gradle/api/attributes/AttributesSchema.java

        /**
         * Declares a new attribute in the schema and configures it with the default strategy.
         * If the attribute was already declared it will simply return the existing strategy.
         *
         * @param attribute the attribute to declare in the schema
         * @param <T> the concrete type of the attribute
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 07 20:56:10 UTC 2022
    - 3.9K bytes
    - Viewed (0)
Back to top