Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 194 for declared (0.18 sec)

  1. 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+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirScopeProvider.kt

            }
    
            val cacheKey = when (kind) {
                DeclaredMemberScopeKind.NON_STATIC -> JAVA_ENHANCEMENT_FOR_DECLARED_MEMBERS
                DeclaredMemberScopeKind.STATIC -> JAVA_ENHANCEMENT_FOR_STATIC_DECLARED_MEMBERS
                DeclaredMemberScopeKind.COMBINED -> JAVA_ENHANCEMENT_FOR_ALL_DECLARED_MEMBERS
            }
    
            return scopeSession.getOrBuild(firJavaClass.symbol, cacheKey) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 18.7K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         *       {@code "META-INF/versions/{n}/"} subdirectory, builds a singleton map with
         *       the module name declared in that descriptor.</li>
         *   <li>Otherwise if an {@code "Automatic-Module-Name"} attribute is declared in the
         *       {@code META-INF/MANIFEST.MF} file, builds a singleton map with the value of that attribute.</li>
         * </ul>
         *
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/security/oauth2-scopes.md

    It will always have the security scopes declared in the current `Security` dependencies and all the dependants for **that specific** *path operation* and **that specific** dependency tree.
    
    Because the `SecurityScopes` will have all the scopes declared by dependants, you can use it to verify that a token has the required scopes in a central dependency function, and then declare different scope requirements in different *path operations*.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *   <li>If there is any non-private constructor or non-private static factory method declared by
       *       {@code cls}, all non-private instance methods will be checked too using the instance
       *       created by invoking the constructor or static factory method.
       *   <li>If there is any non-private constructor or non-private static factory method declared by
       *       {@code cls}:
       *       <ul>
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  6. tests/test_query.py

    
    def test_query_query_baz():
        response = client.get("/query?query=baz")
        assert response.status_code == 200
        assert response.json() == "foo bar baz"
    
    
    def test_query_not_declared_baz():
        response = client.get("/query?not_declared=baz")
        assert response.status_code == 422
        assert response.json() == IsDict(
            {
                "detail": [
                    {
                        "type": "missing",
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 11.4K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/response-change-status-code.md

    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    **FastAPI** will use that *temporal* response to extract the status code (also cookies and headers), and will put them in the final response that contains the value you returned, filtered by any `response_model`.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 16:31:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultModelRepositoryHolder.java

         */
        public 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,
        }
    
        final Session session;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/path-params.md

    ```JSON
    {"item_id":"foo"}
    ```
    
    ## Path parameters with types
    
    You can declare the type of a path parameter in the function, using standard Python type annotations:
    
    ```Python hl_lines="7"
    {!../../../docs_src/path_params/tutorial002.py!}
    ```
    
    In this case, `item_id` is declared to be an `int`.
    
    !!! check
        This will give you editor support inside of your function, with error checks, completion, etc.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/PathModularization.java

         *       {@code "META-INF/versions/{n}/"} subdirectory, builds a singleton map with
         *       the module name declared in that descriptor.</li>
         *   <li>Otherwise if an {@code "Automatic-Module-Name"} attribute is declared in the
         *       {@code META-INF/MANIFEST.MF} file, builds a singleton map with the value of that attribute.</li>
         * </ul>
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 11.2K bytes
    - Viewed (0)
Back to top