Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 172 for redeclared (0.07 seconds)

  1. tests/test_file_and_form_order_issue_9116.py

    """
    Regression test, Error 422 if Form is declared before File
    See https://github.com/tiangolo/fastapi/discussions/9116
    """
    
    from pathlib import Path
    from typing import Annotated
    
    import pytest
    from fastapi import FastAPI, File, Form
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.post("/file_before_form")
    def file_before_form(
        file: bytes = File(),
        city: str = Form(),
    ):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/spnego/SpnegoConstantsTest.java

            assertTrue(c.isInterface(), "SpnegoConstants must be an interface");
            assertEquals(4, c.getDeclaredFields().length, "Unexpected number of fields");
            assertEquals(0, c.getDeclaredMethods().length, "No declared methods expected");
            assertEquals(0, c.getDeclaredConstructors().length, "Interfaces have no constructors");
        }
    
        @Test
        @DisplayName("Fields are public static final Strings with expected values")
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.7K bytes
    - Click Count (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, {@code C} is skipped for serialization test, even if it implements {@link
       *       Serializable}.
       *   <li>Serialization test is not performed on method return values unless the method is a
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.9K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/response-cookies.md

    {* ../../docs_src/response_cookies/tutorial002_py39.py hl[1, 8:9] *}
    
    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java

        private String language;
    
        @Deprecated
        private boolean addedToClasspath;
    
        /**
         * Default ctor for Plexus compatibility, as many plugins have artifact handlers declared in legacy Plexus XML.
         * Do not use directly!
         *
         * @deprecated This ctor is present only for Plexus XML defined component compatibility, do not use it.
         */
        @Deprecated
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/io/PatternFilenameFilter.java

       *
       * (PatternFilenameFilter is of course one of those classes that shouldn't be a publicly visible
       * class to begin with but rather something returned from a static factory method whose declared
       * return type is plain FilenameFilter. If we made such a change, then the annotation we choose
       * here would have no significance to end users, who would be forced to conform to the signature
       * used in FilenameFilter.)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2.7K bytes
    - Click Count (1)
  7. 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 Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java

        protected boolean isValueSet(PlexusConfiguration config, ExpressionEvaluator expressionEvaluator) {
            if (config == null) {
                return false;
            }
    
            // there are sub items ... so configuration is declared
            if (config.getChildCount() > 0) {
                return true;
            }
    
            String strValue = config.getValue();
    
            if (strValue == null || strValue.isEmpty()) {
                return false;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/using-request-directly.md

    Although any other parameter declared normally (for example, the body with a Pydantic model) would still be validated, converted, annotated, etc.
    
    But there are specific cases where it's useful to get the `Request` object.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild.distribution-testing.gradle.kts

            distZipVersion = project.version.toString()
        }
    
        // Wire the different inputs for local distributions and repos that are declared by dependencies in the build scripts
        normalizedDistributionZip.distributionZip = configurations["${prefix}TestNormalizedDistributionPath"]
        binDistributionZip.distributionZip = configurations["${prefix}TestBinDistributionPath"]
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Aug 18 18:02:41 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top