Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1471 - 1480 of 4,690 for Import (0.04 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginDescriptorSourcedParametersValidator.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.plugin.internal;
    
    import java.util.Arrays;
    import java.util.List;
    
    import org.apache.maven.plugin.PluginValidationManager;
    
    /**
     * Common implementations for plugin parameters configuration validation that relies on Mojo descriptor (leaves out
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataResolution.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.repository.metadata;
    
    import java.util.Collection;
    
    import org.apache.maven.artifact.repository.ArtifactRepository;
    
    /**
     *
     *
     */
    @Deprecated
    public class MetadataResolution {
        /** resolved MD  */
        private ArtifactMetadata artifactMetadata;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/InvalidProjectVersionException.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.project;
    
    import java.io.File;
    
    import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
    
    /**
     * InvalidProjectVersionException
     */
    public class InvalidProjectVersionException extends ProjectBuildingException {
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  4. compat/maven-embedder/src/test/java/org/apache/maven/cli/CLIReportingUtilsTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cli;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @Deprecated
    class CLIReportingUtilsTest {
    
        @Test
        void testFormatDuration() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun Dec 01 19:41:22 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  5. tests/test_repeated_dependency_schema.py

    from fastapi import Depends, FastAPI, Header, status
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    def get_header(*, someheader: str = Header()):
        return someheader
    
    
    def get_something_else(*, someheader: str = Depends(get_header)):
        return f"{someheader}123"
    
    
    @app.get("/")
    def get_deps(dep1: str = Depends(get_header), dep2: str = Depends(get_something_else)):
        return {"dep1": dep1, "dep2": dep2}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Mar 06 12:18:57 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. tests/test_repeated_parameter_alias.py

    from fastapi import FastAPI, Path, Query, status
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/{repeated_alias}")
    def get_parameters_with_repeated_aliases(
        path: str = Path(..., alias="repeated_alias"),
        query: str = Query(..., alias="repeated_alias"),
    ):
        return {"path": path, "query": query}
    
    
    client = TestClient(app)
    
    
    def test_get_parameters():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 3.7K bytes
    - Click Count (0)
  7. tests/test_starlette_urlconvertors.py

    from fastapi import FastAPI, Path, Query
    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.get("/int/{param:int}")
    def int_convertor(param: int = Path()):
        return {"int": param}
    
    
    @app.get("/float/{param:float}")
    def float_convertor(param: float = Path()):
        return {"float": param}
    
    
    @app.get("/path/{param:path}")
    def path_convertor(param: str = Path()):
        return {"path": param}
    
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Nov 27 14:46:06 GMT 2022
    - 1.7K bytes
    - Click Count (0)
  8. tests/test_tutorial/test_path_params/test_tutorial002.py

    from fastapi.testclient import TestClient
    
    from docs_src.path_params.tutorial002_py39 import app
    
    client = TestClient(app)
    
    
    def test_get_items():
        response = client.get("/items/1")
        assert response.status_code == 200, response.text
        assert response.json() == {"item_id": 1}
    
    
    def test_get_items_invalid_id():
        response = client.get("/items/item1")
        assert response.status_code == 422, response.text
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. .teamcity/src/main/kotlin/promotion/PublishBranchSnapshotFromQuickFeedback.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package promotion
    
    import jetbrains.buildServer.configs.kotlin.ParameterDisplay
    import jetbrains.buildServer.configs.kotlin.RelativeId
    
    object PublishBranchSnapshotFromQuickFeedback : PublishGradleDistributionFullBuild(
        promotedBranch = "%branch.qualifier%",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Mar 20 06:13:56 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

     */
    package org.apache.maven.configuration;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.File;
    import java.io.StringReader;
    
    import org.apache.maven.api.xml.XmlService;
    import org.apache.maven.configuration.internal.DefaultBeanConfigurator;
    import org.codehaus.plexus.util.xml.Xpp3Dom;
    import org.junit.jupiter.api.AfterEach;
    import org.junit.jupiter.api.BeforeEach;
    import org.junit.jupiter.api.Test;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.6K bytes
    - Click Count (0)
Back to Top