Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1691 - 1700 of 2,994 for class (0.02 seconds)

  1. impl/maven-core/src/test/java/org/apache/maven/lifecycle/MavenExecutionPlanTest.java

    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    import static org.junit.jupiter.api.Assertions.assertNull;
    
    /**
     */
    class MavenExecutionPlanTest {
    
        @Test
        void testFindLastInPhase() throws Exception {
            MavenExecutionPlan plan = LifecycleExecutionPlanCalculatorStub.getProjectAExecutionPlan();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  2. docs/ru/docs/advanced/response-cookies.md

    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. docs/ru/docs/tutorial/query-param-models.md

    ## Проверьте Сгенерированную Документацию { #check-the-docs }
    
    Вы можете посмотреть query-параметры в графическом интерфейсе сгенерированной документации по пути `/docs`:
    
    <div class="screenshot">
    <img src="/img/tutorial/query-param-models/image01.png">
    </div>
    
    ## Запретить Дополнительные Query-Параметры { #forbid-extra-query-parameters }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/services/ModelSourceTest.java

    import static org.junit.jupiter.api.Assertions.assertNull;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Test for ModelSource interface and its implementations.
     */
    class ModelSourceTest {
    
        @Test
        void testBuildSourceHasNoModelId() {
            Path path = Paths.get("/tmp/pom.xml");
            ModelSource source = Sources.buildSource(path);
    
            assertNotNull(source);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/DefaultConflictResolverFactory.java

    /**
     * A conflict resolver factory that obtains instances from a plexus container.
     *
     * TODO you don't need the container in here with the active maps (jvz).
     * @since 3.0
     */
    @Named
    @Singleton
    @Deprecated
    public class DefaultConflictResolverFactory implements ConflictResolverFactory, Contextualizable {
        // fields -----------------------------------------------------------------
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java

    import org.apache.maven.artifact.resolver.ArtifactResolutionException;
    
    /**
     * Describes a version transformation during artifact resolution - "latest" type
     */
    @Named("latest")
    @Singleton
    @Deprecated
    public class LatestArtifactTransformation extends AbstractVersionTransformation {
    
        @Override
        public void transformForResolve(Artifact artifact, RepositoryRequest request)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/MojoException.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    /**
     * An exception occurring during the execution of a plugin.
     *
     * @since 4.0.0
     */
    @Experimental
    public class MojoException extends MavenException {
    
        protected Object source;
    
        protected String longMessage;
    
        /**
         * Constructs a new {@code MojoException} providing the source and a short and long message.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon May 13 09:53:45 GMT 2024
    - 2.5K bytes
    - Click Count (0)
  8. docs_src/dependencies/tutorial008d_an_py39.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, HTTPException
    
    app = FastAPI()
    
    
    class InternalError(Exception):
        pass
    
    
    def get_username():
        try:
            yield "Rick"
        except InternalError:
            print("We don't swallow the internal error here, we raise again 😎")
            raise
    
    
    @app.get("/items/{item_id}")
    def get_item(item_id: str, username: Annotated[str, Depends(get_username)]):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 734 bytes
    - Click Count (0)
  9. docs_src/path_operation_configuration/tutorial004_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        description: str | None = None
        price: float
        tax: float | None = None
        tags: set[str] = set()
    
    
    @app.post("/items/", response_model=Item, summary="Create an item")
    async def create_item(item: Item):
        """
        Create an item with all the information:
    
        - **name**: each item must have a name
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Jan 07 14:11:31 GMT 2022
    - 638 bytes
    - Click Count (0)
  10. docs/ja/docs/tutorial/debugging.md

    `__name__ == "__main__"` の主な目的は、ファイルが次のコマンドで呼び出されたときに実行されるコードを用意することです:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    ただし、次のように、別のファイルからインポートされるときには呼び出されません:
    
    ```Python
    from myapp import app
    ```
    
    #### より詳しい説明
    
    ファイルの名前が `myapp.py` だとします。
    
    以下の様に実行する場合:
    
    <div class="termy">
    
    ```console
    $ python myapp.py
    ```
    
    </div>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 3K bytes
    - Click Count (0)
Back to Top