Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 504 for modules (0.04 seconds)

  1. tests/test_tutorial/test_python_types/test_tutorial009c.py

    from ...utils import needs_py310
    
    
    @pytest.fixture(
        name="module",
        params=[
            pytest.param("tutorial009c_py39"),
            pytest.param("tutorial009c_py310", marks=needs_py310),
        ],
    )
    def get_module(request: pytest.FixtureRequest):
        mod = importlib.import_module(f"docs_src.python_types.{request.param}")
        return mod
    
    
    def test_say_hi(module: ModuleType):
        with patch("builtins.print") as mock_print:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 777 bytes
    - Click Count (0)
  2. misc/go.mod

    // Module misc contains binaries that pertain to specific platforms
    // (Android, iOS, and WebAssembly), as well as some miscellaneous
    // tests and tools.
    module misc
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Jul 18 21:24:24 GMT 2023
    - 175 bytes
    - Click Count (0)
  3. okhttp-urlconnection/README.md

    OkHttp URLConnection
    ====================
    
    This module integrates OkHttp with `Authenticator` and `CookieHandler` from `java.net`.
    
    This module is obsolete; prefer `okhttp-java-net-cookiejar`.
    
    ### Download
    
    ```kotlin
    testImplementation("com.squareup.okhttp3:okhttp-urlconnection:5.3.0")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 21:39:59 GMT 2025
    - 292 bytes
    - Click Count (0)
  4. impl/maven-core/src/test/java/org/apache/maven/project/MavenProjectTest.java

        void testGetModulePathAdjustment() throws IOException {
            Model moduleModel = new Model();
    
            MavenProject module = new MavenProject(moduleModel);
            module.setFile(new File("module-dir/pom.xml"));
    
            Model parentModel = new Model();
            parentModel.addModule("../module-dir");
    
            MavenProject parent = new MavenProject(parentModel);
            parent.setFile(new File("parent-dir/pom.xml"));
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 28 09:44:37 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/request-form-models.md

    # Formularmodelle { #form-models }
    
    Sie können **Pydantic-Modelle** verwenden, um **Formularfelder** in FastAPI zu deklarieren.
    
    /// info | Info
    
    Um Formulare zu verwenden, installieren Sie zuerst <a href="https://github.com/Kludex/python-multipart" class="external-link" target="_blank">`python-multipart`</a>.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Sep 20 15:10:09 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. docs/en/docs/tutorial/cookie-param-models.md

    # Cookie Parameter Models { #cookie-parameter-models }
    
    If you have a group of **cookies** that are related, you can create a **Pydantic model** to declare them. 🍪
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    /// tip
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 08:55:32 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/header-param-models.md

    **FastAPI** 将从请求中接收到的 **headers** 中**提取**出**每个字段**的数据,并提供您定义的 Pydantic 模型。
    
    ## 查看文档
    
    您可以在文档 UI 的 `/docs` 中查看所需的 headers:
    
    <div class="screenshot">
    <img src="/img/tutorial/header-param-models/image01.png">
    </div>
    
    ## 禁止额外的 Headers
    
    在某些特殊使用情况下(可能并不常见),您可能希望**限制**您想要接收的 headers。
    
    您可以使用 Pydantic 的模型配置来禁止( `forbid` )任何额外( `extra` )字段:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 15 16:44:11 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  8. docs/ru/docs/tutorial/cookie-param-models.md

    # Модели параметров cookie { #cookie-parameter-models }
    
    Если у вас есть группа **cookies**, которые связаны между собой, вы можете создать **Pydantic-модель** для их объявления. 🍪
    
    Это позволит вам **переиспользовать модель** в **разных местах**, а также объявить проверки и метаданные сразу для всех параметров. 😎
    
    /// note | Заметка
    
    Этот функционал доступен с версии `0.115.0`. 🤓
    
    ///
    
    /// tip | Совет
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 5K bytes
    - Click Count (0)
  9. docs/pt/docs/tutorial/body-nested-models.md

    # Corpo - Modelos aninhados { #body-nested-models }
    
    Com o **FastAPI**, você pode definir, validar, documentar e usar modelos arbitrariamente e profundamente aninhados (graças ao Pydantic).
    
    ## Campos do tipo Lista { #list-fields }
    
    Você pode definir um atributo como um subtipo. Por exemplo, uma `list` do Python:
    
    {* ../../docs_src/body_nested_models/tutorial001_py310.py hl[12] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  10. impl/maven-core/src/test/java/org/apache/maven/internal/impl/DefaultProjectManagerTest.java

                            null,
                            true));
    
            // Verify that we get the same exception when the artifactId does not match the module name
            assertExceptionMessageContains("", "anotherArtifact");
    
            // Verify that no exception is thrown when the artifactId is the module name
            when(artifact.getArtifactId()).thenReturn("org.foo.bar");
            projectManager.attachArtifact(project, artifact, artifactPath);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 17 16:17:01 GMT 2025
    - 5.2K bytes
    - Click Count (0)
Back to Top