Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 562 for Model3 (0.14 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. 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)
  3. compat/maven-model/src/main/java/org/apache/maven/model/InputLocationTracker.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;
    
    /**
     * Interface InputLocationTracker.
     *
     * @version $Revision$ $Date$
     */
    @SuppressWarnings("all")
    public interface InputLocationTracker {
    
        // -----------/
        // - Methods -/
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/test/resources/poms/inheritance/no-append-urls2-child.xml

      <parent>
        <groupId>inheritance</groupId>
        <artifactId>parent</artifactId>
        <version>11-SNAPSHOT</version>
      </parent>
    
      <artifactId>inheritance</artifactId><!-- same as directory name -->
      <name>Model urls inheritance test child</name>
    
      <scm>
        <url>https://domain.org/override</url><!-- check that this won't impact child.site.url.inherit.append.path attribute inheritance -->
      </scm>
      <distributionManagement>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. docs/fa/docs/features.md

    * مستندسازی خودکار data model با <a href="https://json-schema.org/" class="external-link" target="_blank"><strong>JSON Schema</strong></a> (همانطور که OpenAPI خود نیز مبتنی بر JSON Schema است).
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. tests/postgres_test.go

    		t.Errorf("No error should happen, but got %v", err)
    	}
    }
    
    func TestPostgres(t *testing.T) {
    	if DB.Dialector.Name() != "postgres" {
    		t.Skip()
    	}
    
    	type Harumph struct {
    		gorm.Model
    		Name      string         `gorm:"check:name_checker,name <> ''"`
    		Test      uuid.UUID      `gorm:"type:uuid;not null;default:gen_random_uuid()"`
    		CreatedAt time.Time      `gorm:"type:TIMESTAMP WITHOUT TIME ZONE"`
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Sat Oct 08 09:16:32 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/test/resources/poms/inheritance/module-path-not-artifactId-parent.xml

      <modelVersion>4.0.0</modelVersion>
    
      <groupId>inheritance</groupId>
      <artifactId>parent</artifactId>
      <version>11-SNAPSHOT</version>
    
      <name>Model inheritance test parent: module path != artifactId</name>
    
      <modules>
        <module>child</module>
      </modules>
    
      <!-- 5 URLs in the pom will be inherited with path added -->
      <url>http://www.apache.org/</url>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. build-logic/build-update-utils/src/test/groovy/gradlebuild/buildutils/tasks/UpdateReleasedVersionsIntegrationTest.groovy

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package gradlebuild.buildutils.tasks
    
    import gradlebuild.buildutils.model.ReleasedVersion
    import spock.lang.Specification
    import spock.lang.TempDir
    
    import java.text.SimpleDateFormat
    
    class UpdateReleasedVersionsIntegrationTest extends Specification {
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 17 08:32:56 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/SettingsValidator.java

     * under the License.
     */
    package org.apache.maven.settings.validation;
    
    import org.apache.maven.settings.Settings;
    import org.apache.maven.settings.building.SettingsProblemCollector;
    
    /**
     * Validate a model settings
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.internal.impl.DefaultSettingsValidator} instead
     */
    @Deprecated(since = "4.0.0")
    public interface SettingsValidator {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsWriter.java

     * under the License.
     */
    package org.apache.maven.toolchain.io;
    
    import java.io.IOException;
    import java.io.Writer;
    import java.util.Map;
    
    import org.apache.maven.toolchain.model.PersistedToolchains;
    
    /**
     * Handles serialization of toolchains into some kind of textual format like XML.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.xml.ToolchainsXmlFactory} instead
     */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top