Search Options

Results per page
Sort
Preferred Languages
Advance

Results 201 - 210 of 893 for modAlt (0.04 sec)

  1. tests/test_tutorial/test_python_types/test_tutorial009_tutorial009b.py

    
    @pytest.fixture(
        name="module",
        params=[
            pytest.param("tutorial009_py39"),
            pytest.param("tutorial009_py310", marks=needs_py310),
            pytest.param("tutorial009b_py39"),
        ],
    )
    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):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 805 bytes
    - Viewed (0)
  2. 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:
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 777 bytes
    - Viewed (0)
  3. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/PomDiscovery.java

            String content = Files.readString(pomPath);
            return new Parser().parse(content);
        }
    
        /**
         * Recursively discovers module POMs from the given parent POM.
         *
         * @param baseDirectory the base directory for resolving module paths
         * @param parentPom the parent POM document
         * @param pomMap the map to store discovered POMs
         * @throws IOException if there's an error reading files
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. api/maven-api-core/src/test/java/org/apache/maven/api/SourceRootTest.java

        }
    
        @Override
        public Language language() {
            return (language != null) ? language : SourceRoot.super.language();
        }
    
        @Override
        public Optional<String> module() {
            return Optional.ofNullable(moduleName);
        }
    
        @Override
        public PathMatcher matcher(Collection<String> defaultIncludes, boolean useDefaultExcludes) {
            return null; // Not used for this test.
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Sun Oct 26 17:22:14 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/test/java/org/apache/maven/api/JavaPathTypeTest.java

         * Tests the formatting of an option with a module name.
         */
        @Test
        public void testModularOption() {
            String[] formatted = JavaPathType.patchModule("my.module").option(paths());
            assertEquals(2, formatted.length);
            assertEquals("--patch-module", formatted[0]);
            assertEquals(toPlatformSpecific("my.module=src/foo.java:src/bar.java"), formatted[1]);
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Nov 13 14:20:26 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/schema-extra-example.md

    ///
    
    ### `examples` no Pydantic e no FastAPI { #pydantic-and-fastapi-examples }
    
    Quando você adiciona `examples` dentro de um modelo Pydantic, usando `schema_extra` ou `Field(examples=["something"])`, esse exemplo é adicionado ao **JSON Schema** para esse modelo Pydantic.
    
    E esse **JSON Schema** do modelo Pydantic é incluído no **OpenAPI** da sua API e, então, é usado na UI da documentação.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Nov 12 16:23:57 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  7. docs/es/docs/tutorial/schema-extra-example.md

    ///
    
    ### `examples` de Pydantic y FastAPI { #pydantic-and-fastapi-examples }
    
    Cuando añades `examples` dentro de un modelo de Pydantic, usando `schema_extra` o `Field(examples=["algo"])`, ese ejemplo se añade al **JSON Schema** para ese modelo de Pydantic.
    
    Y ese **JSON Schema** del modelo de Pydantic se incluye en el **OpenAPI** de tu API, y luego se usa en la interfaz de documentación.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/sql-databases.md

    We'll fix these things by adding a few **extra models**. Here's where SQLModel will shine. ✨
    
    ### Create Multiple Models { #create-multiple-models }
    
    In **SQLModel**, any model class that has `table=True` is a **table model**.
    
    And any model class that doesn't have `table=True` is a **data model**, these ones are actually just Pydantic models (with a couple of small extra features). 🤓
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 05:06:56 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/security/simple-oauth2.md

        hashed_password = user_dict["hashed_password"],
    )
    ```
    
    /// info | Información
    
    Para una explicación más completa de `**user_dict` revisa en [la documentación para **Extra Models**](../extra-models.md#about-user-in-dict){.internal-link target=_blank}.
    
    ///
    
    ## Devolver el token { #return-the-token }
    
    El response del endpoint `token` debe ser un objeto JSON.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/test/projects/project-builder/MNG-6723/pom.xml

      <modelVersion>4.0.0</modelVersion>
      <groupId>example.eclipse-548652</groupId>
      <artifactId>parent</artifactId>
      <version>0.0.1-SNAPSHOT</version>
      <packaging>pom</packaging>
      <modules>
        <module>child</module>
      </modules>
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 488 bytes
    - Viewed (0)
Back to top