Search Options

Results per page
Sort
Preferred Languages
Advance

Results 671 - 680 of 1,041 for model (0.02 sec)

  1. tests/test_computed_fields.py

            def area(self) -> int:
                return self.width * self.length
    
        @app.get("/")
        def read_root() -> Rectangle:
            return Rectangle(width=3, length=4)
    
        @app.get("/responses", responses={200: {"model": Rectangle}})
        def read_responses() -> Rectangle:
            return Rectangle(width=3, length=4)
    
        client = TestClient(app)
        return client
    
    
    @pytest.mark.parametrize("path", ["/", "/responses"])
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/MavenBuildTimestamp.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.interpolation;
    
    import java.text.SimpleDateFormat;
    import java.util.Date;
    import java.util.GregorianCalendar;
    import java.util.Map;
    import java.util.Properties;
    import java.util.TimeZone;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/PrefixedObjectValueSource.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model.interpolation;
    
    import java.util.List;
    
    import org.codehaus.plexus.interpolation.AbstractDelegatingValueSource;
    import org.codehaus.plexus.interpolation.PrefixedValueSourceWrapper;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/TestLogHandler.kt

    import org.junit.jupiter.api.extension.BeforeEachCallback
    import org.junit.jupiter.api.extension.ExtensionContext
    import org.junit.rules.TestRule
    import org.junit.runner.Description
    import org.junit.runners.model.Statement
    
    /**
     * A log handler that records which log messages were published so that a calling test can make
     * assertions about them.
     */
    class TestLogHandler(
      private val logger: Logger,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  5. compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java

     * KIND, either express or implied.  See the License for the
     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.model;
    
    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertNotNull;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/resources/poms/inheritance/flat-urls-expected.xml

        <artifactId>parent</artifactId>
        <version>11-SNAPSHOT</version>
      </parent>
    
      <groupId>inheritance</groupId>
      <artifactId>inheritance</artifactId>
      <version>11-SNAPSHOT</version>
      <name>Model urls inheritance test child</name>
      <description>Flat directory structure case: module = ../child-artifact-id + child directory path == child-artifact-id</description>
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/resources/poms/inheritance/flat-urls-parent.xml

      <modelVersion>4.0.0</modelVersion>
    
      <groupId>inheritance</groupId>
      <artifactId>parent</artifactId>
      <version>11-SNAPSHOT</version>
    
      <name>Model urls inheritance test parent</name>
      <description>Flat directory structure case: module = ../child-artifact-id + child directory path == child-artifact-id</description>
    
      <modules>
        <module>../inheritance</module>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/test/resources/poms/inheritance/urls-parent.xml

      <modelVersion>4.0.0</modelVersion>
    
      <groupId>inheritance</groupId>
      <artifactId>parent</artifactId>
      <version>11-SNAPSHOT</version>
    
      <name>Model urls inheritance test parent</name>
      <description>Most classical case: child in direct subdirectory with directory name == child artifactId</description>
    
      <modules>
        <module>child-artifact-id</module>
      </modules>
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ExtensionMethodsSummaryRenderer.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.docs.dsl.docbook;
    
    import gradlebuild.docs.dsl.docbook.model.ClassExtensionDoc;
    import org.w3c.dom.Document;
    import org.w3c.dom.Element;
    
    public class ExtensionMethodsSummaryRenderer {
        private final MethodTableRenderer methodTableRenderer;
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

            result = result.setFile(artifact.getFile());
    
            return result;
        }
    
        public static Dependency toDependency(
                org.apache.maven.artifact.Artifact artifact, Collection<org.apache.maven.model.Exclusion> exclusions) {
            if (artifact == null) {
                return null;
            }
    
            Artifact result = toArtifact(artifact);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top