Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for coordinate (0.03 sec)

  1. tests/test_tuples.py

    
    class ItemGroup(BaseModel):
        items: list[tuple[str, str]]
    
    
    class Coordinate(BaseModel):
        x: float
        y: float
    
    
    @app.post("/model-with-tuple/")
    def post_model_with_tuple(item_group: ItemGroup):
        return item_group
    
    
    @app.post("/tuple-of-models/")
    def post_tuple_of_models(square: tuple[Coordinate, Coordinate]):
        return square
    
    
    @app.post("/tuple-form/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeStrategy.java

                Document pomDocument = entry.getValue();
    
                Coordinates coordinate =
                        AbstractUpgradeStrategy.extractArtifactCoordinatesWithParentResolution(context, pomDocument);
                if (coordinate != null) {
                    coordinates.add(coordinate);
                    context.debug("Found artifact: " + coordinate.toGAV() + " from " + pomPath);
                }
            }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  3. CHANGELOG.md

    this change should be automatic.
    
    **MockWebServer has a new coordinate and package name.** We didn’t like that our old artifact
    depends on JUnit 4 so the new one doesn’t. It also has a better API built on immutable values. (We
    intend to continue publishing the old `okhttp3.mockwebserver` artifact so there’s no urgency to
    migrate.)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 05 16:02:59 UTC 2025
    - 36.2K bytes
    - Viewed (2)
  4. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertEquals("'groupId' is missing.", result.getErrors().get(0));
        }
    
        @Test
        void testInvalidCoordinateIds() throws Exception {
            SimpleProblemCollector result = validate("invalid-coordinate-ids-pom.xml");
    
            assertViolations(result, 0, 2, 0);
    
            assertEquals(
                    "'groupId' with value 'o/a/m' does not match a valid id pattern.",
                    result.getErrors().get(0));
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 33.9K bytes
    - Viewed (0)
  5. docs/en/docs/contributing.md

    ///
    
    * Check if there's a <a href="https://github.com/fastapi/fastapi/discussions/categories/translations" class="external-link" target="_blank">GitHub Discussion</a> to coordinate translations for your language. You can subscribe to it, and when there's a new pull request to review, an automatic comment will be added to the discussion.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Sep 21 11:29:04 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

        static ArtifactResolverRequest build(
                @Nonnull Session session, @Nonnull Collection<? extends ArtifactCoordinates> coordinates) {
            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .coordinates(requireNonNull(coordinates, "coordinates cannot be null"))
                    .build();
        }
    
        @Nonnull
        static ArtifactResolverRequest build(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 10 07:30:49 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param coordinates artifact coordinates to get as a dependency coordinates
         * @return dependency coordinates for the given artifact
         *
         * @see DependencyCoordinatesFactory#create(Session, ArtifactCoordinates)
         */
        @Nonnull
        DependencyCoordinates createDependencyCoordinates(@Nonnull ArtifactCoordinates coordinates);
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 03 14:18:26 UTC 2025
    - 36.5K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

             * This is the default behavior.
             */
            RELEASE_OR_SNAPSHOT
        }
    
        /**
         * Gets the artifact coordinates whose version range should be resolved.
         * The coordinates may contain a version range (e.g., "[1.0,2.0)") or a single version.
         *
         * @return the artifact coordinates, never {@code null}
         */
        @Nonnull
        ArtifactCoordinates getArtifactCoordinates();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  9. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                UpgradeContext context = createMockContext();
    
                Set<Coordinates> gavs = InferenceStrategy.computeAllArtifactCoordinates(context, pomMap);
    
                assertEquals(2, gavs.size());
                assertTrue(gavs.contains(Coordinates.of("com.example", "parent-project", "1.0.0")));
                assertTrue(gavs.contains(Coordinates.of("com.example", "child-project", "1.0.0")));
            }
    
            @Test
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelSource.java

         * if this source represents a resolved artifact with known coordinates.
         * <p>
         * This method is primarily used by resolved sources to provide the model ID
         * without requiring the XML to be parsed. For build sources, this typically
         * returns {@code null} since the coordinates are determined by parsing the POM.
         *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Mon Sep 29 14:45:25 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top