Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 581 - 590 of 984 for Model1 (0.2 seconds)

  1. compat/maven-embedder/src/main/java/org/apache/maven/cli/ExtensionConfigurationModule.java

    import org.apache.maven.api.xml.XmlNode;
    import org.apache.maven.extension.internal.CoreExtensionEntry;
    import org.apache.maven.impl.model.DefaultInterpolator;
    import org.apache.maven.internal.xml.XmlPlexusConfiguration;
    import org.apache.maven.model.v4.MavenTransformer;
    import org.codehaus.plexus.configuration.PlexusConfiguration;
    
    @Deprecated
    public class ExtensionConfigurationModule implements Module {
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  2. scripts/playwright/cookie_param_models/image01.py

        page = context.new_page()
        page.goto("http://localhost:8000/docs")
        page.get_by_role("link", name="/items/").click()
        # Manually add the screenshot
        page.screenshot(path="docs/en/docs/img/tutorial/cookie-param-models/image01.png")
    
        # ---------------------
        context.close()
        browser.close()
    
    
    process = subprocess.Popen(
        ["fastapi", "run", "docs_src/cookie_param_models/tutorial001.py"]
    )
    try:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  3. docs/zh-hant/docs/advanced/additional-responses.md

    你可以宣告額外的回應,包含額外的狀態碼、媒體型別、描述等。
    
    這些額外回應會被包含在 OpenAPI 中,因此也會顯示在 API 文件裡。
    
    但對於這些額外回應,你必須直接回傳像 `JSONResponse` 這樣的 `Response`,並包含你的狀態碼與內容。
    
    ## 使用 `model` 的額外回應 { #additional-response-with-model }
    
    你可以在你的「路徑操作裝飾器」中傳入參數 `responses`。
    
    它接收一個 `dict`:鍵是各回應的狀態碼(例如 `200`),值是另一個 `dict`,其中包含每個回應的資訊。
    
    每個回應的 `dict` 都可以有一個鍵 `model`,包含一個 Pydantic 模型,與 `response_model` 類似。
    
    **FastAPI** 會取用該模型、產生其 JSON Schema,並把它放到 OpenAPI 中正確的位置。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.6K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/mdo/profiles.mdo

    "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
    KIND, either express or implied.  See the License for the
    specific language governing permissions and limitations
    under the License.
    -->
    
    <model xmlns="http://modello.codehaus.org/MODELLO/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://modello.codehaus.org/MODELLO/1.0.0 http://modello.codehaus.org/xsd/modello-1.0.0.xsd"
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jan 22 11:03:29 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t06/ProjectInheritanceTest.java

        // ----------------------------------------------------------------------
        //
        // p1 inherits from p0
        // p0 inherits from super model
        //
        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
        void testDependencyManagement() throws Exception {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

        // ----------------------------------------------------------------------
        //
        // p1 inherits from p0
        // p0 inherits from super model
        //
        // or we can show it graphically as:
        //
        // p1 ---> p0 --> super model
        //
        // ----------------------------------------------------------------------
    
        @Test
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:36 GMT 2025
    - 3K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecyclePluginResolver.java

    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.util.HashMap;
    import java.util.Map;
    
    import org.apache.maven.execution.MavenSession;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginManagement;
    import org.apache.maven.plugin.version.DefaultPluginVersionRequest;
    import org.apache.maven.plugin.version.PluginVersionRequest;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/project/ProjectUtils.java

    import org.apache.maven.artifact.repository.ArtifactRepository;
    import org.apache.maven.artifact.repository.ArtifactRepositoryFactory;
    import org.apache.maven.model.DeploymentRepository;
    import org.apache.maven.model.Repository;
    import org.apache.maven.plugin.LegacySupport;
    import org.apache.maven.repository.RepositorySystem;
    import org.codehaus.plexus.PlexusContainer;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.8K bytes
    - Click Count (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/v4/Xpp3DomPerfTest.java

     * under the License.
     */
    package org.apache.maven.model.v4;
    
    import javax.xml.stream.XMLStreamException;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.nio.file.Files;
    import java.nio.file.Path;
    import java.nio.file.Paths;
    import java.util.List;
    import java.util.concurrent.TimeUnit;
    import java.util.stream.Collectors;
    
    import org.apache.maven.api.model.InputSource;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. architecture/platforms.md

    The platforms and modules are defined using a DSL in [settings.gradle.kts](../settings.gradle.kts)
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu May 02 06:42:46 GMT 2024
    - 5.4K bytes
    - Click Count (0)
Back to Top