Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 1,627 for modes (0.02 seconds)

  1. tests/test_query_cookie_header_model_extra_params.py

    app = FastAPI()
    
    
    class Model(BaseModel):
        param: str
    
        model_config = {"extra": "allow"}
    
    
    @app.get("/query")
    async def query_model_with_extra(data: Model = Query()):
        return data
    
    
    @app.get("/header")
    async def header_model_with_extra(data: Model = Header()):
        return data
    
    
    @app.get("/cookie")
    async def cookies_model_with_extra(data: Model = Cookie()):
        return data
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/test/java/org/apache/maven/project/ProjectModelResolverTest.java

    import java.util.List;
    
    import org.apache.maven.artifact.InvalidRepositoryException;
    import org.apache.maven.bridge.MavenRepositorySystem;
    import org.apache.maven.model.Dependency;
    import org.apache.maven.model.Parent;
    import org.apache.maven.model.resolution.ModelResolver;
    import org.apache.maven.model.resolution.UnresolvableModelException;
    import org.eclipse.aether.DefaultRepositorySystemSession;
    import org.eclipse.aether.RepositorySystem;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

     * under the License.
     */
    package org.apache.maven.model.profile.activation;
    
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.Locale;
    
    import org.apache.maven.model.Activation;
    import org.apache.maven.model.ActivationOS;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblemCollector;
    import org.apache.maven.model.profile.ProfileActivationContext;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelVersionProcessor.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.interpolation;
    
    import java.util.Properties;
    
    import org.apache.maven.model.building.ModelBuildingRequest;
    
    /**
     * Allows a fixed set of properties that are valid inside a version and that could be overwritten for example on the
     * commandline
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/DefaultJavaToolChain.java

     */
    @Deprecated
    public class DefaultJavaToolChain extends JavaToolchainImpl {
        public static final String KEY_JAVAHOME = JavaToolchainImpl.KEY_JAVAHOME;
    
        public DefaultJavaToolChain(ToolchainModel model, Logger logger) {
            super(model, logger);
        }
    
        @Override
        public String getJavaHome() {
            return super.getJavaHome();
        }
    
        @Override
        public void setJavaHome(String javaHome) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 11 12:33:57 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainsBuilder.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.toolchain;
    
    import java.io.File;
    
    import org.apache.maven.toolchain.model.PersistedToolchains;
    
    /**
     * Builds the toolchains model from a previously configured filesystem path to the toolchains file.
     * <strong>Note:</strong> This is an internal component whose interface can change without prior notice.
     *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  7. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java

     * under the License.
     */
    package org.apache.maven.model.profile.activation;
    
    import java.util.Properties;
    
    import org.apache.maven.api.model.Activation;
    import org.apache.maven.api.model.Profile;
    import org.apache.maven.model.building.SimpleProblemCollector;
    import org.apache.maven.model.profile.ProfileActivationContext;
    import org.junit.jupiter.api.BeforeEach;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderRequest.java

         * a model source such as a string or input stream.
         *
         * @return an optional containing the source of the project, or empty if not specified
         */
        @Nonnull
        Optional<Source> getSource();
    
        /**
         * Determines whether a stub model should be allowed when the POM is missing or unreadable.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/HelpTest.java

            Mockito.verify(context.logger)
                    .info(
                            "  -a, --all             Apply all upgrades (equivalent to --model-version 4.1.0 --infer --model --plugins)");
        }
    
        @Test
        void testHelpIncludesDefaultBehavior() throws Exception {
            UpgradeContext context = createMockContext();
    
            help.execute(context);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Aug 29 12:46:51 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @return the settings instance
         */
        @Nonnull
        Settings getSettings();
    
        /**
         * Retrieves toolchain models that have been explicitly configured.
         *
         * @return the toolchain models
         */
        @Nonnull
        Collection<ToolchainModel> getToolchains();
    
        /**
         * Retrieves the local repository associated with this session.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
Back to Top